Skip to main content

invoice

Returns a single Invoice by ID. Requires admin and billing permission on the organisation.

Arguments

ArgumentTypeRequiredDescription
idIDNoGlobal node ID
invoiceIdIDNoInvoice-specific ID

Provide either id or invoiceId.

Return Type

Invoice

Example

query GetInvoice($invoiceId: ID) {
invoice(id: $invoiceId) {
id
invoiceNumber
created
supplyDate
currency
paymentSystem
taxRate
subTotal
totalIncTax
creditReason
customerName
address1
address2
postcode
link
lineItemConnection {
lineItems {
id
lineType
description
rate
units
subTotal
absorb
notAbsorbable
}
}
}
}

Export This Article

Save a copy of this page as PDF or plain text.