Receipt Transfer (createExpectedReceipt)
Receipt Transfer
When uploading your receipt orders to the Horoz system, the createExpectedReceipt()
method is used. It supports both single and multiple delivery submissions.
- Before using this method for delivery transfer, details regarding Horoz Parametric Feature information must be communicated to Horoz Logistics.
- The maximum number of deliveries 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 | Json |
{
"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": " "
}
ReceiptDetail
- Fields
Field | Mandatory | Description | Type |
---|---|---|---|
productCode | Yes | Product Code | string |
quantity | Yes | Expected Quantity | integer |
packageType | No | Package Type | string |
lineNumber | No | Line Number | string |
serialNumber | No | Serial Number | string |
dataTransferInfo | No | Data Transfer Information | string |
Parameter | No | Parametric Fields | string |
Services Response
result | errorCode | systemMessage | Description |
---|---|---|---|
1 | Delivery information successfully transferred to the Horoz system. | ||
0 | 101 | DUPLICATE BTA RECORD! | The delivery information sent to the Horoz system already exists. |
0 | 101 | UNDEFINED SUPPLIER! | The supplier information sent to the Horoz system is undefined. |