Skip to main content

Export Purchase Orders

GET 

/api/qbo/purchase-orders/export

Download the QuickBooks Online purchase orders synced into SKU.io as a CSV file. The export is streamed from the locally synced copies; no request is made to QuickBooks.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

CSV columns: QBO ID, Doc Number, Vendor ID, Vendor Name, Total Amount, Currency, Transaction Date, Status, Active, QBO Created At, QBO Updated At, Local Created At, Local Updated At.

The response is a file download (Content-Type: text/csv) with a filename of the form qbo_purchase-orders_export_2026-07-07_10-30-00.csv. By default all records (active and archived) are included; use the query parameters to narrow the export.

Returns a 500 error if no QuickBooks Online integration has been set up, and a 422 error if a date parameter is not in MM/DD/YYYY format.

Authentication: Requires Bearer token.

Request

Responses

Successful response