list_invoices
Retrieve invoices from WeFact using filters like status, debtor, or date, and limit results per page.
Instructions
List invoices.
Args: status: WeFact invoice status (0=concept, 1=sent, 2=partly paid, 3=paid, 4=expired, 5=summation, 6=collection). Optional filter. debtor_code: Filter to a specific debtor. modified_since: ISO date for incremental sync. limit_pages: Cap on pages (1 = first page only).
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": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| debtor_code | No | ||
| limit_pages | No | ||
| modified_since | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |