BodyliaBodylia OpenB2BSign in
← All guides

Advance ship notice

nutrab2b.logistics.shipped.v2 · Logistics & customs

Purpose
What shipped, in which pallets/cases (SSCC hierarchy), which lots, with dates, carrier and cold-chain readings.
When to send
Goods leave the ship-from location.
Sender → receiver
Supplier → Buyer
Expected responses
RECEIPT, ACK
Equivalent standards
X12: 856 · EDIFACT: DESADV · GS1: DespatchAdvice · EPCIS: ObjectEvent shipping + AggregationEvent · SAP: DESADV / DELVRY IDoc
Scenarios using it
Full order-to-cash · Partial acceptance with back-order · Quantity change after acknowledgement · Cancel race after shipment · Split shipment, two lots · Over-shipment beyond tolerance · Multi-pallet, multi-lot SSCC hierarchy · Release against blanket contract · Failed CoA blocks shipment · Out-of-spec lot ships under deviation · Hold blocks shipment until release · Organic certificate expired before shipment · Remaining shelf life too short · Cold-chain excursion · Out-of-order events are parked and released · Dropped event, gap detected, replay · Ship notice for an unknown PO · Three-way match failures · Short receipt settled with credit note

Fields and mappings

FieldTypeReqDescriptionCode list / formatEDI / GS1 / SAP mapping
asn_idstringyesShipment id
x12: BSN02
edifact: BGM 1004
po_numberstringyesPO
shipped_atdatetimeyesShip date-time
etadateEstimated arrival
transport_modestringyesModeNB-R006transport_mode
carrier_glnstringCarrier GLN
tracking_refstringBOL / AWB / tracking
ship_fromobjectyesShip-from
glnstringyesLocation GLN^\d{13}$
x12: N1 ST/SF N104
edifact: NAD+ST/SF
namestringName
addressobjectPostal address
linesarray<string>Street lines
citystringCity
postal_codestringPostal code
regionstringState / province (ISO 3166-2 subdivision)
countrystringyesCountrycountry
ship_toobjectyesShip-to
glnstringyesLocation GLN^\d{13}$
x12: N1 ST/SF N104
edifact: NAD+ST/SF
namestringName
addressobjectPostal address
linesarray<string>Street lines
citystringCity
postal_codestringPostal code
regionstringState / province (ISO 3166-2 subdivision)
countrystringyesCountrycountry
storagestringRequired storage classNB-R020storage
packagesarray<object>yesLogistic units (pallet → case)
ssccstringyesSSCC^\d{18}$
x12: MAN02 (GM)
edifact: GIN+BJ
epcis: urn:epc:id:sscc
parent_ssccstringParent pallet SSCC^\d{18}$
package_typestringyesPackagepackage
gross_kgnumberGross weight kg
contentsarray<object>Items in this unit
po_line_nointegeryesPO lineNB-R014
item_idstringyesItem
lot_numberstringyesLot / batchNB-R003
x12: LIN (LT)
edifact: PIA/GIR
epcis: lgtin
quantityobjectyesNet quantity
valuenumberyesQuantity
uomstringyesUnit of measureuom
mfg_datedateyesManufacture dateNB-R007
expiry_datedateyesExpiry / retestNB-R007 NB-R008
temperature_logarray<object>Logger readings
atdatetimeyesTime
celsiusnumberyes°CNB-R020

Business rules

Implementation notes

Example

{
  "specversion": "2.0",
  "id": "evt-asn-PO-55012-1",
  "type": "nutrab2b.logistics.shipped.v2",
  "source": "urn:gln:4012345000009:erp",
  "subject": "PO-55012",
  "time": "2026-11-02T09:00:00Z",
  "datacontenttype": "application/json",
  "dataschema": "https://nutrab2b.org/schemas/2.0/ASN.json",
  "sender": {
    "gln": "4012345000009"
  },
  "receiver": {
    "gln": "0614141000012"
  },
  "correlationid": "CONV-RFQ-1001",
  "idempotencykey": "ASN:PO-55012:1",
  "sequence": 1,
  "env": "test",
  "data": {
    "asn_id": "ASN-9001",
    "po_number": "PO-55012",
    "shipped_at": "2026-11-25T08:00:00+05:30",
    "eta": "2026-12-02",
    "transport_mode": "4",
    "carrier_gln": "5412345000013",
    "tracking_ref": "AWB 176-12345675",
    "ship_from": {
      "gln": "4012345000016",
      "address": {
        "country": "IN"
      }
    },
    "ship_to": {
      "gln": "0614141000012",
      "address": {
        "country": "US"
      }
    },
    "storage": "AMBIENT",
    "packages": [
      {
        "sscc": "340123450000000017",
        "package_type": "PX",
        "gross_kg": 540
      },
      {
        "sscc": "340123450000000024",
        "parent_sscc": "340123450000000017",
        "package_type": "1G",
        "gross_kg": 26.5,
        "contents": [
          {
            "po_line_no": 1,
            "item_id": "ASH-KSM-5",
            "lot_number": "ASH-26-118",
            "quantity": {
              "value": 500,
              "uom": "KGM"
            },
            "mfg_date": "2026-10-01",
            "expiry_date": "2029-09-30"
          }
        ]
      }
    ],
    "temperature_log": [
      {
        "at": "2026-11-25T10:00:00Z",
        "celsius": 22
      }
    ]
  }
}

Mapping checklist