速率(每秒请求数) | 峰值 |
---|---|
10 | 10 |
x-amzn-RateLimit-Limit
响应头返回适用于请求操作的使用计划速率限制。上述表格指示此操作的默认速率和峰值值。业务需求要求更高吞吐量的销售合作伙伴可能会看到比这里列出的更高的速率和峰值值。有关更多信息,请参见销售合作伙伴 API 中的使用计划和速率限制。{
"invoices": [
{
"invoiceType": "Invoice",
"id": "string",
"referenceNumber": "string",
"date": "2019-08-24T14:15:22Z",
"remitToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipFromParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"billToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"paymentTerms": {
"type": "Basic",
"discountPercent": "string",
"discountDueDays": 0,
"netDueDays": 0
},
"invoiceTotal": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
],
"additionalDetails": [
{
"type": "SUR",
"detail": "string",
"languageCode": "string"
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "string",
"chargeAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"allowanceDetails": [
{
"type": "Discount",
"description": "string",
"allowanceAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": 0,
"amazonProductIdentifier": "string",
"vendorProductIdentifier": "string",
"invoicedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 0
},
"netCost": {
"currencyCode": "string",
"amount": "string"
},
"purchaseOrderNumber": "string",
"hsnCode": "string",
"creditNoteDetails": {
"referenceInvoiceNumber": "string",
"debitNoteNumber": "string",
"returnsReferenceNumber": "string",
"goodsReturnDate": "2019-08-24T14:15:22Z",
"rmaId": "string",
"coopReferenceNumber": "string",
"consignorsReferenceNumber": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "string",
"chargeAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"allowanceDetails": [
{
"type": "Discount",
"description": "string",
"allowanceAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
]
}
]
}
]
}
curl --location --request POST 'https://sellingpartnerapi-na.amazon.com/vendor/payments/v1/invoices' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoices": [
{
"invoiceType": "Invoice",
"id": "string",
"referenceNumber": "string",
"date": "2019-08-24T14:15:22Z",
"remitToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipFromParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"billToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalOrZipCode": "string",
"countryCode": "st",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"paymentTerms": {
"type": "Basic",
"discountPercent": "string",
"discountDueDays": 0,
"netDueDays": 0
},
"invoiceTotal": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
],
"additionalDetails": [
{
"type": "SUR",
"detail": "string",
"languageCode": "string"
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "string",
"chargeAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"allowanceDetails": [
{
"type": "Discount",
"description": "string",
"allowanceAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": 0,
"amazonProductIdentifier": "string",
"vendorProductIdentifier": "string",
"invoicedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 0
},
"netCost": {
"currencyCode": "string",
"amount": "string"
},
"purchaseOrderNumber": "string",
"hsnCode": "string",
"creditNoteDetails": {
"referenceInvoiceNumber": "string",
"debitNoteNumber": "string",
"returnsReferenceNumber": "string",
"goodsReturnDate": "2019-08-24T14:15:22Z",
"rmaId": "string",
"coopReferenceNumber": "string",
"consignorsReferenceNumber": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "string",
"chargeAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"allowanceDetails": [
{
"type": "Discount",
"description": "string",
"allowanceAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
]
}
]
}
]
}'
{
"payload": {
"transactionId": "20190904171225-e1275c33-d75b-4bfe-b95c-15a9abfc09cc"
}
}
技术咨询扫码联系作者
SP-API技术咨询,开发者申请,Amazon ERP源码