Advance Shipping Notice
Supplier shipment notice describing dispatched goods.
An Advance Shipping Notice describes goods that have been dispatched or are planned for dispatch. It separates authoritative shipped lines from carton allocation details so receiving, fulfilment, and invoice reconciliation can reason about what moved and how it was packed.
Lifecycle And Correlation
Lifecycle Position
Follows PO acknowledgement and precedes receipt, giving the buyer shipment detail before goods arrive.
Correlation Guidance
Use data.lineItems[] as the authoritative shipped line list. Packages should reference those lines through data.packages[].lineReferences[] using uniqueLineKey for automatic correlation; package line references do not replace shipped line data.
Validation Notes
- Require dispatchAdviceNumber, noticeDate, shipmentDate, carrier, shipFrom, shipTo, and lineItems.
- Validate package SSCC values when supplied.
- Require each package line reference to include quantity and uniqueLineKey for automatic line correlation.
- Keep unitOfMeasure aligned between lineItems and package lineReferences.
Mapping Notes
- Map shipped quantities to data.lineItems[] first, then map carton allocation to packages[].lineReferences[].
- Preserve PO uniqueLineKey values on shipped lines and package line references.
- Use shipmentIdentifiers for tracking and transport references instead of comments.
- Map SCAC and other carrier codes to carrier.identifiers[] rather than overloading carrier name or shipment comments.
- Represent partial and complete fulfilment through fulfillmentType.
Operational Notes
- Receiving progress should be calculated from data.lineItems[], not package allocation rows.
- If uniqueLineKey is missing or unknown, send the shipment line to manual review rather than matching on item text or array position.
Implementation Pitfalls
- Do not use package item arrays as authoritative ASN line data.
- Do not treat packageId as an SSCC; map SSCC values to data.packages[].sscc.
- Do not infer line fulfilment from carton count alone.
- Do not match ASN lines to PO lines by lineNumber, array index, item id, description, or quantity.
Endpoints
Use the schema endpoint for machine validation and the document page for implementation guidance.
GETDownload Advance Shipping Notice schema
application/schema+jsonapplication/json/contracts/releases/1.0.6/schemas/advance-shipping-notice.schema.jsonAdvance Shipping Notice JSON Schema
GETAdvance Shipping Notice
text/html/schemas/advance-shipping-noticeAdvance Shipping Notice documentation page
Model
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.
DataShift populates, preserves, or recalculates these values for correlation, lifecycle matching, validation, and auditability. They are visible in the model so implementers know which fields are controlled by the platform instead of manual partner mappings.
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.
ASNcorrelationIdStable 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.
sourceLanguagejsoncxmlsourceVersionCanonical schema version used to create this document
1.0.6payloadIdOriginal cXML payload ID
userAgentDataShift Edge version that generated the canonical document
DataShift Edge v1Data
AdvanceShippingNoticeDataBusiness payload for the shipment notice.
dispatchAdviceNumberSupplier-assigned shipment or dispatch advice identifier.
poNumberPrimary purchase order number this shipment fulfils.
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)
Object fieldsExpandCollapse
documentIdpayloadIdpoReferencesReferences to purchase orders being fulfilled by this shipment
Object fieldsExpandCollapse
poNumberpoVersiondocumentIdpayloadIdorderDatecarrierCarrier and service details for the shipment.
Object fieldsExpandCollapse
nameCarrier company name
identifiersCarrier identification codes
serviceTypeType of shipping service
shipmentIdentifiersTracking numbers and shipment identifiers (consignment note, bill of lading, etc.)
Object fieldsExpandCollapse
domainType of shipment identifier
trackingNumberbillOfLadingproNumberairWaybillcontainerNumbervaluetermsOfDeliveryDelivery terms and conditions
Object fieldsExpandCollapse
incoTermsInternational Commercial Terms
cfrcifcipcptdafdapddpddudpudeqdesexwfasfcafobfobPointdescriptionshipFromShipment origin.
Object fieldsExpandCollapse
addressIdaddresseestreet1street2citystatepostalCodecountryAUshipToShipment destination.
Object fieldsExpandCollapse
addressIdaddresseestreet1street2citystatepostalCodecountryAUcontactsContact information for various roles
Object fieldsExpandCollapse
roleshipFromshipTocarrierCorporatetechnicalSupportcustomerServicenameemailphonecommentsHuman-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. DataShift manages uniqueLineKey correlation where needed.
packagesPhysical package or carton detail used for carton allocation and SSCC labelling.
hazardInfoHazardous materials information
Object fieldsExpandCollapse
unNumberhazardClassdescriptionextrinsicsPartner-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
uniqueLineKeyDataShift-managed stable line key from the original purchase order, used by internal connectors for cross-document correlation.
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
AYBGBLBRBLLE2BOBXBJBEKACACGCTCQCSCMTCLCHMTQCYDAYDCDZNDREAFOTGRMHURCENINHJRKGMKMTKTLNLKLTRMTRTNEMLTMMTMONPKPDPLPRD97C62PGLBRRLROSASESETSTSOMTKU3MILTUWEEcountryOfOriginCountry where the item was manufactured
AUbatchInfoLot or batch tracking information
Object fieldsExpandCollapse
batchIdproductionDateexpirationDateserialNumbersSerial 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
Object fieldsExpandCollapse
valueunitKGLBOZGnetWeightWeight of contents only
Object fieldsExpandCollapse
valueunitKGLBOZGdimensionsPhysical dimensions of the package
Object fieldsExpandCollapse
lengthwidthheightunitCMINMFTlineReferencesReferences to authoritative lineItems packed inside this package.
Object fieldsExpandCollapse
lineNumberuniqueLineKeyDataShift-managed line key from the original purchase order for internal connector correlation
quantityQuantity of this line item packed in this carton
unitOfMeasureUnit of measure for the quantity — must match the parent line item's unitOfMeasure
AYBGBLBRBLLE2BOBXBJBEKACACGCTCQCSCMTCLCHMTQCYDAYDCDZNDREAFOTGRMHURCENINHJRKGMKMTKTLNLKLTRMTRTNEMLTMMTMONPKPDPLPRD97C62PGLBRRLROSASESETSTSOMTKU3MILTUWEE