Actions150
- Branches Actions
- Carts Actions
- Catalog Actions
- Customers Actions
- Add Customers To Group Customer
- Create Customer Group
- Delete Customer Group
- List Customer Groups
- Update Customer Group
- Ban Customer
- Create Customer
- Customer Details
- Delete Customer
- List Customers
- Un-Ban customer
- Update Customer
- Customer Loyalty Points
- Update Customer Loyalty Points
- List Reviews
- Review Details
- Update Review
- Finance Actions
- Locations Actions
- Marketing Actions
- Merchant Actions
- Orders Actions
- List Auto Assignment Rules
- Order Assigned Employees Details
- Create Order History
- List Order Histories
- Create Invoice
- Create Order Invoice
- Invoice Details
- List Invoices
- Send Order Invoice
- Create Order Item
- Delete Order Item
- List Order Items
- Update Order Item
- List Order Reservations
- Create Custom Order Status
- List Order Statuses
- Order Status Details
- Update Custom Order Status
- Update Order Status
- Create Order
- Duplicate Order
- List Orders
- Order Actions
- Order Details
- Relocate Order Stock
- Update Order
- Products Actions
- Attach Digital Code
- Attach Digital File
- Delete Digital File
- Attach Image
- Attach Video by SKU
- Attach Youtube Video
- Delete Image
- Update Image
- List Product Quantities
- List Quantity Audit
- List Quantity Change Reasons
- Update Bulk Quantities
- Delete Option Template
- List Option Templates
- Option Template Details
- Create Product Option Value
- Delete Product Option Value
- Product Option Value Details
- Update Product Option Value
- Create Product Option
- Delete Product Option
- Product Option Details
- Update Product Option
- Create Product Tag
- List Product Tags
- List Product Variants
- Product Variant Details
- Update Product Variant
- Change Product Status
- Create Product
- Delete Product
- Delete Product By SKU
- List Products
- Product Details
- Product Details By SKU
- Update Product
- Update Product By SKU
- Update Product Price By SKU
- Shipping Actions
Orders → Create Invoice
AI-generatedSummary
Generate an invoice for an order in Salla by specifying the order ID, invoice type, and data format used to create the invoice.
Inputs
- Sub-resource (required) — Select a sub-resource within Orders, must be 'invoice' to create an invoice.
- Order Id (required) — The numeric ID of the order for which the invoice will be created.
- Type (required) — Invoice type to create; can be either 'tax_invoice' or 'credit_note'. Note that a 'credit_note' requires a prior 'tax_invoice'.
- Data Type (required) — The format of the invoice payload. It can be 'order' to use existing order totals, 'data' for manual custom data, 'url' to provide a PDF invoice link, or 'file' to upload or reference a file handled by Salla.
- Additional Fields — Optional additional invoice fields not explicitly listed.
- Custom Data Settings — When Data Type is 'Custom Data', supply invoice values such as invoice number, sub total, total, shipping cost, cash on delivery cost, tax, and tax value.
- URL Settings — When Data Type is 'URL', provide the link to the hosted PDF invoice.
- File Settings — When Data Type is 'File', provide file reference information handled by Salla.
- Return Mode — Choose whether the node returns the Salla data payload only (default) or the full backend response envelope including status and raw data.
Output shape
a list of JSON objects representing the created invoice or API response envelope depending on Return Mode.
The output is either an array of data payload items or a full response envelope per Salla API response, selectable via the Return Mode parameter.
Examples
Example 1: Create a tax invoice using existing order totals for order ID 123456
Set Sub-resource to 'invoice', Order Id to 123456, Type to 'tax_invoice', Data Type to 'order', and Return Mode to 'dataOnly'.