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
- Base URLhttps://api.vocal.email/v1
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
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.