Reconciliation API v1 model
{
"swagger": "2.0",
"info": {
"title": "Amazon Business API for Payment Reconciliation",
"version": "2021-01-08",
"description": "With the Amazon Business API for Payment Reconciliation, you can build applications that help Amazon Business customers get purchase-related information for reconciling business transactions.",
"license": {
"name": "Amazon Software License",
"url": "https://aws.amazon.com/asl/"
}
},
"externalDocs": {
"description": "Learn more about Amazon Business",
"url": "https://business.amazon.com"
},
"host": "api.business.amazon.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/reconciliation/2021-01-08/transactions": {
"get": {
"description": "Returns a paginated list of business transactions with feed dates that fall within the date range that you specify.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 10 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation. The preceding table indicates the default rate and burst values for this operation. For questions about your usage plan, reach out to your Amazon Business technical contact.",
"operationId": "getTransactions",
"produces": [
"application/json"
],
"parameters": [
{
"name": "feedStartDate",
"in": "query",
"required": true,
"type": "string",
"format": "date-time",
"description": "The lower limit for the search range."
},
{
"name": "feedEndDate",
"required": true,
"in": "query",
"type": "string",
"format": "date-time",
"description": "The upper limit for the search range."
},
{
"name": "nextPageToken",
"in": "query",
"required": false,
"type": "string",
"description": "A page token returned in the response to your previous request. nextPageToken is returned when the number of results exceed the page size. To get the next page of results, include nextPageToken as the only parameter. When no nextPageToken value is returned there are no more pages to return."
}
],
"responses": {
"200": {
"description": "Success.",
"schema": {
"$ref": "#/definitions/TransactionsResponse"
},
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"feedStartDate": {
"value": "2020-07-09T00:00:00"
},
"feedEndDate": {
"value": "2020-08-01T00:00:00"
}
}
},
"response": {
"transactions": [
{
"marketplaceId": "ATVPDKIKX0DER",
"transactionDate": "2020-04-03T16:59:18.768Z",
"feedDate": "2021-05-12T20:44:21.791Z",
"transactionType": "CHARGE",
"transactionId": "1x47pVc03Ffs71cjjCct",
"shipTaxRate": "0.00",
"giftWrapTaxRate": "0.00",
"legalEntityName": "May ProdInv",
"purchasingCustomerGroupName": null,
"invoiceNumber": "JP218PV8HMOI",
"amount": {
"currencyCode": "USD",
"amount": "5.99"
},
"paymentInstrumentType": "PayStation",
"paymentInstrumentLast4Digits": null,
"buyer": {
"id": "amzn1.account.3KXYF4ES2JQB4XSQ3WJXEMTUNF2GINLRMZYGCNTDNB2TGN32NFQR3RAADVPCS56Y226EN5QTGEQSLWPB3G5573CD7JWWZJ3CAXWP53A",
"name": "jared",
"email": "kozjared+b2b@amazon.com"
},
"payer": {
"id": "amzn1.account.3KXYF4ES2JQB4XSQ3WJXEMTUNF2GINLRMZYGCNTDNB2TGN32NFQR3RAADVPCS56Y226EN5QTGEQSLWPB3G5573CD7JWWZJ3CAXWP53A",
"name": "jared",
"email": "kozjared+b2b@amazon.com"
},
"associatedTransactionDetails": [
{
"associatedTransactionId": "ONf39R7NmjIh9247YJ34"
}
],
"transactionLineItems": [
{
"refundReason": null,
"totalAmount": {
"currencyCode": "USD",
"amount": "5.99"
},
"principalAmount": {
"currencyCode": "USD",
"amount": "5.99"
},
"shippingCharge": {
"currencyCode": "USD",
"amount": "2.99"
},
"regulatoryFee": null,
"giftWrappingCharge": null,
"discount": {
"currencyCode": "USD",
"amount": "-2.99"
},
"tax": {
"currencyCode": "USD",
"amount": "0.0"
},
"unitPrice": null,
"taxRate": "0.00",
"orderId": "114-1458190-2465828",
"unspsc": "44121700",
"orderLineItemId": "31208275451321",
"purchaseOrderNumber": "",
"purchaseOrderLineItemId": null,
"asin": "B07T8K1HJG",
"productTitle": "Ticonderoga Neon Pencils, #2 Pre-Sharpened Wood Pencils with Erasers, 18-Count, 13018",
"itemQuantity": 1,
"shipmentId": "DhG3L9W23",
"shipmentDate": "2020-04-03T16:59:21Z",
"merchantLegalName": "Amazon.com Services LLC",
"budgetId": null,
"businessOrderInfo": {
"GL code": "535-office",
"COVID-19 Related?": "No",
"Cost center": ""
}
}
]
}
],
"nextPageToken": null
}
}
],
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"400": {
"description": "Request has missing or invalid parameters and cannot be parsed.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"feedStartDate": {
"value": "incorrectFormatDate"
},
"feedEndDate": {
"value": "2020-08-01T00:00:00"
}
}
},
"response": {
"errors": [
{
"code": "INVALID_REQUEST_PARAMETER",
"message": "Input date [incorrectFormatDate] is not in the expected ISO8601 format."
}
]
}
}
],
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"401": {
"description": "The request's Authorization header is not formatted correctly or does not contain a valid token.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"404": {
"description": "The resource specified does not exist.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"429": {
"description": "The frequency of requests was greater than allowed.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"500": {
"description": "An unexpected condition occurred that prevented the server from fulfilling the request.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"504": {
"description": "A gateway timeout occurred.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
}
}
}
},
"/reconciliation/2021-01-08/invoices": {
"post": {
"description": "Returns the invoice details for the order line items provided in the request.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 10 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation. The preceding table indicates the default rate and burst values for this operation. For questions about your usage plan, reach out to your Amazon Business technical contact.",
"operationId": "getInvoiceDetailsByOrderLineItems",
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "invoiceDetailsByOrderLineItemsRequest",
"required": true,
"schema": {
"$ref": "#/definitions/InvoiceDetailsByOrderLineItemsRequest"
}
}
],
"responses": {
"200": {
"description": "Success.",
"schema": {
"$ref": "#/definitions/InvoiceDetailsByOrderLineItemsResponse"
},
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"body": {
"value": {
"orderLineItems": [
{
"orderId": "503-0807783-5846230",
"orderLineItemId": "6172301145805",
"shipmentId": "Dps13nXXc"
},
{
"orderId": "250-9059274-9386231",
"orderLineItemId": "6172160940605",
"shipmentId": "DZms0yvhc"
}
]
}
}
}
},
"response": {
"invoiceDetailsByOrderLineItems": [
{
"orderLineItem": {
"orderId": "250-9059274-9386231",
"orderLineItemId": "6172160940605",
"shipmentId": "DZms0yvhc"
},
"invoiceDetails": [
{
"invoiceNumber": "JP218PV8HMOI",
"invoiceDate": "2022-03-30T15:30:22.077Z",
"consolidatedInvoiceDetails" : {
"invoiceNumber" : "11XS-123S-XFA1"
},
"invoiceType": "STANDARD",
"associatedInvoiceNumber": null,
"associatedInvoiceDate": null,
"invoiceIssuer": {
"name": "Mizuta",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "Mizuta",
"registrationNumber": null
},
"orderDate": "2022-03-29T18:46:51Z",
"currencyCode": "JPY",
"invoiceTotal": "1751.0",
"tax": [],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 1,
"asin": "4863893469",
"title": "ハリー・ポッターと呪いの子 第一部、第二部 特別リハーサル版 (ハリー・ポッターシリーズ)",
"unitTaxInclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxExclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "159.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "1751.0"
},
"discount": null,
"apportionment": [],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "61.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "61.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "0.0"
}
},
"discount": {
"currencyCode": "JPY",
"amount": "-61.0"
},
"apportionment": []
}
]
},
{
"invoiceNumber": "JP22E0VEIAJGKI",
"invoiceDate": "2022-03-30T15:30:22.077Z",
"invoiceType": "STANDARD",
"associatedInvoiceNumber": null,
"associatedInvoiceDate": null,
"invoiceIssuer": {
"name": "アマゾンジャパン合同会社",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "アマゾンジャパン合同会社",
"registrationNumber": null
},
"orderDate": "2022-03-29T18:46:51Z",
"currencyCode": "JPY",
"invoiceTotal": "3267.0",
"tax": [],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 5,
"asin": "B09DXP8C3Q",
"title": "ショウワノート PUIPUIモルカー 文具パック 942865M02",
"unitTaxInclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxExclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "99.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "3267.0"
},
"discount": null,
"apportionment": [],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "182.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "182.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "0.0"
}
},
"discount": {
"currencyCode": "JPY",
"amount": "-182.0"
},
"apportionment": []
}
]
},
{
"invoiceNumber": "JP21UV8HMOC",
"invoiceDate": "2022-04-09T04:52:05.942Z",
"invoiceType": "CREDIT_MEMO",
"associatedInvoiceNumber": "JP218PV8HMOI",
"associatedInvoiceDate": "2022-03-30T15:30:22.077Z",
"invoiceIssuer": {
"name": "Mizuta",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "Mizuta",
"registrationNumber": null
},
"orderDate": "2022-03-29T18:46:51Z",
"currencyCode": "JPY",
"invoiceTotal": "1751.00",
"tax": [
{
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "1751.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "1592.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "159.0"
}
}
],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 1,
"asin": "4863893469",
"title": "ハリー・ポッターと呪いの子 第一部、第二部 特別リハーサル版 (ハリー・ポッターシリーズ)",
"unitTaxInclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxExclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "159.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "1818.00"
},
"discount": null,
"apportionment": [
{
"orderLineItemId": "6172160940605",
"lineNumber": 1,
"units": 1,
"unitPrice": {
"currencyCode": "JPY",
"amount": "1592.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "159.0"
}
}
],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "73.00"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "61.00"
},
"amount": {
"currencyCode": "JPY",
"amount": "12.00"
}
},
"discount": {
"currencyCode": "JPY",
"amount": "-67.00"
},
"apportionment": [
{
"taxExclusiveFee": {
"currencyCode": "JPY",
"amount": "61.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "6.0"
}
}
]
}
]
},
{
"invoiceNumber": "JP2SRUXAJGKC",
"invoiceDate": "2022-04-09T04:52:05.942Z",
"invoiceType": "CREDIT_MEMO",
"associatedInvoiceNumber": "JP22E0VEIAJGKI",
"associatedInvoiceDate": "2022-03-30T15:30:22.077Z",
"invoiceIssuer": {
"name": "アマゾンジャパン合同会社",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "アマゾンジャパン合同会社",
"registrationNumber": null
},
"orderDate": "2022-03-29T18:46:51Z",
"currencyCode": "JPY",
"invoiceTotal": "2178.00",
"tax": [
{
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "2178.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "1980.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "198.0"
}
}
],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 2,
"asin": "B09DXP8C3Q",
"title": "ショウワノート PUIPUIモルカー 文具パック 942865M02",
"unitTaxInclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxExclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "99.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "2311.00"
},
"discount": null,
"apportionment": [
{
"orderLineItemId": "6172160940645",
"lineNumber": 1,
"units": 2,
"unitPrice": {
"currencyCode": "JPY",
"amount": "990.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "99.0"
}
}
],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "145.00"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "121.00"
},
"amount": {
"currencyCode": "JPY",
"amount": "24.00"
}
},
"discount": {
"currencyCode": "JPY",
"amount": "-133.00"
},
"apportionment": [
{
"taxExclusiveFee": {
"currencyCode": "JPY",
"amount": "121.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "12.0"
}
}
]
}
]
},
{
"invoiceNumber": "JP2SPSMAJGKC",
"invoiceDate": "2022-04-09T01:43:15.233Z",
"invoiceType": "CREDIT_MEMO",
"associatedInvoiceNumber": "JP22E0VEIAJGKI",
"associatedInvoiceDate": "2022-03-30T15:30:22.077Z",
"invoiceIssuer": {
"name": "アマゾンジャパン合同会社",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "アマゾンジャパン合同会社",
"registrationNumber": null
},
"orderDate": "2022-03-29T18:46:51Z",
"currencyCode": "JPY",
"invoiceTotal": "1089.00",
"tax": [
{
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "1089.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "990.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "99.0"
}
}
],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 1,
"asin": "B09DXP8C3Q",
"title": "ショウワノート PUIPUIモルカー 文具パック 942865M02",
"unitTaxInclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxExclusivePrice": {
"currencyCode": "",
"amount": "0"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "99.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "1156.00"
},
"discount": null,
"apportionment": [
{
"orderLineItemId": "6172160940645",
"lineNumber": 1,
"units": 1,
"unitPrice": {
"currencyCode": "JPY",
"amount": "990.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "99.0"
}
}
],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "73.00"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "61.00"
},
"amount": {
"currencyCode": "JPY",
"amount": "12.00"
}
},
"discount": {
"currencyCode": "JPY",
"amount": "-67.00"
},
"apportionment": [
{
"taxExclusiveFee": {
"currencyCode": "JPY",
"amount": "61.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "6.0"
}
}
]
}
]
}
]
},
{
"orderLineItem": {
"orderId": "503-0807783-5846230",
"orderLineItemId": "6172301145805",
"shipmentId": "Dps13nXXc"
},
"invoiceDetails": [
{
"invoiceNumber": "JP25EF9G0FUI",
"invoiceDate": "2022-04-01T08:48:53.158Z",
"invoiceType": "STANDARD",
"associatedInvoiceNumber": null,
"associatedInvoiceDate": null,
"invoiceIssuer": {
"name": "Shenzhen Sepo Supply Chain Co., LTD",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "Shenzhen Sepo Supply Chain Co., LTD",
"registrationNumber": null
},
"orderDate": "2022-03-29T19:19:55Z",
"currencyCode": "JPY",
"invoiceTotal": "1409.0",
"tax": [
{
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "1409.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "1281.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "128.0"
}
}
],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 1,
"asin": "B09D2J8ZMD",
"title": "60個 風船 バルーン ゴム風船 誕生日 飾り付け 吹雪入れ風船 誕生日会 バースデー 卒業 開店 記念日 結婚式 お祝",
"unitTaxInclusivePrice": {
"currencyCode": "JPY",
"amount": "999.0"
},
"unitTaxExclusivePrice": {
"currencyCode": "JPY",
"amount": "908"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "91.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "999.0"
},
"discount": null,
"apportionment": [
{
"orderLineItemId": "6172301145805",
"lineNumber": 1,
"units": 1,
"unitPrice": {
"currencyCode": "JPY",
"amount": "908.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "91.0"
}
}
],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "410.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "373.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "37.0"
}
},
"discount": null,
"apportionment": [
{
"taxExclusiveFee": {
"currencyCode": "JPY",
"amount": "373.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "37.0"
}
}
]
}
]
},
{
"invoiceNumber": "JP22C9G0FUC",
"invoiceDate": "2022-04-09T03:38:16.262Z",
"invoiceType": "CREDIT_MEMO",
"associatedInvoiceNumber": "JP25EF9G0FUI",
"associatedInvoiceDate": "2022-04-01T08:48:53.158Z",
"invoiceIssuer": {
"name": "Shenzhen Sepo Supply Chain Co., LTD",
"registrationNumber": null
},
"billToAddress": {
"fullName": "test return",
"phoneNumber": "81120899543",
"companyName": null,
"addressLine1": "Arco Tower Annex, 1 Chome-8-1 Shimomeguro, Meguro City, Toky",
"addressLine2": null,
"city": null,
"stateOrRegion": "Yamanashi-ken",
"postalCode": "153-0064",
"countryCode": "JP"
},
"sellerInformation": {
"name": "Shenzhen Sepo Supply Chain Co., LTD",
"registrationNumber": null
},
"orderDate": "2022-03-29T19:19:55Z",
"currencyCode": "JPY",
"invoiceTotal": "1409.00",
"tax": [
{
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "1409.0"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "1281.0"
},
"amount": {
"currencyCode": "JPY",
"amount": "128.0"
}
}
],
"transactionDataItems": [
{
"taxRate": "0.1",
"unit": 1,
"asin": "B09D2J8ZMD",
"title": "60個 風船 バルーン ゴム風船 誕生日 飾り付け 吹雪入れ風船 誕生日会 バースデー 卒業 開店 記念日 結婚式 お祝",
"unitTaxInclusivePrice": {
"currencyCode": "JPY",
"amount": "999.0"
},
"unitTaxExclusivePrice": {
"currencyCode": "JPY",
"amount": "908"
},
"unitTaxAmount": {
"currencyCode": "JPY",
"amount": "91.0"
},
"totalAmount": {
"currencyCode": "JPY",
"amount": "1409.00"
},
"discount": null,
"apportionment": [
{
"orderLineItemId": "6172301145805",
"lineNumber": 1,
"units": 1,
"unitPrice": {
"currencyCode": "JPY",
"amount": "908.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "91.0"
}
}
],
"fees": []
}
],
"fees": [
{
"feeType": "SHIPPING",
"tax": {
"rate": "0.1",
"inclusiveTotal": {
"currencyCode": "JPY",
"amount": "410.00"
},
"exclusiveTotal": {
"currencyCode": "JPY",
"amount": "373.00"
},
"amount": {
"currencyCode": "JPY",
"amount": "37.00"
}
},
"discount": null,
"apportionment": [
{
"taxExclusiveFee": {
"currencyCode": "JPY",
"amount": "373.0"
},
"taxAmount": {
"currencyCode": "JPY",
"amount": "37.0"
}
}
]
}
]
}
]
}
]
}
}
],
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"400": {
"description": "The server could not process an API request due to missing or invalid parameters. Errors may include mistyping the API endpoint, a header name or value, or a query parameter.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
}
},
"response": {
"errors": [
{
"code": "INVALID_REQUEST_PARAMETER",
"message": "Missing required request parameters."
}
]
}
}
],
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"401": {
"description": "The request's Authorization header is not formatted correctly or does not contain a valid token.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"404": {
"description": "The specified resource does not exist.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"429": {
"description": "The request rate exceeded the allowed limit.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"500": {
"description": "The server encountered an unexpected condition that prevented it from fulfilling the request.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
},
"504": {
"description": "A gateway timeout occurred.",
"schema": {
"$ref": "#/definitions/ErrorList"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"description": "The allowed rate limit (requests per second) for this operation.",
"type": "string"
},
"x-amzn-requestId": {
"description": "Unique request reference identifier.",
"type": "string"
}
}
}
}
}
}
},
"definitions": {
"Money": {
"description": "The monetary value.",
"type": "object",
"required": [
"currencyCode",
"amount"
],
"properties": {
"currencyCode": {
"type": "string",
"description": "The three-digit currency code, in ISO 4217 format."
},
"amount": {
"description": "The currency amount.",
"type": "string"
}
}
},
"TransactionsResponse": {
"description": "The response schema for the getTransactions operation.",
"type": "object",
"required": [
"transactions",
"nextPageToken"
],
"properties": {
"transactions": {
"description": "A list of transactions with feed dates that fall within the specified date range.",
"type": "array",
"items": {
"$ref": "#/definitions/Transaction"
}
},
"nextPageToken": {
"description": "A page token that is returned when the results of the call exceed the page size. To get another page of results, call the operation again, passing in this value with the nextPageToken parameter.",
"type": "string"
}
}
},
"Customer": {
"description": "A customer with a role in a transaction.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"description": "A unique customer identifier.",
"type": "string"
},
"name": {
"description": "The customer name.",
"type": "string"
},
"email": {
"description": "The customer email address.",
"type": "string"
}
}
},
"Transaction": {
"description": "A business transaction.",
"type": "object",
"properties": {
"marketplaceId": {
"description": "The identifier of the marketplace where the item was bought.",
"type": "string"
},
"transactionDate": {
"description": "The date when the transaction occurred.",
"format": "date-time",
"type": "string"
},
"feedDate": {
"description": "The date after which you can successfully query the transaction with the getTransactions operation.",
"format": "date-time",
"type": "string"
},
"transactionType": {
"description": "The type of transaction.",
"type": "string",
"enum": [
"CHARGE",
"REFUND",
"OVERREFUND"
],
"x-docgen-enum-table-extension": [
{
"value": "CHARGE",
"description": "Positive transaction amount."
},
{
"value": "REFUND",
"description": "Negative transaction amount."
},
{
"value": "OVERREFUND",
"description": "Additional refund."
}
]
},
"transactionId": {
"description": "The identifier for this transaction.",
"type": "string"
},
"shipTaxRate": {
"description": "The shipping tax rate for a transaction.",
"type": "string"
},
"giftWrapTaxRate": {
"description": "The gift wrap tax rate for a transaction.",
"type": "string"
},
"legalEntityName": {
"description": "The name of the Business Legal Entity on behalf of which the order was placed.",
"type": "string"
},
"purchasingCustomerGroupName": {
"description": "The name of the department under the Legal Entity on behalf of which the order was placed",
"type": "string"
},
"amount": {
"description": "The amount charged for a specific transaction. If the amount is not settled yet, this is the amount for which Amazon received an authorization.",
"$ref": "#/definitions/Money"
},
"paymentInstrumentType": {
"description": "The type of payment instrument, such as a credit card, pay by invoice, a bank account, a reward account, etc.",
"type": "string"
},
"paymentInstrumentLast4Digits": {
"description": "The last 4 digits of the payment instrument number.",
"type": "string"
},
"buyer": {
"description": "The customer account on behalf of which the order was placed.",
"$ref": "#/definitions/Customer"
},
"payer": {
"description": "The customer account that owns the payment instrument with which the order was paid.",
"$ref": "#/definitions/Customer"
},
"associatedTransactionDetails": {
"type": "array",
"description": "A list of transaction details that are associated with this transaction. For example, if a payment is made with three different transactions (each using a different payment instrument), this list will contain associatedTransactionId values for the two other transactions associated with this transaction.",
"items": {
"$ref": "#/definitions/AssociatedTransactionDetail"
}
},
"transactionLineItems": {
"type": "array",
"description": "A list of transaction line items.",
"items": {
"$ref": "#/definitions/TransactionLineItem"
}
}
}
},
"TransactionLineItem": {
"description": "A transaction line item.",
"type": "object",
"properties": {
"refundReason": {
"description": "The reason why a refund was issued.",
"type": "string"
},
"totalAmount": {
"description": "The total amount charged for the item. This is the principalAmount plus or minus any additional charges or credits.",
"$ref": "#/definitions/Money"
},
"principalAmount": {
"description": "The amount charged for the item, before applying any additional charges or credits.",
"$ref": "#/definitions/Money"
},
"shippingCharge": {
"description": "The shipping charge for the item.",
"$ref": "#/definitions/Money"
},
"regulatoryFee": {
"description": "The regulatory fee charged on the item.",
"$ref": "#/definitions/Money"
},
"giftWrappingCharge": {
"description": "The gift wrapping charge for the item.",
"$ref": "#/definitions/Money"
},
"discount": {
"description": "The discount applied to the item.",
"$ref": "#/definitions/Money"
},
"tax": {
"description": "The tax charged on the item.",
"$ref": "#/definitions/Money"
},
"unitPrice": {
"description": "The price per unit of the item.",
"$ref": "#/definitions/Money"
},
"taxRate": {
"description": "The tax rate associated with item.",
"type": "string"
},
"orderId": {
"description": "The Amazon order identifier associated with the item.",
"type": "string"
},
"unspsc": {
"description": "United Nations Standard Products and Services Code for the item.",
"type": "string"
},
"orderLineItemId": {
"description": "The order line item identifier for the item. This identifier is created by Amazon",
"type": "string"
},
"purchaseOrderNumber": {
"description": "The purchase order number associated with the item of a PPI order. This number is created by the buyer.",
"type": "string"
},
"purchaseOrderLineItemId": {
"description": "The purchase order line item identifier associated with the item. This identifier is created by the buyer.",
"type": "string"
},
"asin": {
"description": "The Amazon Standard Identification Number (ASIN) for the item.",
"type": "string"
},
"productTitle": {
"description": "The title of the item.",
"type": "string"
},
"itemQuantity": {
"description": "The item quantity relevant to this transaction.",
"type": "integer"
},
"shipmentId": {
"description": "The identifier of the shipment associated with the item. This identifier is created by Amazon.",
"type": "string"
},
"shipmentDate": {
"description": "The shipment date associated with the item.",
"format": "date-time",
"type": "string"
},
"merchantLegalName": {
"description": "The legal name of the seller.",
"type": "string"
},
"budgetId": {
"description": "The budget identifier associated with the item.",
"type": "string"
},
"businessOrderInfo": {
"type": "object",
"description": "Additional order information configured by administrators that requisitioners must enter at checkout.",
"additionalProperties": {
"type": "string"
}
}
}
},
"AssociatedTransactionDetail": {
"description": "A transaction detail that is associated with this transaction.",
"type": "object",
"required": [
"associatedTransactionId"
],
"properties": {
"associatedTransactionId": {
"description": "The identifier for an associated transaction.",
"type": "string"
}
}
},
"InvoiceDetailsByOrderLineItemsRequest": {
"description": "The request schema for the getInvoiceDetailsByOrderLineItems operation.",
"type": "object",
"required": [
"orderLineItems"
],
"properties": {
"orderLineItems": {
"description": "List of order line items for the requested invoice details. The maximum number of order line items listed in each call is 25.",
"type": "array",
"items": {
"$ref": "#/definitions/OrderLineItem"
}
}
}
},
"InvoiceDetailsByOrderLineItemsResponse": {
"description": "The response schema for the getInvoiceDetailsByOrderLineItems operation.",
"type": "object",
"required": [
"invoiceDetailsByOrderLineItems"
],
"properties": {
"invoiceDetailsByOrderLineItems": {
"description": "Lists the invoices that includes order line item and invoice details.",
"type": "array",
"items": {
"$ref": "#/definitions/InvoiceDetailsOfOrderLineItem"
}
}
}
},
"InvoiceDetailsOfOrderLineItem": {
"description": "Invoice details with the corresponding order line item.",
"type": "object",
"required": [
"orderLineItem",
"invoiceDetails"
],
"properties": {
"orderLineItem": {
"description": "The Order line item to which the invoice details are associated to.",
"$ref": "#/definitions/OrderLineItem"
},
"invoiceDetails": {
"description": "List of invoice detail for all invoices related to the order line item.",
"type": "array",
"items": {
"$ref": "#/definitions/InvoiceDetail"
}
}
}
},
"InvoiceDetail": {
"description": "The detailed information of an invoice.",
"type": "object",
"required": [
"invoiceNumber",
"invoiceDate"
],
"properties": {
"invoiceNumber": {
"description": "The ID number of the Invoice or Credit Memo.",
"type": "string"
},
"invoiceDate": {
"description": "The date the Invoice or Credit Memo was issued.",
"type": "string",
"format": "date-time"
},
"consolidatedInvoiceDetails": {
"description": "This contains the consolidated invoice details if the order is enabled for purchase/periodic consolidation.",
"$ref": "#/definitions/ConsolidatedInvoiceDetails"
},
"invoiceType": {
"description": "Indicate that the data returned is Invoice or Credit Memo. Possible values: STANDARD (for Invoice) and CREDIT_MEMO (for Credit Memo). Available for JP region only.",
"$ref": "#/definitions/InvoiceType"
},
"associatedInvoiceNumber": {
"description": "The invoice number associated with the Credit Memo. This field shows value if the invoiceType is CREDIT_MEMO. For STANDARD invoice, this field shows \"null\". Available for JP region only.",
"type": "string"
},
"associatedInvoiceDate": {
"description": "The invoice date associated with the Credit Memo. This field shows value if the invoiceType is CREDIT_MEMO. For STANDARD invoice, this field shows \"null\". Available for JP region only.",
"type": "string",
"format": "date-time"
},
"invoiceIssuer": {
"description": "The details associated with the issuer of the invoice. Available for JP region only.",
"$ref": "#/definitions/InvoiceIssuerDetail"
},
"billToAddress": {
"description": "The address information to which the Invoice or Credit Memo was issued. Available for JP region only.",
"$ref": "#/definitions/PhysicalAddress"
},
"sellerInformation": {
"description": "The details associated with the original seller of the products. Available for JP region only.",
"$ref": "#/definitions/MerchantDetail"
},
"orderDate": {
"description": "The date and time the order was placed. The date follows the ISO 8601 format, yyyy-MM-ddThh:mm:ssZ. Available for JP region only.",
"format": "date-time",
"type": "string"
},
"currencyCode": {
"description": "The three-digit currency code, in ISO 4217 format. Available for JP region only.",
"type": "string"
},
"invoiceTotal": {
"description": "Sum of all charges specified in the invoice, including products, applicable taxes, and any additional fees. Available for JP region only.",
"type": "string"
},
"tax": {
"description": "The tax amount and rate the buyer pays for the product and services. Available for JP region only.",
"type": "array",
"items": {
"$ref": "#/definitions/TaxDetail"
}
},
"transactionDataItems": {
"description": "The invoice line item details including ASIN, price, unit, discount, and fee. Available for JP region only.",
"type": "array",
"items": {
"$ref": "#/definitions/TransactionDataItem"
}
},
"fees": {
"description": "The invoice level fee the buyer pays for the product and services. Available for JP region only.",
"type": "array",
"items": {
"$ref": "#/definitions/InvoiceLevelFeeDetail"
}
}
}
},
"ConsolidatedInvoiceDetails" : {
"description": "This contains the consolidated invoice details if the order is enabled for purchase/periodic consolidation.",
"type": "object",
"required": [
"invoiceNumber"
],
"properties": {
"invoiceNumber": {
"description": "The consolidation invoice ID for the order if document is ready. If not, then it be \"Pending\"",
"type": "string"
}
}
},
"TransactionDataItem": {
"description": "Contains the required information associated with a specific product or service.",
"type": "object",
"required": [
"taxRate",
"unit",
"asin",
"title",
"unitTaxInclusivePrice",
"unitTaxExclusivePrice",
"unitTaxAmount",
"totalAmount",
"discount",
"apportionment",
"fees"
],
"properties": {
"taxRate": {
"description": "The tax percentage applied on products and services.",
"type": "string"
},
"unit": {
"description": "The number of units ordered.",
"type": "integer"
},
"asin": {
"description": "The Amazon Standard Identification Number (ASIN) for the item.",
"type": "string"
},
"title": {
"description": "The title of the item.",
"type": "string"
},
"unitTaxInclusivePrice": {
"description": "The unit price of the product including taxes.",
"$ref": "#/definitions/Money"
},
"unitTaxExclusivePrice": {
"description": "The unit price of the product excluding taxes.",
"$ref": "#/definitions/Money"
},
"unitTaxAmount": {
"description": "A taxable amount for each unit of a product.",
"$ref": "#/definitions/Money"
},
"totalAmount": {
"description": "Includes the price of all units of the product, discounts, and the total tax amounts.",
"$ref": "#/definitions/Money"
},
"discount": {
"description": "The discount amount or rate applied on products and services.",
"$ref": "#/definitions/Money"
},
"apportionment": {
"description": "Contains amount distribution data associated with each line item.",
"type": "array",
"items": {
"$ref": "#/definitions/LineItemApportionmentDetail"
}
},
"fees": {
"description": "The fees associated with line item in the invoice.",
"type": "array",
"items": {
"$ref": "#/definitions/LineItemLevelFeeDetail"
}
}
}
},
"InvoiceType": {
"description": "The type of invoice, STANDARD or CREDIT_MEMO.",
"type": "string",
"enum": [
"STANDARD",
"CREDIT_MEMO"
],
"x-docgen-enum-table-extension": [
{
"value": "STANDARD",
"description": "A standard invoice is a simple document that is used for billing products or services provided."
},
{
"value": "CREDIT_MEMO",
"description": "A credit memo invoice is a simple document that is used for refunds on products or services provided."
}
]
},
"InvoiceIssuerDetail": {
"description": "Provides details associated with the issuer of the invoice.",
"type": "object",
"required": [
"name",
"registrationNumber"
],
"properties": {
"name": {
"description": "The name of the issuer.",
"type": "string"
},
"registrationNumber": {
"description": "The tax registration number associated with the issuer of the invoice. For Japan, this is the Japan Consumption Tax number (JCT#).",
"type": "string"
}
}
},
"MerchantDetail": {
"description": "Provides details associated with the merchant selling the products.",
"type": "object",
"required": [
"name",
"registrationNumber"
],
"properties": {
"name": {
"description": "The name of the seller.",
"type": "string"
},
"registrationNumber": {
"description": "The tax registration number (JCT#).",
"type": "string"
}
}
},
"TaxDetail": {
"description": "Details the information to show the total tax rate.",
"type": "object",
"required": [
"rate",
"exclusiveTotal",
"inclusiveTotal",
"amount"
],
"properties": {
"rate": {
"description": "The tax rate.",
"type": "string"
},
"inclusiveTotal": {
"description": "The tax-inclusive total against the associated tax rate.",
"$ref": "#/definitions/Money"
},
"exclusiveTotal": {
"description": "The tax-exclusive total against the associated tax rate.",
"$ref": "#/definitions/Money"
},
"amount": {
"description": "The tax total amount against the associated tax rate.",
"$ref": "#/definitions/Money"
}
}
},
"LineItemLevelFeeDetail": {
"description": "The fee details associated with an order line item.",
"type": "object",
"required": [
"feeType",
"tax",
"discount",
"apportionment"
],
"properties": {
"feeType": {
"description": "The type of fee that was calculated and added to the total cost. The type of fees include shipping, gift wrapping, and cash on delivery.",
"$ref": "#/definitions/FeeType"
},
"tax": {
"description": "The tax amount added to the total cost.",
"$ref": "#/definitions/TaxDetail"
},
"discount": {
"description": "The discount amount or rate deducted from the total cost.",
"$ref": "#/definitions/Money"
},
"apportionment": {
"description": "Provides details about the tax rate and amount associated with the type of fee at the line item level.",
"type": "array",
"items": {
"$ref": "#/definitions/LineItemLevelFeeApportionmentDetail"
}
}
}
},
"InvoiceLevelFeeDetail": {
"description": "The fee details associated with an invoice.",
"type": "object",
"required": [
"feeType",
"tax",
"discount",
"apportionment"
],
"properties": {
"feeType": {
"description": "The type of fee that was calculated and added to the total cost. The type of fees include shipping, gift wrapping, and cash on delivery.",
"$ref": "#/definitions/FeeType"
},
"tax": {
"description": "The tax amount added to the total cost.",
"$ref": "#/definitions/TaxDetail"
},
"discount": {
"description": "The discount amount or rate deducted from the total cost.",
"$ref": "#/definitions/Money"
},
"apportionment": {
"description": "The distribution of tax data across multiple tax rate associated with the fee.",
"type": "array",
"items": {
"$ref": "#/definitions/InvoiceLevelFeeApportionmentDetail"
}
}
}
},
"FeeType": {
"description": "Additional fees that Amazon Business charge based on the customer's selection.",
"type": "string",
"enum": [
"SHIPPING",
"GIFTWRAPPING",
"OTHER"
],
"x-docgen-enum-table-extension": [
{
"value": "SHIPPING",
"description": "The cost of shipping an item or order."
},
{
"value": "GIFTWRAPPING",
"description": "The cost of gift wrapping an item or order."
},
{
"value": "OTHER",
"description": "The cost of other fee for an item or order."
}
]
},
"LineItemLevelFeeApportionmentDetail" : {
"description": "Details the tax rate and amount associated with the type of fee at line item level.",
"type": "object",
"required": [
"associatedOrderLineItemId",
"units",
"unitTaxExclusiveFee",
"unitTaxAmount"
],
"properties": {
"associatedOrderLineItemId": {
"description": "The order line item identifier for the item. This identifier is created by Amazon Business.",
"type": "string"
},
"units": {
"description": "The quantity of the product with similar fee.",
"type": "integer"
},
"unitTaxExclusiveFee": {
"description": "A tax exclusive fee associated with the fee for consideration.",
"$ref": "#/definitions/Money"
},
"unitTaxAmount": {
"description": "The tax amount associated with the fee.",
"$ref": "#/definitions/Money"
}
}
},
"InvoiceLevelFeeApportionmentDetail" : {
"description": "Details the tax rate and amount associated with the type of fee at invoice level.",
"type": "object",
"required": [
"taxExclusiveFee",
"taxAmount"
],
"properties": {
"taxExclusiveFee": {
"description": "A tax exclusive fee associated with the fee for consideration.",
"$ref": "#/definitions/Money"
},
"taxAmount": {
"description": "The tax amount associated with the fee.",
"$ref": "#/definitions/Money"
}
}
},
"LineItemApportionmentDetail": {
"description": "Details the tax rate and amount associated with the line item.",
"type": "object",
"required": [
"orderLineItemId",
"units",
"unitPrice",
"lineNumber",
"taxAmount"
],
"properties": {
"orderLineItemId": {
"description": "The order line item identifier for the item. This identifier is created by Amazon Business.",
"type": "string"
},
"lineNumber": {
"description": "Sequence number in apportionment data.",
"type": "integer"
},
"units": {
"description": "The quantity of the product with similar unit price.",
"type": "integer"
},
"unitPrice": {
"description": "The price of a unit of the product.",
"$ref": "#/definitions/Money"
},
"taxAmount": {
"description": "The total tax amount for the product.",
"$ref": "#/definitions/Money"
}
}
},
"OrderLineItem": {
"description": "The identifiers for the order line item.",
"type": "object",
"required": [
"orderId",
"orderLineItemId",
"shipmentId"
],
"properties": {
"orderId": {
"description": "Amazon-generated order identifier associated with the orderLineItem.",
"type": "string"
},
"orderLineItemId": {
"description": "Amazon-generated item identifier associated with the orderLineItem..",
"type": "string"
},
"shipmentId": {
"description": "Amazon-generated shipment ID associated with the orderLineItem.",
"type": "string"
}
}
},
"PhysicalAddress" : {
"type" : "object",
"required" : [ "addressLine1", "city", "countryCode", "fullName", "phoneNumber", "postalCode", "stateOrRegion" ],
"properties" : {
"fullName" : {
"type" : "string",
"description" : "The full name of the customer associated with the address.",
"minLength" : 1
},
"phoneNumber" : {
"type" : "string",
"description" : "The phone number of the customer associated with the address.",
"minLength" : 1
},
"companyName" : {
"type" : "string",
"description" : "The company name of the customer associated with the address."
},
"addressLine1" : {
"type" : "string",
"description" : "The primary address of the customer with the street name, building number, city, state, and postal code.",
"minLength" : 1
},
"addressLine2" : {
"type" : "string",
"description" : "The secondary address of the customer with the street name, building number, city, state, and postal code."
},
"city" : {
"type" : "string",
"description" : "The city associated with the customer's address.",
"minLength" : 1
},
"stateOrRegion" : {
"type" : "string",
"description" : "The state associated with the customer's address.",
"minLength" : 1
},
"postalCode" : {
"type" : "string",
"description" : "The postal code associated with the customer's address.",
"minLength" : 1
},
"countryCode" : {
"type" : "string",
"description" : "The country code associated with the customer's address in ISO 3166 alpha-2 (2-char) format.",
"pattern" : "^[A-Z]{2}$"
}
},
"description" : "A detailed physical address."
},
"ErrorList": {
"type": "object",
"description": "A list of error responses for an unsuccessful request.",
"required": [
"errors"
],
"properties": {
"errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
}
}
},
"Error": {
"description": "Error response returned when the request is unsuccessful.",
"properties": {
"code": {
"description": "An error code that identifies the type of error that occurred.",
"type": "string"
},
"message": {
"description": "A message that describes the error condition.",
"type": "string"
},
"details": {
"description": "Additional details that can help the caller understand or fix the issue.",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
}
}
Updated about 12 hours ago
Did this page help you?