invoices_export_csv
Export a filtered invoice list to CSV with UTF-8 BOM for Excel compatibility; supports status, direction, date range, client, and search filters. Max 10,000 invoices.
Instructions
Export a filtered list of invoices to CSV format. Accepts the same filters as invoices_list (status, direction, date range, client, etc.). Returns CSV text with UTF-8 BOM for Excel compatibility. Max 10,000 invoices; use invoices_export_zip for large exports with files.
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": "invoices_export_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort field | |
| order | No | Sort order | |
| dateTo | No | End date (YYYY-MM-DD, issue date) | |
| search | No | Search term for invoice number or client name | |
| status | No | Filter by invoice status | |
| clientId | No | Filter by client UUID | |
| dateFrom | No | Start date (YYYY-MM-DD, issue date) | |
| companyId | No | Company UUID override (uses active company if not set) | |
| direction | No | Filter by direction |