API reference
Export
Download invoices, invoice lines and customers as CSV, and invoices as PDFs.
Everything in the business at once: for backups, your accountant, or moving to other software. The key needs the data:export permission, plus invoice:read or contact:read for what it exports.
- CSV files stream as they're read, so they work however much there is. They're UTF-8 with a byte order mark, so they open in Excel, and text that a spreadsheet would run as a formula starts with
'. - PDFs come in a ZIP, up to 200 at a time. Use
fromandtoto take them a month or a year at a time; a 400export_too_largesays how many there are. - Every export is recorded in the activity log.
Download invoices, invoice lines or customers as CSV
/v1/export/csvEverything of that kind, oldest first, streamed as it is read. UTF-8 with a byte order mark, so it opens in Excel. from and to limit invoices and lines to those dated in that range (undated drafts are then left out). Also needs invoice:read for invoices and lines, or contact:read for customers. Recorded in the activity log.
Needs the data:export permission
Query parameters
data"invoices" | "invoice_lines" | "customers"requiredinvoices: one row per invoice and credit note.invoice_lines: one row per line on them.customers: one row per customer.fromdateThe first date to include (YYYY-MM-DD)
todateThe last date to include (YYYY-MM-DD)
curl "https://api.zulu.ie/v1/export/csv?data=invoices&from=2026-01-01&to=2026-12-31" \
-H "Authorization: Bearer $ZULU_API_KEY" \
-H "Zulu-Business-Id: $ZULU_BUSINESS_ID" \
-o invoices.csvReturns the file itself (a PNG or JPEG image), not JSON.
Download issued invoices and credit notes as PDFs, in a ZIP
/v1/export/pdfsThe invoices and credit notes dated from from to to (drafts are left out), in invoices/ and credit-notes/ folders, named by number. Up to 200 at a time: for more, choose a shorter range (400 export_too_large says how many there are). The ZIP streams as each PDF is made, so a large one takes a while. Also needs invoice:read. Recorded in the activity log.
Needs the data:export permission
Query parameters
fromdateThe first date to include (YYYY-MM-DD)
todateThe last date to include (YYYY-MM-DD)
curl "https://api.zulu.ie/v1/export/pdfs?from=2026-01-01&to=2026-01-31" \
-H "Authorization: Bearer $ZULU_API_KEY" \
-H "Zulu-Business-Id: $ZULU_BUSINESS_ID" \
-o invoices.zipReturns the file itself (a PNG or JPEG image), not JSON.