Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

invoiceRequest Mutation

Request an invoice for the order using plugin.

Requires one of the following permissions:MANAGE_ORDERS

Triggers the following webhook events:

  • INVOICE_REQUESTED (async): An invoice was requested.

Applied directives

@webhookEventsInfo(asyncEvents: [INVOICE_REQUESTED], syncEvents: [])
invoiceRequest(number: String, orderId: ID!): InvoiceRequest

Returns

InvoiceRequest

Show return type
type InvoiceRequest {
  order: Order
  invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [InvoiceError!]!
  invoice: Invoice
}

Arguments

number

number · String

Invoice number, if not provided it will be generated.

orderId

orderId · ID!

ID of the order related to invoice.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?