Export documents
billingo_export_documentsExports Billingo documents for a date range into a downloadable accounting or reporting file, creating the export and returning the finished file without modifying data.
Instructions
Exports documents in a date range to a downloadable file, in one of the accounting/reporting formats Billingo supports (e.g. simple_csv, simple_excel, or a named accounting-system format). Creates the export, waits for it to finish, and returns the file. Nothing is modified. Textual formats (simple_csv, nav_xml, and other XML/JSON-based targets) come back as readable text you can analyse directly — very large exports are truncated with an explicit note, and a narrower date range will return the whole thing. Binary formats (simple_excel, simple_excel_items) come back as a file attachment that some MCP clients cannot display inline.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>",
"format": "<format>"
},
"name": "billingo_export_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format/target accounting system. See the enum for valid values. | |
| block_id | No | Restrict the export to one document block. | |
| end_date | Yes | End of the export range. | |
| query_type | No | Which date field start_date/end_date filter by. Defaults to "invoice_date". | |
| start_date | Yes | Start of the export range. |