← API reference
Mutation / commerce

upsertInvoice

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

Arguments

Invoice data

Returns UpsertInvoicePayload!

Explore in a view

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

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