Core API
CSV export
Download your full document history as a CSV file.
Export endpoint
GET/v1/invoices/export
curl "https://api.lumiparser.com/v1/invoices/export" \
-H "Authorization: Bearer inv_live_YOUR_KEY" \
-o invoices.csvQuery parameters
| Parameter | Type | Description |
|---|---|---|
| from | ISO date | Filter documents created on or after this date |
| to | ISO date | Filter documents created on or before this date |
| status | string | completed · failed · pending |
| document_type | string | invoice · receipt · purchase_order · bank_statement — only that type, with every field for it as a column |
Examples
# All completed invoices from January 2024
curl "https://api.lumiparser.com/v1/invoices/export?from=2024-01-01&to=2024-01-31&status=completed" \
-H "Authorization: Bearer inv_live_YOUR_KEY" \
-o january.csv
# Every receipt, with all receipt fields and your custom fields
curl "https://api.lumiparser.com/v1/invoices/export?document_type=receipt" \
-H "Authorization: Bearer inv_live_YOUR_KEY" \
-o receipts.csv
# Everything this year, all document types
curl "https://api.lumiparser.com/v1/invoices/export?from=2024-01-01" \
-H "Authorization: Bearer inv_live_YOUR_KEY" \
-o all-2024.csvCSV columns
| Column | Description |
|---|---|
| id | Document ID |
| status | completed / failed / pending |
| file_name | Original uploaded filename |
| document_type | invoice / receipt / purchase_order / bank_statement |
| created_at | Upload timestamp (ISO 8601) |
| completed_at | Parse completion timestamp |
| counterparty | Vendor, merchant, supplier or bank name |
| document_number | Invoice, receipt or PO number (account number for statements) |
| document_date | Invoice, receipt or PO date (period end for statements) |
| total | Grand total, receipt total or closing balance |
| currency | Currency code |
With document_type, every extracted field for that type follows (for invoices: vendor_name, due_date, tax_amount, …), then a line-item summary and one column per custom field, named by its label.
Values a spreadsheet would treat as a formula are prefixed with an apostrophe. Maximum 10,000 rows per export. For larger exports, use date range filters to split into batches.