---
sourceDocument: Australia Finance and Supply Chain
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/source-to-pay-operations

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Employee


---

# SupplyOn outbound purchase order request mapping

# SupplyOn outbound purchase order request mapping {#ariaid-title1}

Release version: Australia  
Updated November 19, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
ServiceNow outbound purchase order header and line fields map to the SupplyOn POST /purchaseorder payload. This topic includes a sample request and response.
The send subflow maps `sn_spend_intg_outbound_purchase_order` and its lines (and the source purchase order for attachments) to the SupplyOn `POST /purchaseorder` payload.

## Header field mapping {#supplyon-outbound-request-mapping__section_tpj_jxr_rkc}

{#supplyon-outbound-request-mapping__table_upj_jxr_rkc__entry__4}

| ServiceNow field | Type | SupplyOn property | Notes |
|-|-|-|-|
| order_number | String | PurchaseOrderHeader.OrderNumber, GenericInboundData.DocumentNumber | Required. |
| order_date | Date | PurchaseOrderHeader.OrderDate | Date only, sent as ...T00:00:00Z (ISO 8601 UTC). |
| currency | String | PurchaseOrderHeader.Currency, NetValueCurrency |   |
| Constant "9" | String | PurchaseOrderHeader.FunctionCode | Always 9. SupplyOn decides insert versus update. No code 4 or 5. |
| Sum of line net values | Decimal | PurchaseOrderHeader.NetValue | Computed at send. Omitted when there are no lines. |
| payment_term | String | PurchaseOrderHeader.FlexibleLongText\[Code=AAB\] | Omitted when blank. |
| header_note (property) | String | PurchaseOrderHeader.FlexibleLongText\[Code=AAI\] | Customer-visible. Omitted when blank. |
| order_type (property, NB) | String | PurchaseOrderHeader.OrderType | Standard orders. |
| supplier_name | String | Address\[SU\].Name1 | Supplier address. |
| supplier_id (sn_fin_supplier.number) | String | Address\[SU\].PartnerNumber, RoutingTriple.SupplierNumber | ServiceNow supplier number (SUP...), not the sys_id and not erp_company_code. |
| Supplier contacts | String | Address\[SU\].Contacts\[\].Email/Name/Phone | All supplier contacts. |
| Supplier address | String | Address\[SU\].Street/City/ZIP/Country | Headquarters location. Falls back to the sn_fin_supplier organization address when no headquarters location exists. |
| purchasing_org | String | Address\[BY\].Contacts\[\].Department | Buyer address. Contacts omitted when blank. |
| Routing triple | String | RoutingTriple.OrgCode | org_code_override or plus company code. |
| Routing triple | String | RoutingTriple.PlantCode | plant_code property or plus company code. |
| edi_sender (property) | String | GenericHeaderData.EDISender | Default SERVICENOW. |
| Constant | String | GenericHeaderData.EDIReceiver = SUPPLYON, GenericInboundData.EDIMessageCode = 220 | Fixed. |
[Table 1. Header field mapping]

{#supplyon-outbound-request-mapping__table_upj_jxr_rkc}

## Line field mapping {#supplyon-outbound-request-mapping__section_vpj_jxr_rkc}

The integration sends one PurchaseOrderPosition per line.
{#supplyon-outbound-request-mapping__table_wpj_jxr_rkc__entry__4}

| ServiceNow field | Type | SupplyOn property | Notes |
|-|-|-|-|
| Index times 10 | Derived | Position.PosID | 10, 20, 30, and so on. |
| sku | String | Position.Material.SupplierPartNumber |   |
| product_name | String | Position.Material.CustomerPartDescription |   |
| mpn | String | Position.ManufacturerArticleNumber |   |
| unit | String | Position.CustomerPartUoM, Delivery.UoM, PriceUnitUoM |   |
| purchased_quantity | Decimal | Position.Quantity, Delivery.Quantity |   |
| expected_del_date | Date | Position.Delivery\[\].DeliveryDate (Type=1, firm) | ISO 8601 UTC. |
| unit_price | Decimal | Position.PricePerUnit | PriceUnit defaults to 1. |
| unit_price_currency | String | Position.PricePerUnitCurrency, NetValueCurrency |   |
| unit_price times quantity | Decimal | Position.NetValue | Computed. |
| Ship-to address fields | String | Position.Addresses\[CN\] (per line) | Country as ISO 3166-1 alpha-2. |
| Constant | Boolean | Position.ToBeConfirmed = true | Supplier must confirm. |
[Table 2. Line field mapping]

{#supplyon-outbound-request-mapping__table_wpj_jxr_rkc}  
Important:  
Service lines (product_type 20) and handling-fee lines (30) are excluded from the payload. Lines with an empty product type are kept.

## Attachments {#supplyon-outbound-request-mapping__section_xpj_jxr_rkc}

Attachments are header-level only, because SupplyOn has no per-line attachment field. They are embedded as Base64 in the top-level Attachments list on create and update (cancel carries none). Before send, the integration enforces
these limits: 10 files or fewer, 5 MB per file or less, 15 MB total or less, and allowed types only. A violation throws SUPPLYON_ATTACHMENT_VIOLATION and aborts before the REST call. Attachments live on
the source purchase order and are resolved by order number. Line-level attachments aren't sent.

## Sample request payload {#supplyon-outbound-request-mapping__section_ypj_jxr_rkc}

    {
      "GenericHeaderData": {
        "EDISender": "SERVICENOW",
        "EDIReceiver": "SUPPLYON",
        "MessageDate": "2025-09-11T11:50:00Z",
        "RoutingTriple": { "OrgCode": "SENOW", "PlantCode": "SNPOC01", "SupplierNumber": "656546" }
      },
      "GenericInboundData": {
        "EDIMessageCode": "220",
        "DocumentNumber": "pha2026062c",
        "MessageNumber": "0000200003",
        "ERPSystemID": ""
      },
      "PurchaseOrderHeader": {
        "OrderNumber": "pha2026062c",
        "OrderDate": "2025-09-10T00:00:00Z",
        "Currency": "EUR",
        "FunctionCode": "9",
        "OrderType": "NB",
        "NetValue": 100,
        "NetValueCurrency": "EUR",
        "FlexibleLongText": [{ "Code": "AAB", "Text": "Net 30" }]
      },
      "Address": [
        { "AddressCode": "SU", "Name1": "Demo Seller GmbH", "PartnerNumber": "656546" },
        { "AddressCode": "BY", "Contacts": [{ "Department": "Purchasing Organization" }] },
        { "AddressCode": "CN", "Name1": "Plant 2", "Street": "Burgweg 341", "City": "Hamburg", "ZIP": "20095", "Country": "DE" }
      ],
      "PurchaseOrderPosition": [
        {
          "PosID": "10",
          "Material": { "SupplierPartNumber": "SB 20260218", "CustomerPartDescription": "Widget" },
          "CustomerPartUoM": "PCE",
          "Quantity": 10,
          "Delivery": [{ "Type": "1", "DeliveryDate": "2026-08-01T00:00:00Z", "Quantity": 10, "UoM": "PCE" }],
          "PricePerUnit": 10,
          "PricePerUnitCurrency": "EUR",
          "NetValue": 100,
          "ToBeConfirmed": true
        }
      ]
    }

## Sample synchronous response (HTTP 201) {#supplyon-outbound-request-mapping__section_zpj_jxr_rkc}

The synchronous response confirms transport receipt only. The business outcome arrives through the async status callback.

    {
      "TransactionID": "2491C8AF4F962D2CCB87CC102AFCXXXX",
      "StatusCode": "OK",
      "StatusText": "Message received"
    }


