---
sourceDocument: Xanadu Source-to-Pay オペレーション
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/xanadu/source-to-pay-operations

 Release :

    - xanadu

ft:locale :

    - ja-JP

ft:publication_title :

    - Xanadu Source-to-Pay オペレーション

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Creator


---

# ペイロードサンプルとエラー

# ペイロードサンプルとエラー {#ariaid-title1}

* リリースバージョン: Xanadu
* 
* 更新日 2024年08月01日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：5分

次のサンプルペイロードを使用して、調達データのインポートとエクスポートを有効にします。

## ペイロード {#payloads-information__section_nqm_ffd_ynb}

調達レコードのインポートとエクスポートについては、次のサンプルペイロードを参照してください。{#payloads-information__table_ech_r3p_xnb__entry__2}

| 名前 | サンプルペイロード |
|-|-|
| 請求書のインポート | 次のフォームを参照してください。 [Spendint API - POST /sn_spend_intg/spendint/invoice](https://servicenow-prod.fluidtopics.net/iV3Kd7OE65JhRumrRk4Q~A "サードパーティプロバイダーからの請求書を受け入れます。") |
| カタログインポート | 次のフォームを参照してください。 [Spendint API - POST /sn_spend_intg/spendint/catalog](https://servicenow-prod.fluidtopics.net/4qAfRdKliJ7luZaD_bZKwA "サプライヤーが複数のカタログを転記して、サプライヤー製品、モデル製品、契約、および価格設定レコードを作成できるようにします。") |
| 使用可否インポート | 次のフォームを参照してください。 [Spendint API - POST /sn_spend_intg/spendint/availability](https://servicenow-prod.fluidtopics.net/sAx9vqEjc2v23~GvrdSPpg "サプライヤー製品レコードの使用可否を更新します。") |
| 出荷インポート | 次のフォームを参照してください。 [Spendint API - POST /sn_spend_intg/spendint/shipment](https://servicenow-prod.fluidtopics.net/Ehzomizu5D9~HA1iWw5NWw "このエンドポイントを使用して、サードパーティからの購入に関する更新を受け入れます。") |
| 注文確認 | 次のフォームを参照してください。 [Spendint API - POST /sn_spend_intg/spendint/orderack](https://servicenow-prod.fluidtopics.net/uWTj7xcpX7x1qSs0Pgt5CA "ユーザーがサードパーティカタログから製品を購入する際の注文情報を更新します。ユーザーがチェックアウトすると、購入の承認またはその他のタスクを完了できるように購入明細が作成されます。") |
| 価格インポート | 次のフォームを参照してください。 [Spendint API - POST /sn_spend_intg/spendint/price](https://servicenow-prod.fluidtopics.net/Yar4PyDEN7h9PtGEMz8hSg "サプライヤー製品レコードの価格設定を更新します。") |
[ ]

{#payloads-information__table_ech_r3p_xnb}

## エラー {#payloads-information__section_glf_cfd_ynb}

このセクションでは、次の調達エラーについて説明します。  
カタログエラー (送信)

    {
      "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"
          }
        ]
      }
    }

価格エラー (送信)


    {
      "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"
          }
        ]
      }
    }

使用可否エラー (送信)

    {
      "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"
          }
        ]
      }
    }

出荷エラー (送信)

    {
      "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"
          }
        ]
      }
    }

請求書エラー (送信)

    {
      "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"
          }
        ]
      }
    }

送信オーダー


    {
      "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"
            }
          }
        ]
      }
    }


