Reference guide

Transaction Sets Reference

Datasync canonical mappings for common X12 and EDIFACT documents.

Supported X12 sets

TransactionPurposeDatasync canonical object
810Invoiceinvoice
820Payment order/remittancepayment
830Planning scheduleforecast
850Purchase orderpurchase_order
856Advance ship noticeshipment
860Purchase order changepurchase_order_change
940Warehouse shipping orderwarehouse_order

EDIFACT highlights

  • ORDERS → Purchase orders
  • DESADV → Ship notices
  • INVOIC → Invoices
  • IFTMIN → Transport instructions

Canonical payload example (850)

{
  "purchase_order": {
    "po_number": "PO-10045",
    "order_date": "2025-02-11",
    "currency": "USD",
    "ship_to": {
      "name": "Northwind DC",
      "code": "NW-DC-12"
    },
    "lines": [
      {
        "sku": "SKU-1234",
        "description": "Widget",
        "quantity": 100,
        "uom": "EA",
        "price": 4.25
      }
    ]
  }
}

Datasync ships pre-built mappings for each transaction type. You can customize:

  • Field-level transforms (trim, pad, convert)
  • Business rules (minimum order quantities, status calculations)
  • Splitting/combining logic across multiple partners

Change management

  • Store mapping versions in Git and link them to Datasync via CI/CD.
  • Use Validation Suite to test new mappings against golden files before promoting.

Resources

Code snippets

  • 850 → JSON canonical mapping
  • EDIFACT DESADV transformation

Related integrations

ERP Monitoring

Need a deeper dive?

Book a documentation walkthrough with Datasync architects

We’ll pair you with the engineers who built these flows so you can map docs to your exact use cases.