Actions17
- Entity Actions
- File Actions
- Instance Actions
- Invoice Actions
- Push Notification Actions
- Repeatable Group Actions
Invoice → Create
AI-generatedSummary
Create a new invoice document in the Origami CRM by specifying the invoice type and providing the invoice form data as JSON. Optionally include additional fields to customize attributes such as credit invoice attachment, total amount rounding, or base the invoice on a saved document ID.
Inputs
- Invoice Type (required) — Select the type of invoice to create: Credit Invoice, Proforma Invoice, Receipt, Tax Invoice, or Tax Invoice Receipt.
- Form Data (JSON) (required) — Provide the invoice form data as a JSON array of group objects, typically including 'origami_invoices_general_details' group with fields and values.
- Additional Fields — Optional parameters including 'Attach Type' (for credit invoices, specifying the invoice being credited), 'Round Total' (rounding adjustment for the total amount), and 'Saved ID' (an optional saved document ID to base the invoice on).
Output shape
a single JSON object representing the created invoice record containing the API response data.
The output returns the response JSON from the Origami API upon invoice creation. Errors during JSON parsing of form data or API requests are reported as node operation errors. Multiple invoices can be created if multiple input items are provided.