速率(每秒请求数) | 突发 |
---|---|
10 | 10 |
x-amzn-RateLimit-Limit
响应头在可用时返回应用于请求操作的使用计划速率限制。前面的表格表示此操作的默认速率和突发值。业务需求要求更高吞吐量的销售合作伙伴可能会看到比这里显示的更高的速率和突发值。有关更多信息,请参阅 销售合作伙伴API中的使用计划和速率限制。{
"invoices": [
{
"invoiceNumber": "string",
"invoiceDate": "2019-08-24T14:15:22Z",
"referenceNumber": "string",
"remitToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessage": "string"
}
]
},
"shipFromParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessage": "string"
}
]
},
"billToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessage": "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": "GIFTWRAP",
"chargeAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": "string",
"buyerProductIdentifier": "string",
"vendorProductIdentifier": "string",
"invoicedQuantity": {
"amount": 0,
"unitOfMeasure": "string"
},
"netCost": {
"currencyCode": "string",
"amount": "string"
},
"purchaseOrderNumber": "string",
"vendorOrderNumber": "string",
"hsnCode": "string",
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
],
"chargeDetails": [
{
"type": "GIFTWRAP",
"chargeAmount": {
"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/directFulfillment/payments/v1/invoices' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoices": [
{
"invoiceNumber": "string",
"invoiceDate": "2019-08-24T14:15:22Z",
"referenceNumber": "string",
"remitToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessage": "string"
}
]
},
"shipFromParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessage": "string"
}
]
},
"billToParty": {
"partyId": "string",
"address": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "string",
"taxRegistrationAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"postalCode": "string",
"countryCode": "string",
"phone": "string"
},
"taxRegistrationMessage": "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": "GIFTWRAP",
"chargeAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": "string",
"buyerProductIdentifier": "string",
"vendorProductIdentifier": "string",
"invoicedQuantity": {
"amount": 0,
"unitOfMeasure": "string"
},
"netCost": {
"currencyCode": "string",
"amount": "string"
},
"purchaseOrderNumber": "string",
"vendorOrderNumber": "string",
"hsnCode": "string",
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "string",
"taxAmount": {
"currencyCode": "string",
"amount": "string"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
],
"chargeDetails": [
{
"type": "GIFTWRAP",
"chargeAmount": {
"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源码