Skip to main content

invoiceCreate Mutation

Creates a ready to send invoice.

Requires the MANAGE_ORDERSpermission.
invoiceCreate(
input: InvoiceCreateInput!
orderId: ID!
): InvoiceCreate
Details
type InvoiceCreate {
invoiceErrors: [InvoiceError!]! @deprecated
errors: [InvoiceError!]!
invoice: Invoice
}

Arguments​

input ● InvoiceCreateInput!​

Fields required when creating an invoice.

orderId ● ID!​

ID of the order related to invoice.

Type​

InvoiceCreate​

Creates a ready to send invoice.

Requires the MANAGE_ORDERSpermission.