ASNCanonical documentAdvance Shipping Notice
Overview
Public canonical Advance Shipping Notice contract used to describe goods shipped against one or more purchase orders.
Endpoints
Use the schema endpoint for machine validation and the document page for implementation guidance.
GETDownload Advance Shipping Notice schema
application/schema+jsonapplication/json/schemas/v1/advance-shipping-notice.schema.jsonAdvance Shipping Notice JSON Schema
GETAdvance Shipping Notice
text/html/schemas/advance-shipping-noticeAdvance Shipping Notice documentation page
Payload Structure
The contract is shown in reading order. The envelope identifies the document, metadata captures source context, and data contains the business payload and nested line structures.
Envelope
AdvanceShippingNoticePublic canonical Advance Shipping Notice contract used to describe goods shipped against one or more purchase orders.
docTypeCanonical document type. For advance shipping notices this value is ASN.
correlationIdStable UUID used to trace this shipment notice through fulfilment and invoice workflows.
timestampUTC timestamp indicating when DataShift created the canonical shipment notice.
metadatadataMetadata
AdvanceShippingNoticeMetadataPublic source metadata retained for integration troubleshooting.
sourceLanguagejsoncxmlsourceVersionData
AdvanceShippingNoticeDataBusiness payload for the shipment notice.
dispatchAdviceNumberSupplier-assigned shipment or dispatch advice identifier.
operationWhether this is a new shipment notice, an update, or a cancellation
newupdatedeletenoticeDateDate and time the supplier created the shipment notice.
shipmentDateDate and time the goods left the supplier.
deliveryDateExpected delivery date and time.
requestedDeliveryDateBuyer's originally requested delivery date
shipmentTypeWhether this is an actual shipment or a planned/estimated one
actualplannedfulfillmentTypeWhether this shipment fulfils all or part of the referenced order.
partialcompleteserviceLevelLevel of shipping service (e.g., overnight, ground, express)
documentReferenceReference to previous ship notice (required for operation=update/delete)
poReferencesReferences to purchase orders being fulfilled by this shipment
carrierCarrier and service details for the shipment.
shipmentIdentifiersTracking numbers and shipment identifiers (consignment note, bill of lading, etc.)
termsOfDeliveryDelivery terms and conditions
shipFromShipment origin.
shipToShipment destination.
contactsContact information for various roles
commentsHuman-readable notes about this shipment
reasonReason for shipment if not a standard delivery (e.g., return)
returnlineItemsAuthoritative shipped line data. Packages reference these lines; they do not replace them.
packagesPhysical package or carton detail used for carton allocation and SSCC labelling.
hazardInfoHazardous materials information
extrinsicsPartner-specific extension fields that are not part of the canonical core contract.
Line Items
AdvanceShippingNoticeLineItemlineNumberLine number from the purchase order being fulfilled.
shipNoticeLineNumberSequence number of this line within the ship notice
uniqueLineKeyStable DataShift line key from the original purchase order. This must reference the original line's uniqueLineKey found in the PurchaseOrder document for proper correlation. If the original document did not provide a uniqueLineKey, an exception will be raised during processing, forcing the user to manually correlate the line or update the shipment notice with the correct uniqueLineKey.
supplierItemIdSupplier's part or item number
buyerItemIdBuyer's part or item number
gtinGS1 Global Trade Item Number
descriptionItem description
quantityQuantity shipped on this line.
unitOfMeasureUN/ECE REC20 unit of measure code
poNumberPurchase order number this shipped line fulfils.
countryOfOriginCountry where the item was manufactured
batchInfoLot or batch tracking information
serialNumbersSerial numbers for individually serialised items
Packages
AdvanceShippingNoticePackagepackageIdSupplier or warehouse package identifier unique within this shipment.
ssccSerial Shipping Container Code for the carton or logistic unit.
packagingCodeType of packaging (e.g., BOX, PAL, CTN)
grossWeightTotal weight of package including contents
netWeightWeight of contents only
dimensionsPhysical dimensions of the package
lineReferencesReferences to authoritative lineItems packed inside this package.
