Export
Download one resource as CSV. The columns are the same as in the full backup and round-trip through the importer. For everything at once use the backup instead.
GET
/export/{entity}Export one resource as CSVAIBooks.export.READThe path parameter entity is case-insensitive and must be one of:
accounts,contacts,vendors,items,taxesinvoices,bills,credit_notes,vendor_creditscustomer_payments,vendor_payments,expenses,journalssales_orders,purchase_orders,quotes
There are no filters, no paging and no date range: the response is every row of that resource for the organization. The response is not the JSON envelope. It is the CSV file itself:
curl -H "Authorization: Bearer $PAT" "$BASE/export/invoices" -o invoices.csv
200 OK
Content-Type: text/csv
Content-Disposition: attachment; filename="invoices.csv"An organization with no rows of that kind gets an empty or header-only file. This endpoint does not use an Idempotency-Key.
Notable errors
400 validation.invalid_value— unknown entity. The message isUnknown entity '…'and does not list the valid names; use the list above.403 auth.insufficient_scope— the token lacksAIBooks.export.READ.