Skip to main content

Export Purchase Invoices

GET 

/api/purchase-invoices/list/export

Export purchase invoices as XLSX or CSV.

Authentication: Requires Bearer token.

Response: Binary file download (xlsx or csv). Not a JSON response.

Column keys: id, supplier_invoice_number, purchase_order_number, supplier_name, status, purchase_invoice_date, due_date, other_date, currency_code, calculated_total, tax_total, total_paid, created_at, updated_at, archived_at.

In line_items mode, additional columns are added for each line: item_sku, item_name, item_quantity_invoiced, item_amount, item_line_total.

Request

Responses

Successful response