โ† API reference
Query / commerce

getInvoice

Fetch a single invoice by ID. Requires invoice:read permission.

Arguments

Invoice ID to fetch

Returns InvoiceState

Scalar fields at a glance

invoiceNumberString!
orderIdOrderID
customerIdCustomerID!
contactIdContactID
โ†— View the complete InvoiceState type

Explore in a view

Order Intake
View exact SDL
"""Fetch a single invoice by ID. Requires invoice:read permission."""
getInvoice(
  """Invoice ID to fetch"""
  id: InvoiceID!
): InvoiceState @topic(names: ["commerce"])

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