> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Marketplace 提交供應商付款

> 向 Amazon Marketplace 提交新發票。

提交供應商付款操作會向 Amazon Marketplace 提交新發票。此操作位於流程末尾。

此操作的使用者輸入僅透過輸入 XML 提供。

## XML 對映

必須將 [XML Map](https://docs.kasoftware.com/26.4/self-hosted/zh-Hant/connectors/xml-map/xml-map.md) 端口連線到 Amazon Marketplace 端口，以對映所需的輸入參數，如下圖所示。

![Amazon Marketplace Submit Vendor Payments XML Mapping](https://mintcdn.com/qiao/4hcVjuRd69QHuQ3V/26.4/images/amazon_marketplace_SVP.png?fit=max\&auto=format\&n=4hcVjuRd69QHuQ3V\&q=85\&s=6691f03abc33f047abbb47a330f9423c)

## 輸入參數

下表列出了可以使用 XML Map 端口介面對映的輸入參數。

| 名稱 | 資料型別 | 是否必須 | 描述 |
| - | :-: | :-: | - |
| Invoice Type | String | **是** | 發票的型別。 允許的值為 **Invoice** 和 **CreditNote**。 |
| Id | String | **是** | 與此表後面定義的費用詳細資訊相關的唯一編號。 此 Id 是發票編號（如果文件型別是 **Invoice**）或信用票據編號（如果文件型別是 **CreditNote**）。 |
| ReferenceNumber | String | **否** | 用於監管或其他目的的附加唯一參考編號。 |
| Date | Datetime | **是** | 根據 ISO 8601 定義的日期和時間。 |
| TotalAmount | String | **是** | 發票總額為十進位制數字，不丟失精度。 |
| TotalCurrencyCode | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| PaymentType | String | **否** | 發票的付款期限型別。 允許的值為 **Basic**、**EndOfMonth**、**FixedDate**、**Proximo**、**PaymentDueUponReceiptOfInvoice**、**LetterofCredit**。 |
| PaymentDueDays | Integer | **否** | 從基準日期（發票日期）到發票上的總金額到期的日曆天數。 |
| DiscountPercent | String | **否** | 折扣百分比為十進位制數字，不會丟失精度。 |
| DiscountDueDays | Integer | **否** | 從基準日期（發票日期）到折扣不再有效的日曆天數。 |
| RemitToPartyId | String | **是** | 為當事人分配的標識。 |
| RemitToPartyAddress | Aggregate | **否** | 個人、企業或機構的實際地址。 |
| RemitToPartyAddress/ Name | String | **是** | 該地址的個人、企業或機構的名稱。 |
| RemitToPartyAddress/ AddressLine1 | String | **是** | 個人、企業或機構街道地址的第一行。 |
| RemitToPartyAddress/ AddressLine2 | String | **否** | 附加地址資訊（如果需要）。 |
| RemitToPartyAddress/ AddressLine3 | String | **否** | 附加地址資訊（如果需要）。 |
| RemitToPartyAddress/ City | String | **否** | 個人、企業或機構所在的城市。 |
| RemitToPartyAddress/ County | String | **否** | 個人、企業或機構所在的縣。 |
| RemitToPartyAddress/ District | String | **否** | 個人、企業或機構所在的地區。 |
| RemitToPartyAddress/ StateOrRegion | String | **否** | 個人、企業或機構所在的州或地區。 |
| RemitToPartyAddress/ PostalOrZipCode | String | **否** | 個人、企業或機構地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成，有時包括空格或標點符號。 |
| RemitToPartyAddress/ CountryCode | String | **是** | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| RemitToPartyAddress/ Phone | String | **否** | 位於該地址的個人、企業或機構的電話號碼。 |
| RemitToParty TaxDetails | Aggregate | **否** | 當事人的稅務登記詳情。 |
| RemitToParty TaxDetails/ RegistrationType | String | **是** | 實體的稅務登記型別。 允許的值為 **VAT**（增值稅）和 **GST**（商品及服務稅）。 GST：商品和服務稅。 |
| RemitToParty TaxDetails/ RegistrationNumber | String | **是** | 實體的稅務登記號（例如，增值稅號）。 |
| ShipToPartyID | String | **否** | 為聚會分配的標識。 |
| ShipToPartyAddress | Aggregate | **否** | 個人、企業或機構的實際送貨地址。 |
| ShipToPartyAddress/ Name | String | **是** | 送貨地址的個人、企業或機構的名稱。 |
| ShipToPartyAddress/ AddressLine1 | String | **是** | 個人、企業或機構街道地址的第一行。 |
| ShipToPartyAddress/ AddressLine2 | String | **否** | 附加地址資訊（如果需要）。 |
| ShipToPartyAddress/ AddressLine3 | String | **否** | 附加地址資訊（如果需要）。 |
| ShipToPartyAddress/ City | String | **否** | 個人、企業或機構所在的城市。 |
| ShipToPartyAddress/ County | String | **否** | 個人、企業或機構所在的縣。 |
| ShipToPartyAddress/ District | String | **否** | 個人、企業或機構所在的地區。 |
| ShipToPartyAddress/ StateOrRegion | String | **否** | 個人、企業或機構所在的州或地區。 |
| ShipToPartyAddress/ PostalOrZipCode | String | **否** | 個人、企業或機構地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成，有時包括空格或標點符號。 |
| ShipToPartyAddress/ CountryCode | String | **是** | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| ShipToPartyAddress/ Phone | String | **否** | 位於送貨地址的個人、企業或機構的電話號碼。 |
| ShipToParty TaxDetails | Aggregate | **否** | 當事人的稅務登記詳情。 |
| ShipToParty TaxDetails/ RegistrationType | String | **是** | 當事人的稅務登記型別。 允許的值為 **VAT**（增值稅）和 **GST**（商品及服務稅）。 |
| ShipToParty TaxDetails/ RegistrationNumber | String | **是** | 實體的稅務登記號（例如，增值稅號）。 |
| ShipFromPartyId | String | **否** | 為當事人分配的標識。 |
| ShipFromPartyAddress | Aggregate | **否** | 託運人的實際地址。 |
| ShipFromPartyAddress/ Name | String | **是** | 託運人的姓名。 |
| ShipFromPartyAddress/ AddressLine1 | String | **是** | 託運人街道地址的第一行。 |
| ShipFromPartyAddress/ AddressLine2 | String | **否** | 附加地址資訊（如果需要）。 |
| ShipFromPartyAddress/ AddressLine3 | String | **否** | 附加地址資訊（如果需要）。 |
| ShipFromPartyAddress/ City | String | **否** | 發件人所在的城市。 |
| ShipFromPartyAddress/ County | String | **否** | 託運人所在的縣。 |
| ShipFromPartyAddress/ District | String | **否** | 寄件人所在地區。 |
| ShipFromPartyAddress/ StateOrRegion | String | **否** | 託運人所在的州或地區。 |
| ShipFromPartyAddress/ PostalOrZipCode | String | **否** | 發件人地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成，有時包括空格或標點符號。 |
| ShipFromPartyAddress/ CountryCode | String | **是** | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| ShipFromPartyAddress/ Phone | String | **否** | 託運人的電話號碼。 |
| ShipFromParty TaxDetails | Aggregate | **否** | 當事人的稅務登記詳情。 |
| ShipFromParty TaxDetails/ RegistrationType | String | **是** | 當事人的稅務登記型別。 允許的值為 **VAT**（增值稅）和 **GST**（商品及服務稅）。 |
| ShipFromParty TaxDetails/ RegistrationNumber | String | **是** | 當事人的稅務登記號（例如，增值稅號）。 |
| BillToPartyId | String | **否** | 為當事人分配的標識。 |
| BillToPartyAddress | Aggregate | **否** | 要開票的一方的實際地址。 |
| BillToPartyAddress/ Name | String | **是** | 要計費的一方的名稱。 |
| BillToPartyAddress/ AddressLine1 | String | **是** | 派對街道地址的第一行。 |
| BillToPartyAddress/ AddressLine2 | String | **否** | 附加地址資訊（如果需要）。 |
| BillToPartyAddress/ AddressLine3 | String | **否** | 附加地址資訊（如果需要）。 |
| BillToPartyAddress/ City | String | **否** | 計費方所在的城市。 |
| BillToPartyAddress/ County | String | **否** | 付款方所在的縣。 |
| BillToPartyAddress/ District | String | **否** | 計費方所在地區。 |
| BillToPartyAddress/ StateOrRegion | String | **否** | 計費方所在的州或地區。 |
| BillToPartyAddress/ PostalOrZipCode | String | **否** | 要開票的一方地址的郵政編碼。 此程式碼由一系列字母、數字或兩者組成，有時包括空格或標點符號。 |
| BillToPartyAddress/ CountryCode | String | **是** | ISO 3166-1 alpha-2 格式的兩位國家/地區程式碼。 |
| BillToPartyAddress/ Phone | String | **否** | 要收費的一方的電話號碼。 |
| BillToParty TaxDetails | Aggregate | **否** | 要開票的一方的稅務登記詳細資訊。 |
| BillToParty TaxDetails/ RegistrationType | String | **是** | 要開票的一方的稅務登記型別。 允許的值為 **VAT**（增值稅）和 **GST**（商品及服務稅）。 |
| BillToParty TaxDetails/ RegistrationNumber | String | **是** | 要開票的一方的稅務登記號（例如，增值稅號）。 |
| TaxDetails | Aggregate | **否** | 所有行專案的總稅額詳細資訊。 |
| TaxDetails/ Type | String | **是** | 應用的稅收型別。 允許的值為 **CGST**、**SGST**、**CESS**、**UTGST**、**IGST**、**MwSt**、**PST**、**TVA** 、**VAT**、**GST**、**ST**、**Consumption**、**MutuallyDefined**和**DomesticVAT**。 |
| TaxDetails/ TaxRate | String | **否** | 稅率為十進位制數，不會丟失精度。 |
| TaxDetails/ TaxAmount | String | **是** | 稅額為十進位制數字，不會丟失精度。 |
| TaxDetails/ TaxCurrencyCode | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| TaxDetails/ TaxableAmount | String | **否** | 應稅金額為十進位制數字，不損失精度。 |
| TaxDetails/ TaxableCurrencyCode | String | **否** | ISO 4217 格式的三位數貨幣程式碼。 |
| AdditionalDetails | Aggregate | **否** | 賣方出於稅務相關或其他目的提供的其他詳細資訊。 |
| AdditionalDetails/ Type | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| AdditionalDetails/ Detail | String | **是** | 賣方提供的附加資訊的詳細資訊。 |
| AdditionalDetails/ LanguageCode | String | **否** | 附加資訊詳細資訊的語言程式碼。 |
| ChargeDetails | Aggregate | **否** | 所有行專案的總費用金額的詳細資訊。 |
| ChargeDetails/ Type | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| ChargeDetails/ Description | String | **否** | 收費說明。 |
| ChargeDetails/ ChargeAmount | String | **是** | 十進位制數字形式的費用金額，不會丟失精度。 |
| ChargeDetails/ ChargeCurrencyCode | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| ChargeDetails/ TaxDetails | Aggregate | **是** | 適用於此費用的稅額的詳細資訊。 |
| AllowanceDetails | Aggregate | **否** | 所有行專案的總津貼金額的詳細資訊。 |
| AllowanceDetails/ Type | String | **是** | 應用的津貼型別。 允許的值為 **Discount**、**DiscountIncentive**、**Defective**、**Promotional**、**UnsaleableMerchandise** 和 **Special**。 |
| AllowanceDetails/ Description | String | **否** | 津貼的描述。 |
| AllowanceDetails/ AllowanceAmount | String | **是** | 作為十進位制數字的津貼金額，不會丟失精度。 |
| AllowanceDetails/ AllowanceCurrencyCode | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| AllowanceDetails/ TaxDetails | Aggregate | **否** | 適用於此津貼的稅額的詳細資訊。 |
| InvoiceItem | Aggregate | **否** | 發票專案清單。 |
| InvoiceItem/ ItemSequenceNumber | Integer | **是** | 與此行專案相關的唯一編號。 |
| InvoiceItem/ AmazonProductIdentifier | String | **否** | 商品的亞馬遜標準識別號 (ASIN)。 |
| InvoiceItem/ VendorProductIdentifier | String | **否** | 專案的供應商選擇的產品識別碼。 此識別碼應與採購訂單中提供的識別碼相同。 |
| InvoiceItem/ PurchaseOrderNumber | String | **否** | 此開票行專案的亞馬遜採購訂單號。 採購訂單號應為八位字母數字程式碼。 僅當發票型別為 **Invoice** 時，此值是必填項。 |
| InvoiceItem/ HsnCode | String | **否** | HSN 稅碼。 HSN 號碼不能包含字母字元。 |
| InvoiceItem/ InvoicedQuantityAmount | String | **是** | 物品的數量。 此值不應為零。 |
| InvoiceItem/ InvoicedQuantityUnit | String | **否** | 數量的計量單位。 允許的值為 **Cases** 和 **Eaches**。 |
| InvoiceItem/ InvoicedQuantityUnitSize | Integer | **否** | 個案大小（如果度量單位值為**個案**）。 |
| InvoiceItem/ NetCostAmount | String | **是** | 不損失精度的十進位制數形式的淨成本金額。 |
| InvoiceItem/ NetCostCurrencyCode | String | **是** | ISO 4217 格式的三位數貨幣程式碼。 |
| InvoiceItem/ CreditNote ReferenceInvoiceNumber | String | **否** | 傳送與現有發票相關的貸方通知單時的原始發票編號。 每個貸方票據只能處理一張發票。 對於 AP 貸方票據，此發票編號是必需的。 |
| InvoiceItem/ CreditNote DebitNoteNumber | String | **否** | 亞馬遜生成的借記單編號。 此號碼推薦用於退貨和 COOP 貸方票據。 |
| InvoiceItem/ CreditNote ReturnsReferenceNumber | String | **否** | 標識退貨通知編號的數字。 所有退貨信用票據都必須提供此號碼。 |
| InvoiceItem/ CreditNote GoodsReturnDate | String | **否** | 根據 ISO 8601 定義的日期和時間。 |
| InvoiceItem/ CreditNote RMAId | String | **否** | 退貨授權 ID（如果已生成）。 |
| InvoiceItem/ CreditNote CoopReference | String | **否** | 用於 COOP 協議的 COOP 參考號。 未能提供 COOP 參考編號或借方通知單編號可能會導致拒收貸方通知單。 |
| InvoiceItem/ CreditNote Consignors ReferenceNumber | String | **否** | 發貨人參考編號（VRET 編號）（如果由亞馬遜生成）。 |
| InvoiceItem/ TaxDetails | Aggregate | **否** | 每個行專案的個人稅務詳細資訊。 |
| InvoiceItem/ ChargeDetails | String | **否** | 每個行專案的個人稅務詳細資訊。 |
| InvoiceItem/ AllowanceDetails | Aggregate | **否** | 每個行專案的個人津貼詳細資訊。 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.