Receipt Transfer (createExpectedReceipt)
Receipt Transfer
When uploading your delivery receipt orders to the Horoz system, the createExpectedReceipt()
method is used. It supports both single and multiple delivery receipt submissions.
- Prior to executing the delivery receipt transfer with this method, details regarding the Horoz Parametric Property must be communicated to Horoz Logistics.
- The maximum number of delivery receipts that can be sent in each request is 500.
POST createExpectedReceipt
Use
Parameter Descriptions & Rules
The table below lists the input and output parameters of the createExpectedReceipt()
operation, along with their types and formats.
- Fields
- Example Services Request
- Example Response
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
processKey | Yes | Information provided to you for processKey | string |
receiptCode | Yes | Receipt Code | string |
dataTransferInfo | No | Data Transfer Information | string |
supplierCode | Yes | Supplier code sent via Supplier Transfer service | string |
receiptDetail | Yes | Receipt Details | string |
{
"processKey": "A1389BF5246943ED8F40DEF725E0EE84",
"receiptCode": "HRZ20231020003",
"dataTransferInfo": "",
"supplierCode": "HRZ001",
"parameter01": "34ABC001",
.
.
"parameter50": "<string>",
"receiptDetail":
[
{
"productCode": "MASA001",
"quantity": 100,
"packageType": "EA - Adet",
"lineNumber": "0010",
"serialNumber": "",
"dataTransferInfo": "",
"parameter01": "001 - Kırmızı",
.
.
"parameter50": ""
},
{
"productCode": "MASA002",
"quantity": 50,
"packageType": "EA - Adet",
"lineNumber": "0020",
"serialNumber": "",
"dataTransferInfo": "",
"parameter01": "002 - Beyaz",
.
.
"parameter50": ""
}
]
}
{
"result": "0",
"errorCode": "",
"systemMessage": " "
}
- Receipt Detail
Field | Required | Description | Type |
---|---|---|---|
productCode | Yes | Product Code Information | string |
quantity | Yes | Expected Quantity | integer |
packageType | No | Package Type Information | string |
lineNumber | No | Line Number Information | string |
serialNumber | No | Serial Number Information | string |
dataTransferInfo | No | Data Transfer information | string |
Parameter | No | Parameterized Fields | string |
Services Response
result | errorCode | systemMessage | Description |
---|---|---|---|
1 | Delivery information sent to the Horoz system successfully. | ||
0 | 101 | DUPLICATE BTA RECORD! | Delivery information sent to the Horoz system already exists. |
0 | 101 | UNDEFINED SUPPLIER! | Supplier information sent to the Horoz system is undefined. |