Actions196
- Address Actions
- Contact Actions
- Credit Note Actions
- Customer Actions
- Delivery Note Actions
- Delivery Terms Actions
- Employee Actions
- Goods Receipt Actions
- Invoice Actions
- Liability Actions
- Offer Actions
- Payment Method Actions
- Payment Terms Group Actions
- Production Actions
- Product Actions
- Proforma Invoice Actions
- Project Actions
- Purchase Order Actions
- Purchase Price Actions
- Return Actions
- Sales Channel Actions
- Sales Order Actions
- Sales Price Actions
- Shipment Actions
- Shipping Method Actions
- Storage Location Actions
- Supplier Actions
- Tag Actions
- Warehouse Actions
- Webhook Actions
Invoice → Create from Sales Order
AI-generatedSummary
Create an invoice from an existing sales order by specifying its sales order ID.
Inputs
- Sales Order ID (required) — The ID of the sales order to create the invoice from.
- Max Pages — Maximum number of API pages to fetch when returning all data; defaults to 1000 pages if returnAll is true (used to limit API calls).
Output shape
a single newly created invoice record object representing the invoice created from the specified sales order.
The operation requires the sales order ID as input and returns the newly created invoice data. The Max Pages field is relevant if retrieving multiple records in related operations but does not affect this single create operation. Errors from the API will be surfaced if the sales order ID is invalid or creation fails.