Actions7
Invoice Receipt → Create
AI-generatedSummary
Create an invoice receipt in InvoiceXpress via POST /v2/invoice_receipts
Inputs
- date (required) — Date of the invoice receipt (dateTime).
- due_date (required) — Due date of the invoice receipt (dateTime).
- itemsMode (required) — Input mode for items: 'ui' (fixed collection) or 'json' (JSON array).
- items (required) — When itemsMode is 'ui': fixed collection of items. When 'json': provided via 'items_json' parameter.
- items_json (required) — Array of items in InvoiceXpress format when itemsMode is 'json'. Each item: { name, description, unit, quantity, unit_price, tax }.
Output shape
The created invoice receipt object as returned by the InvoiceXpress API.
Client fields (id, name, email, fiscal_id, address, postal_code, country, code, city, phone) are included in the request body; if not provided or default 0, they are sent as undefined. Tax exemption reason must be one of the M00–M99 codes listed. Items are mapped from the UI collection or JSON array, with tax_id converted to a Number. Observations and tax_exemption_reason are optional and omitted from the body if empty.
Examples
Example 1: Create invoice receipt via UI items
Set date, due_date, itemsMode to 'ui', add items with name, description, quantity, unit, unit_price, and optional tax_id from the M00–M99 list. Client details may be filled or left default.