/
Load Receipts (iHub.API)

Load Receipts (iHub.API)

This service is used to create an Advance Ship Notice (ASN) of pending deliveries to the DC (standard deliveries and returns) in Seko 360.

Load Receipts Parameters

Field

Description

Data Type & Maximum length

<ReceiptHeader>

 

 

DCCode

SEKO created code that uniquely identifies the DC from other SEKO DC's. This code is supplied by SEKO.

Conditional: If more than one DC in use

Alphanumeric Text - 100 characters

<ReceiptDetails>

 

 

ASNNumber

ASN reference identification code that allow the DC to identify the incoming goods. Typically one ASN per delivery (this may be a split of a PO).

Alphanumeric Text - 100 characters

HBReference

"House Bill" number. Open reference field. If no HBReference provided, ASNNumber populates this field. Must be unique. 

Alphanumeric Text - 50 characters

ReceiptType

Mark whether the receipt is a Standard delivery, or a return.

Alphanumeric Text - 100 characters

IsReturn

If this is a return delivery, mark this field as TRUE. If this is not specified, it will default as FALSE

True or False

UpdateReceipt

If this field is set to TRUE and the ASN Number already exists, the system will remove the existing record and create a new one in its place. This will also update the line items of the receipt.

ASN number must be unique in the system.

True or False

ReceiptReasonCode

 

Alphanumeric Text - 50 characters

WarehouseETA

The date in which the goods are expected to reach the DC.

Datetime

Notes

 Note to DC

Alphanumeric Text - 4000 characters

<ReceiptLineItem>

 

 

LineNumber

Integer that uniquely identifies a line of an order. Must be more than 0. 

Each ASN starting from 1.

8 numbers

SupplierCompanyCode

Defines which supplier is delivering the goods to SEKO. SupplierCompanyCode value used can be the default SupplierCode which is assigned to all SKU's or a supplier code that is assigned to the SKU at product master level. All suppliers created are viewable via SEKO360 'Admin→ Companies→ Suppliers'

Alphanumeric Text - 100 characters

ProductCode

The SKU that is being delivered. A Product Code cannot be used more than once on an ASN

Alphanumeric Text - 100 characters

Quantity

The quantity of the SKU in units. 

Zero Quantity should not be sent

number

ReturnReason

Reason for the return

Alphanumeric Text - 100 characters

BestBeforeDate

Best Before Date of SKU for delivery. SKU must be a date controlled (Load Product Master: DateControlled = TRUE). Other CSV date format options available at request.

Datetime

LotNumber

Lot Number of SKU for delivery. SKU must be a lot controlled (Load Product Master: LotControlled = TRUE). Not case sensitive. 

Alphanumeric Text - 100 characters

EAN

 

Alphanumeric Text - 50 characters

MIDCode

 

Alphanumeric Text - 100 characters

Channel

 

Alphanumeric Text - 100 characters

SupplierName

 

Alphanumeric Text - 200 characters

CountryOfOrigin

 

Alphanumeric Text - 100 characters

CaseCount

 

number

XML file sample

Standard Template:

<?xml version="1.0"?> <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>

JSON file sample

Standard Template:

{ "Receipt": { "ReceiptReasonCode": "string", "UpdateReceipt": true, "ReceiptType": "string", "ASNNumber": "string", "GUID": "string", "HBReference": "string", "IsReturn": true, "Notes": "string", "WarehouseETA": "2025-02-03T10:27:28.029Z" }, "ReceiptHeader": { "DCCode": "string" }, "List": { "ReceiptLineItem": [ { "LotNumber": "string", "CaseCount": 0, "BestBeforeDate": "2025-02-03T10:27:28.029Z", "SupplierName": "string", "CountryOfOrigin": "string", "MIDCode": "string", "Channel": "string", "EAN": "string", "GUID": "string", "LineNumber": 0, "ProductCode": "string", "Quantity": 0, "ReturnReason": "string", "SupplierCompanyCode": "string" } ] } }

Related content

Load Receipts
More like this
Load Sales Orders (iHub.API)
Load Sales Orders (iHub.API)
More like this
Load Web Sales Orders (iHub.API)
Load Web Sales Orders (iHub.API)
More like this
Push Delivery Arrive
Push Delivery Arrive
More like this
Load Receipts
More like this
POST Receiver (ASN)
POST Receiver (ASN)
More like this