ingest_invoice
Extract invoice data from an image in the inbox, validate it against Saudi VAT rules, and save it to the database; invalid invoices are stored with a flag.
Instructions
Extract an invoice image and save it to the database. Invalid invoices are saved but flagged.
Args: filename: image file name inside the inbox
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": {
"filename": "<filename>"
},
"name": "ingest_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |