> ## 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/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.