---
sourceDocument: Yokohama Finance and Supply Chain
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/source-to-pay-operations

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Employee


---

# Payloads samples and errors

# Payloads samples and errors {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Use the following sample payloads to enable procurement data import and
export.

## Payloads {#payloads-information__section_nqm_ffd_ynb}

See the following sample payload for importing and exporting procurement records.{#payloads-information__table_ech_r3p_xnb__entry__2}

| Name | Sample payload |
|-|-|
| Invoice Import | See [Spendint API - POST /sn_spend_intg/spendint/invoice](https://servicenow-prod.fluidtopics.net/7yuLLtyASH0Y2mw7d_8ebw "Accepts invoices from third-party providers.") |
| Catalog Import | See [Spendint API - POST /sn_spend_intg/spendint/catalog](https://servicenow-prod.fluidtopics.net/L6YYV6K15nDkXuqKH1IeYw "Allows suppliers to post multiple catalogs for creating supplier products, model products, contracts, and pricing records.") |
| Availability Import | See [Spendint API - POST /sn_spend_intg/spendint/availability](https://servicenow-prod.fluidtopics.net/hRYDq6FtAiE9k_UakjG86g "Updates the availability for supplier product records.") |
| Shipment Import | See [Spendint API - POST /sn_spend_intg/spendint/shipment](https://servicenow-prod.fluidtopics.net/E7hfuloz_VQNoB38HGbckA "Use this endpoint to accept updates on purchases from third parties.") |
| Order Acknowledgment | See [Spendint API - POST /sn_spend_intg/spendint/orderack](https://servicenow-prod.fluidtopics.net/v9C8c~m5HGcLyqZ4KKJ3QA "Updates order information for when a user shops for a product from a third-party catalog. When the user checks out, a purchase line is created so that approvals or other tasks for the purchase can be completed.") |
| Price Import | See [Spendint API - POST /sn_spend_intg/spendint/price](https://servicenow-prod.fluidtopics.net/go47HwtRYlApfh5liDKhxQ "Updates any pricing for supplier product records.") |
[ ]

{#payloads-information__table_ech_r3p_xnb}

## Errors {#payloads-information__section_glf_cfd_ynb}

This section describes the following procurement errors:  
Catalog Error (Outbound)

    {
      "root": {
        "status_message": "",
        "status_code": "Failure",
        "customer_id": "AB-1234323",
        "supplier_id": "SUP-123456",
        "error_response_body": [
          {
            "error_message": "Field Value empty/Formatting issue Negotiated currency \n",
            "mpn": "Z0WQ-20004301931",
            "sku": "55788741"
          }
        ]
      }
    }

Price Error (Outbound)


    {
      "root": {
        "status_message": "",
        "status_code": "Failure",
        "customer_id": "AB-1234323",
        "supplier_id": "SUP-123456",
        "error_response_body": [
          {
            "error_message": "Field Value empty/Formatting issue Negotiated currency \n",
            "mpn": "Z0WQ-20004301931"
          }
        ]
      }
    }

Availability Error (Outbound)

    {
      "root": {
        "status_message": "",
        "status_code": "Failure",
        "customer_id": "AB-1234323",
        "supplier_id": "SUP-123456",
        "error_response_body": [
          {
            "error_message": "Field Value empty/Formatting issue Negotiated currency \n",
            "mpn": "Z0WQ-20004301931"
          }
        ]
      }
    }

Shipment Error (Outbound)

    {
      "root": {
        "status_message": "",
        "status_code": "Failure",
        "customer_id": "AB-1234323",
        "supplier_id": "SUP-123456",
        "error_response_body": [
          {
            "supplier_shipment_number": "SHIPSUP00001 \n",
            "sales_order_number": "SOL0010001 \n",
            "sales_order_line_number": "SOL0010001 \n",
            "error_message": "The purchase order for this shipment does not exist \n"
          }
        ]
      }
    }

Invoice Error (Outbound)

    {
      "root": {
        "status_message": "",
        "status_code": "Failure",
        "customer_id": "AB-1234323",
        "supplier_id": "SUP-123456",
        "error_response_body": [
          {
            "supplier_invoice_number": "SUPINV000001 \n",
            "supplier_invoice_line_number": "SUPINVL0000001 \n",
            "sales_order_number": "SOL0010001 \n",
            "sales_order_line_number": "SOL0010001 \n",
            "error_message": "The provided invoices does not have a purchase order line number \n"
          }
        ]
      }
    }

Outbound Order


    {
      "root": {
        "order_amount": "200",
        "order_number": "PO0010001",
        "currency": "USD",
        "order_date": "01-01-2021",
        "customer_id": "AB-1234323",
        "supplier_id": "SUP-123456",
        "catalog_id": "ABC780987",
        "order_lines": [
          {
            "sku": "A20002 \n",
            "line_number":"POL0010001 \n",
            "mpn": "09876789 \n",
            "purchased_quantity": "2 \n",
            "unit": "Each \n",
            "unit_price": "USD \n",
            "ship_to": "John A \n",
            "contract_number": "VEN09000002 \n",
            "organization_id": "868979 \n",
            "enroll_in_abm": "yes",
            "shipping_address": {
              "name": "2225 Lawson Ln, Santa Clara, CA 95054, United States\n",
              "street": "2225 Lawson Ln \n",
              "city": "Santa Clara \n",
              "state": "CA \n",
              "zip_code": "95054 \n",
              "country": "Unites States of America \n"
            }
          }
        ]
      }
    }


