Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions144

Orders → Create Invoice

AI-generated

Summary

Create a Salla invoice for an existing order using order totals, custom totals, a hosted PDF URL, or a file reference. Choose the invoice type and provide the order ID; custom data, URL, or file settings are used only for the matching data type.

Inputs

  • Sub-resource (required) — Select the invoice sub-resource.
  • Return Mode — Choose Data Only (default) or Full Envelope for the response.
  • Order Id (required) — Salla order ID for the invoice.
  • Type (required) — Invoice type: tax_invoice or credit_note. Create a tax_invoice before creating a credit_note.
  • Data Type (required) — Choose order to build the invoice from existing order totals, data to provide custom totals, url to provide a hosted PDF URL, or file to provide a Salla-handled file reference.
  • Custom Data Settings — For Data Type = Custom Data, optionally provide invoice number, subtotal, total, shipping cost, cash-on-delivery cost, tax, and tax value. Empty values are omitted.
  • URL Settings — For Data Type = URL, optionally provide the hosted invoice PDF URL.
  • File Settings — For Data Type = File, optionally provide the invoice file reference.
  • Additional Fields — No additional fields are declared.

Output shape

One or more n8n items containing the response data, or one item with the full response envelope.

Data Only is the default. Object data is returned as one item; array data may become multiple items, and empty arrays return no items. Full Envelope includes ok, status, data, error, and raw. This operation creates the invoice through Salla; the source does not confirm the resulting invoice schema.

Links

Discussion