FTP Load Receipts

Templates and file examples

The example template below can be used as a starting point for an FTP integration. CSV file templates can be found here. The specific mapping is confirmed with the client during integration with SEKO.

LR_Load_Receipts.xml

FTP XML Response file examples

For XML FTP uploads, the system provides a response file. Below are examples of the response file. More information on response files can be found here.

FAILURE_LR_Load_Receipts1.xml_22-06-21-143525_response.xml

SUCCESS&FAILURE_LR_Load_Receipts.xml_22-06-21-144700_response.xml

XML formatting

Example body

<Requests>
<Request>
<Receipt>
<ReceiptReasonCode>string</ReceiptReasonCode>
<UpdateReceipt>true</UpdateReceipt>
<ReceiptType>string</ReceiptType>
<ASNNumber>string</ASNNumber>
<GUID>string</GUID>
<HBReference>string</HBReference>
<IsReturn>true</IsReturn>
<Notes>string</Notes>
<WarehouseETA>1970-01-01T00:00:00.001Z</WarehouseETA>
</Receipt>
<ReceiptHeader>
<DCCode>string</DCCode>
</ReceiptHeader>
<List>
<ReceiptLineItem>
<LotNumber>string</LotNumber>
<CaseCount>1</CaseCount>
<BestBeforeDate>1970-01-01T00:00:00.001Z</BestBeforeDate>
<SupplierName>string</SupplierName>
<CountryOfOrigin>string</CountryOfOrigin>
<MIDCode>string</MIDCode>
<Channel>string</Channel>
<EAN>string</EAN>
<GUID>string</GUID>
<LineNumber>1</LineNumber>
<ProductCode>string</ProductCode>
<Quantity>1</Quantity>
<ReturnReason>string</ReturnReason>
<SupplierCompanyCode>string</SupplierCompanyCode>
</ReceiptLineItem>
</List>
</Request>
</Requests>
</Responses>

Example success response body (2 entities)

<Responses>
<Response>
<CallStatus>
<Success>true</Success>
<Code>0</Code>
<Message></Message>
</CallStatus>
<GUID>60ce1670-b04e-485d-9441-4d7f0716db91</GUID>
</Response>
<Response>
<CallStatus>
<Success>true</Success>
<Code>0</Code>
<Message></Message>
</CallStatus>
<GUID>60ce1670-b04e-485d-9441-4d7f0716db92</GUID>
</Response>

Example failure response body (2 entities)

<Responses>
<Response>
<CallStatus>
<Success>false</Success>
<Code>100</Code>
<Message>Error Submitting Receipt: ASNTest123 - Error. Product PMTest123-89 does not exist.</Message>
</CallStatus>
<GUID>980af636-8f5d-4449-a85d-35ded0d1c7e0</GUID>
</Response>
<Response>
<CallStatus>
<Success>false</Success>
<Code>100</Code>
<Message>Error Submitting Receipt: ASNTest456 - Error. Product PMTest123 does not have supplier INDSUP001-7678</Message>
</CallStatus>
<GUID>ae11c373-39ab-4e75-b026-2cad6464a92f</GUID>
</Response>
</Responses>

Example success and failure response in a single XML file (2 entities)

<Responses>
<Response>
<CallStatus>
<Success>true</Success>
<Code>0</Code>
<Message></Message>
</CallStatus>
<GUID>0488c9a8-6eb0-48ee-a0b5-6059b18a3d24</GUID>
</Response>
<Response>
<CallStatus>
<Success>false</Success>
<Code>100</Code>
<Message>Error Submitting Receipt: ASNTest456 - Error. Invalid Mapping - DC</Message>
</CallStatus>
<GUID>6d22cf50-7963-48bd-808b-eed8323d5c03</GUID>
</Response>
</Responses>