Prepare an export of a given type for download. You can check the export readiness status using the GET endpoint. Once the export is ready, download the export using the download endpoint.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Export name.
aged_balances: List of balances at 30, 60, and 90+ days for all customers.all_customers: List of all customers.outstanding_invoices: List of all outstanding invoices.all_subscriptions: List of all active, pending or cancelled subscriptions.revenue_per_product: Revenue per product month over month.detailed_revenue: Booked revenue (outstanding and paid) split per customer and product, month over month.revenue_per_line_item_name: Revenue per invoice line item month over month, grouped by name given on invoice or subscription.revenue_per_country: Revenue, tax and invoice number per country.revenue_per_plan: Revenue per plan month over month.line_by_line_revenue: All invoice line items in chronological order, with product and customer information.draft_invoices: Export all draft invoices, with customer and product information.open_invoices: Export all open invoices, with customer and product information.live_subscriptions: List of all active subscriptions line by line.aged_balances, outstanding_invoices, all_subscriptions, revenue_per_product, revenue_per_line_item_name, revenue_per_country, revenue_per_plan, all_customers, detailed_revenue, line_by_line_revenue, draft_invoices, open_invoices, live_subscriptions "line_by_line_revenue"
Export file type.
csv: The export will be generated in CSV format.xlsx: The export will be generated in XLSX format.json: The export will be generated in JSON format.csv, xlsx, json "csv"
Export name.
aged_balances: List of balances at 30, 60, and 90+ days for all customers.all_customers: List of all customers.outstanding_invoices: List of all outstanding invoices.all_subscriptions: List of all active, pending or cancelled subscriptions.revenue_per_product: Revenue per product month over month.detailed_revenue: Booked revenue (outstanding and paid) split per customer and product, month over month.revenue_per_line_item_name: Revenue per invoice line item month over month, grouped by name given on invoice or subscription.revenue_per_country: Revenue, tax and invoice number per country.revenue_per_plan: Revenue per plan month over month.line_by_line_revenue: All invoice line items in chronological order, with product and customer information.draft_invoices: Export all draft invoices, with customer and product information.open_invoices: Export all open invoices, with customer and product information.live_subscriptions: List of all active subscriptions line by line.aged_balances, outstanding_invoices, all_subscriptions, revenue_per_product, revenue_per_line_item_name, revenue_per_country, revenue_per_plan, all_customers, detailed_revenue, line_by_line_revenue, draft_invoices, open_invoices, live_subscriptions "line_by_line_revenue"
Export file type.
csv: The export will be generated in CSV format.xlsx: The export will be generated in XLSX format.json: The export will be generated in JSON format.csv, xlsx, json "csv"
Export ID.
"exp_YfiSnLIYORD9VN"
Export status.
pending: The export is pending and has not started processing yet.processing: The export is currently being generated.done: The export has been successfully generated.errored: An error occurred during the export generation.pending, processing, done, errored "processing"