invoices_export_zip
Export up to 100 invoices to a ZIP archive with PDFs, XMLs, and a CSV summary. Processed asynchronously, returns an exportId and statusUrl for progress tracking.
Instructions
Export a set of invoices (by UUID list) to a ZIP archive containing PDFs, XMLs, and a CSV summary. Processed asynchronously — returns an exportId and statusUrl. Poll the statusUrl or wait for webhook. Requires Pro plan. Max 100 invoices per export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company UUID override (uses active company if not set) | |
| includeCsv | No | Include CSV summary in ZIP (default: true) | |
| includePdf | No | Include PDF files in ZIP (default: true, requires Pro plan) | |
| includeXml | No | Include UBL XML files in ZIP (default: true) | |
| invoiceIds | Yes | Array of invoice UUIDs to include in the ZIP (max 100) | |
| folderStructure | No | ZIP folder organization: flat (default), by-client, by-month, or by-series |