Invoice Items (Products/Articles)

Bulk-import articles (invoice items) from a CSV/Excel spreadsheet

Imports many articles/products at once from an uploaded spreadsheet (CSV or Excel). The pipeline auto-detects columns (name, price, quantity, VAT) and maps rows onto the invoice-item model without a per-row LLM call; Claude is used only when the columns cannot be inferred. Rows with no usable name and inactive rows are skipped, and duplicates are skipped by matching the normalised name (and title line) against the user's existing items and earlier rows in the same file. Surviving items are written in batches.

post/invoice-items/import

Request

Request body multipart/form-data

filestring binary required

CSV or Excel (.xlsx/.xls) spreadsheet of articles/products.

localestring

Locale hint for AI text cleanup (e.g. en, de, fr). Defaults to the user's profile locale.

Response

Spreadsheet processed; returns a summary of how rows were classified and how many were imported.

Changes

No recorded changes to this operation across all 5 revisions of this API.