Sales & CRMMu Mutation

createInvoice

Topics: Commerce

Create a new invoice. Requires invoice:write permission.

Returns

UpsertInvoicePayload!

Arguments

Invoice data for new invoice

Exact field SDL
"""Create a new invoice. Requires invoice:write permission."""
createInvoice(
  """Invoice data for new invoice"""
  input: CreateInvoiceInput!
): UpsertInvoicePayload! @topic(names: ["commerce"])

Declared on Mutation. Access is checked by the platform for each operation.