Skip to main content

Preview CSV Import

POST 

/api/v1/invoices/import/csv/preview

Upload a CSV file and preview the parsed invoices before sending. Returns validation results and a preview of the first 5 invoices.

Every invoice whose number this organisation has already sent (a transaction) or already holds as a draft in the Invoice Hub is marked duplicate: true with a duplicate_reason, and duplicates counts them. POST /import/csv skips those rows unless called with allow_duplicates=true.

Supported columns: invoice_number, issue_date, due_date, currency, buyer_reference, order_reference (PO number), order_line_reference, seller_peppol_id, seller_name, buyer_peppol_id, buyer_name, line_description, line_quantity, line_unit_price, line_tax_rate, total_payable, etc.

Use /import/csv/template to download a sample CSV template.

Requestโ€‹

Responsesโ€‹

Successful Response