← API reference
Mutation / commerce

createInvoiceLine

Create a new invoice line. Requires invoice:write permission.

Arguments

Invoice line data

Returns UpsertInvoiceLinePayload!

Explore in a view

Order Intake
View exact SDL
"""Create a new invoice line. Requires invoice:write permission."""
createInvoiceLine(
  """Invoice line data"""
  input: CreateInvoiceLineInput!
): UpsertInvoiceLinePayload! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.