orderId 或 shipmentId 作为查询参数之一。如果同时提供了两个参数,则 orderId 优先于 shipmentId。| 速率(请求每秒) | 突发 |
|---|---|
| 1.133 | 25 |
x-amzn-RateLimit-Limit 响应头返回适用于请求操作的使用计划速率限制(如果可用)。上表显示了此操作的默认速率和突发值。业务需求较高的销售合作伙伴可能会看到比此处所示更高的速率和突发值。欲了解更多信息,请参阅 Selling Partner API 的使用计划和速率限制。{
"invoices": [
{
"invoiceNumber": "string",
"invoiceDate": "2019-08-24T14:15:22.123Z",
"referenceNumber": "string",
"remitToParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipFromParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"billToParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipToCountryCode": "string",
"paymentTermsCode": "string",
"invoiceTotal": {
"currencyCode": "string",
"amount": "string"
},
"taxTotals": [
{
"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"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": 0,
"amazonProductIdentifier": "string",
"vendorProductIdentifier": "string",
"invoicedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 0,
"totalWeight": {
"unitOfMeasure": "POUNDS",
"amount": "string"
}
},
"netCost": {
"currencyCode": "string",
"amount": "string"
},
"netCostUnitOfMeasure": "POUNDS",
"purchaseOrderNumber": "string",
"hsnCode": "string",
"creditNoteDetails": {
"referenceInvoiceNumber": "string",
"debitNoteNumber": "string",
"returnsReferenceNumber": "string",
"goodsReturnDate": "2019-08-24T14:15:22.123Z",
"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 'https://sellingpartnerapi-na.amazon.com/delivery/2022-07-01/invoice?orderId=123-1234567-1234567&shipmentId=1234567890123' \
--header 'Content-Type: application/json' \
--data '{
"invoices": [
{
"invoiceNumber": "string",
"invoiceDate": "2019-08-24T14:15:22.123Z",
"referenceNumber": "string",
"remitToParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipFromParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"billToParty": {
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"partyId": "string",
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string"
}
]
},
"shipToCountryCode": "string",
"paymentTermsCode": "string",
"invoiceTotal": {
"currencyCode": "string",
"amount": "string"
},
"taxTotals": [
{
"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"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": 0,
"amazonProductIdentifier": "string",
"vendorProductIdentifier": "string",
"invoicedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 0,
"totalWeight": {
"unitOfMeasure": "POUNDS",
"amount": "string"
}
},
"netCost": {
"currencyCode": "string",
"amount": "string"
},
"netCostUnitOfMeasure": "POUNDS",
"purchaseOrderNumber": "string",
"hsnCode": "string",
"creditNoteDetails": {
"referenceInvoiceNumber": "string",
"debitNoteNumber": "string",
"returnsReferenceNumber": "string",
"goodsReturnDate": "2019-08-24T14:15:22.123Z",
"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": "string"
},
"errors": [
{
"code": "string",
"message": "string",
"details": "string"
}
]
}技术咨询扫码联系作者
SP-API技术咨询,开发者申请,Amazon ERP源码

扫码加入交流群