Skip to main content

mobileInvoice

Requires a customer (portal or buyer app) session.

Returns one of the buyer's SALES invoices in full — lines, bill breakdown, payments received and addresses — for the invoice-detail screen reached from Billing. Company-scoped: another partner's (or tenant's) invoice reads as not-found, and an unissued DRAFT / CANCELLED / VOIDED invoice is never returned.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query MobileInvoice($invoiceId: ID!) {
mobileInvoice(invoiceId: $invoiceId) {
id
invoiceNumber
salesOrderNumber
status
balanceDue
currency
bill {
vatName
belowMov
cartId
customerTier
deliveryFee
deliveryOptionId
}
}
}

Variables:

{
"invoiceId": "id"
}

Response:

{
"data": {
"mobileInvoice": {
"id": "id",
"invoiceNumber": "string",
"salesOrderNumber": "string",
"status": "string",
"balanceDue": 0,
"currency": "string",
"bill": {
"vatName": "string",
"belowMov": true,
"cartId": "id",
"customerTier": "string",
"deliveryFee": 0,
"deliveryOptionId": "id"
}
}
}
}
mobileInvoice(
invoiceId: ID!
): MobileInvoice!

Arguments​

mobileInvoice.invoiceId ● ID! non-null scalar​

The ID of the invoice.

Type​

MobileInvoice object​

A buyer's sales invoice in full for the buyer app: lines, bill breakdown, payments received and addresses.