Propose an Amazon settlement
amazon_settlementAn Amazon settlement report (the V2 flat file, tab separated, as Seller Central or A2X downloads it) as one entry to the penny: every row on an account by its role (sales, promotions, selling fees, fulfilment, advertising, VAT, reimbursements, reserve, lending), VAT by ship-to country with Amazon as the deemed supplier where it withheld the VAT, the payout Amazon owes for exactly the file's total, in the settlement's own currency. preview=true reads it and stores nothing; without it the entry goes forward as a proposal (one per settlement) for whoever this company lets release. A row of a kind not known yet stops it, named. content_base64: the file's bytes, base64, at most 5 MB. ship_to: optional {order id: country code} from an order report, or order_report_base64: Amazon's order report itself (the ship-to country of each order, and where the goods left from where it says so). Every row is looked up in the catalogue of Amazon's kinds, each sale carries the company's VAT code of its country and rate. typed: the settlement as its summary PDF gives it, for a seller with the PDF only, {settlement (its ID), start, end, paid_on, gross_sales and refunds (with VAT, as the customer paid), fees: [{label, account, net, vat}] as Amazon's VAT invoice states them (a fee refunded is negative), reimbursements, payout}: the same entry on the settlement's last day, sales and refunds net with their output VAT, each fee net with its input VAT, the payout owed by Amazon on the marketplace clearing account, its bank line reconciled where it is on file; without paid_on (a settlement still open at a month end) the entry reverses the next day. Once per settlement. Needs the right propose.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amazon_settlement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typed | No | ||
| reason | No | ||
| company | No | ||
| preview | No | ||
| ship_to | No | ||
| filename | No | ||
| content_base64 | No | ||
| order_report_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||