createInvoice
Topics: Commerce
Create a new invoice. Requires invoice:write permission.
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.