BodyliaBodylia OpenB2BSign in
← All guides

Purchase order cancellation

nutrab2b.order.cancelled.v2 · Ordering

Purpose
Cancel a whole PO. Rejected if goods already shipped (cancel race).
When to send
Buyer cancels.
Sender → receiver
Buyer → Supplier
Expected responses
ACK
Equivalent standards
X12: 860 (BCH01=01) · EDIFACT: ORDCHG (BGM 1225=1)
Scenarios using it
Cancel race after shipment

Fields and mappings

FieldTypeReqDescriptionCode list / formatEDI / GS1 / SAP mapping
po_numberstringyesPO
reasonstringyesReasoncancel_reason

Business rules

Example

{
  "specversion": "2.0",
  "id": "evt-po_cancel-PO-55012-1",
  "type": "nutrab2b.order.cancelled.v2",
  "source": "urn:gln:0614141000012:erp",
  "subject": "PO-55012",
  "time": "2026-11-02T09:00:00Z",
  "datacontenttype": "application/json",
  "dataschema": "https://nutrab2b.org/schemas/2.0/PO_CANCEL.json",
  "sender": {
    "gln": "0614141000012"
  },
  "receiver": {
    "gln": "4012345000009"
  },
  "correlationid": "CONV-RFQ-1001",
  "idempotencykey": "PO_CANCEL:PO-55012:1",
  "sequence": 1,
  "env": "test",
  "data": {
    "po_number": "PO-55012",
    "reason": "BUYER_DEMAND"
  }
}

Mapping checklist