← API reference
Mutation / commerce

upsertInvoiceLine

Create or update an invoice line. Requires invoice:write permission.

Arguments

Invoice line data

Returns UpsertInvoiceLinePayload!

Explore in a view

Order Intake
View exact SDL
"""Create or update an invoice line. Requires invoice:write permission."""
upsertInvoiceLine(
  """Invoice line data"""
  input: UpsertInvoiceLineInput!
): UpsertInvoiceLinePayload! @topic(names: ["commerce"])

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