Export documents
billingo_export_documentsExport documents within a date range to a downloadable file in your chosen accounting or reporting format. Creates the export, waits for completion, and returns the file for analysis.
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.
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. |