Search invoices
search_invoicesLists supplier invoices from the ERP ordered by due date, with filters for status, supplier, and due date so you can find invoices to review before payment.
Instructions
Lists supplier invoices from the ERP, soonest due first. Filter by status, supplier (id or part of the name) and due date. Use it to find invoices to check before payment.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-50 | |
| offset | No | Number of results to skip | |
| status | No | Only invoices with this status | |
| supplier | No | Supplier id (SUP-001) or part of the supplier name | |
| dueBefore | No | Only invoices due on or before this date (YYYY-MM-DD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | ||
| total | Yes | ||
| offset | Yes |