Actions68
- Account Actions
- Bank Account Actions
- Code List Actions
- Contact Actions
- Event Actions
- Invoice Actions
- Ledger Actions
- Order Actions
- Tax Report Actions
- Tax Report Setting Actions
- Transport Actions
- Web Hook Actions
Invoice → Create
AI-generatedSummary
Create an invoice in the specified B2Brouter account using provided invoice data.
Inputs
- Environment (required) — Select the B2Brouter API environment (Test or Live).
- Input Method (required) — Choose how to input the invoice data: manual mapping of fields, automatic mapping from incoming item, or JSON/expression input.
- Invoice Data — Provide invoice fields manually when 'Manual Mapping' is selected, including type, number, issue date, due date, currency, language, notes, and reference number.
- Invoice Data (JSON) — Provide complete invoice data as a JSON object or expression when 'JSON / Expression' input method is selected.
- Additional Options — Optional settings: whether to send the invoice automatically after creation and whether to acknowledge the invoice.
Output shape
a list containing a single item representing the created invoice with all details returned from the B2Brouter API.
The operation sends a POST request to the /accounts/{accountId}/invoices endpoint, wrapping the invoice data inside an object under the 'invoice' key, along with any additional options specified. The returned data includes the created invoice's details.