Record incoming invoice
createIncomingInvoiceRecords a supplier invoice (supplier, number, dates, net/VAT/gross amounts, category, optional project) in the incoming-invoices list. Does not pay anything.
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": {
"supplier_name": "<supplier_name>"
},
"name": "createIncomingInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes | |
| status | No | Status: open, paid, overdue, disputed | |
| category | No | Category | |
| due_date | No | Due date YYYY-MM-DD | |
| quote_id | No | Linked quote ID | |
| vat_rate | No | VAT rate percent (default 19) | |
| net_amount | No | Net amount | |
| vat_amount | No | VAT amount | |
| image_index | No | Which attached photo is the receipt (0 = first). The photo is stored with the entry automatically. | |
| gross_amount | No | Gross amount | |
| invoice_date | No | Invoice date YYYY-MM-DD | |
| project_name | No | Project name | |
| supplier_name | Yes | Supplier name | |
| invoice_number | No | Invoice number | |
| payment_method | No | Payment method |