create_invoice_report
Create an invoice report export in Fakturia for a chosen date range, optionally including regular invoices, corrections, or both; check export results asynchronously.
Instructions
Create a new invoice report export in Fakturia. Generates an export file containing invoice data for the specified date range. Optionally choose whether to include regular invoices, invoice corrections, or both. The report is processed asynchronously; use list_export_results or get_export_result to check the status and retrieve the generated document.
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": "create_invoice_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | End of the date range filter in YYYY-MM-DD format. Only invoices dated on or before this date are included. | |
| dateFrom | No | Start of the date range filter in YYYY-MM-DD format. Only invoices dated on or after this date are included. | |
| includeInvoices | No | When true, regular invoices are included in the report. Defaults to true if omitted. | |
| includeInvoiceCorrections | No | When true, invoice corrections (credit notes applied to invoices) are included in the report. Defaults to true if omitted. |