Add supplier invoices (emails, PDFs, photos)
add_supplier_invoicesAdd supplier invoices to the book: raw emails with PDF attachments, PDFs (text or scanned), photos, or pasted text, up to 25 per call. Each is read, checked against its own printed total, given its job reference, kept with its original, and checked for price changes against earlier invoices from the same supplier. Duplicates are skipped. Returns one result per document: added, needs_check (did not add up, held back), duplicate or failed.
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": {
"invoices": "<invoices>"
},
"name": "add_supplier_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoices | Yes |