ERP: List invoices
erp_list_invoicesList the company's invoices from the ERP, newest first, with each one's total, how much has been paid and how much is still OUTSTANDING. Pass outstanding=true for only the unpaid ones — that is the 'who owes us money' question. Filter by direction (incoming/outgoing), docType, status, paymentState, currency or customerId, or search by number/customer. Read-only: issuing, sending, cancelling or marking an invoice paid are financial acts and are not available here.
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": "erp_list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No | Invoice number or customer name. | |
| status | No | ||
| docType | No | ||
| currency | No | ||
| direction | No | incoming | outgoing. | |
| customerId | No | ERP customer GUID. | |
| outstanding | No | Only invoices with money still owed. | |
| paymentState | No |