update_receipt_amounts
Correct a receipt's top-line amounts when the scan read them wrong: total, subtotal, tax amount, tax rate and tip. Each field is optional: omit it to leave it unchanged, pass null to clear it. At least one field is required. taxRateValue is a percentage (19 for 19%, not 0.19). Only the stored amounts change; a later reparse_receipt re-extracts and overwrites them. Use values the user gave or confirmed. Returns the receipt's amounts after the update.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"receiptId": "<receiptId>"
},
"name": "update_receipt_amounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receiptId | Yes | Receipt id to update (from list_receipts output). | |
| taxRateValue | No | Tax rate as a percentage, 0-100 (19 for 19%). Omit to leave unchanged; null clears it. | |
| subtotalValue | No | Subtotal before tax and tip. Omit to leave unchanged; null clears it. | |
| taxAmountValue | No | Tax amount. Omit to leave unchanged; null clears it. | |
| tipAmountValue | No | Tip amount. Omit to leave unchanged; null clears it. | |
| totalAmountValue | No | Receipt total. Omit to leave unchanged; null clears it. |