---
sourceDocument: 横浜ファイナンス&サプライチェーン
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/yokohama/source-to-pay-operations

 Release :

    - yokohama

ft:locale :

    - ja-JP

ft:publication_title :

    - 横浜ファイナンス&サプライチェーン

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Creator


---

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

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

* リリースバージョン: Yokohama
* 
* 更新日 2025年01月30日
* 
* ![](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/pbKTWy_zKGEDicZgJ7fi7A "サードパーティプロバイダーからの請求書を受け入れます。")」を参照してください。 |
| カタログインポート | 「[Spendint API - POST /sn_spend_intg/spendint/catalog](https://servicenow-prod.fluidtopics.net/gCL4YKiWE0BsFNZFyaZ0pg "サプライヤーが複数のカタログを投稿して、サプライヤー製品、モデル製品、契約、および価格設定レコードを作成できるようにします。")」を参照してください。 |
| 可用性インポート | 「[Spendint API - POST /sn_spend_intg/spendint/availability](https://servicenow-prod.fluidtopics.net/mTaPW8W2tMnAWebEBEuJ9A "サプライヤー製品レコードの可用性を更新します。")」を参照してください。 |
| 出荷インポート | 「[Spendint API - POST /sn_spend_intg/spendint/shipment](https://servicenow-prod.fluidtopics.net/V04cjTpuqi_3Vnm3GwwL0A "このエンドポイントを使用して、サードパーティからの購入の更新を受け入れます。")」を参照してください。 |
| 注文確認 | 「[Spendint API - POST /sn_spend_intg/spendint/orderack](https://servicenow-prod.fluidtopics.net/WVxtAvhV9qW8OaUzndLDnw "ユーザーがサードパーティカタログから製品を購入するときの注文情報を更新します。ユーザーがチェックアウトすると、購入ラインが作成され、購入の承認やその他のタスクを完了できます。")」を参照してください。 |
| 価格インポート | 「[Spendint API - POST /sn_spend_intg/spendint/price](https://servicenow-prod.fluidtopics.net/pejxdVZ2PE1YYnPyr3qkHQ "サプライヤー製品レコードの価格設定を更新します。")」を参照してください。 |
[ ]

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


