Extract Receipt
extract_receiptExtracts a structured Receipt (vendor, ABN-checked, GST-aware line items and totals) from a base64-encoded receipt or invoice image/PDF.
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": {
"document_base64": "<document_base64>",
"mime_type": "<mime_type>"
},
"name": "extract_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime_type | Yes | ||
| document_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| totals | Yes | ||
| vendor | Yes | ||
| line_items | Yes | ||
| schema_version | Yes |