Developer Docs

Invoice

An invoice. Can be draft or a final invoiced invoice.

Fields

createdAt (ISO8601DateTime!)
When the invoice record was first created.
description (String)
The description of the invoice.
detailsUrl (String!)
URL to view invoice details, PDF download, and manual payment link.
id (ID!)
The database ID of this invoice.
invoiceLineItems ([InvoiceLineItem!])
The line items of this invoice.
invoiceNumber (String!)
The formatted (legal) invoice number.
invoicedAt (ISO8601DateTime)
When the invoice was formally invoiced.
status (String!)
The payment status of the invoice (open, cancelled, pending, expired, failed, paid, paidout, charged_back, refunded, partially_refunded).
taxPercentage (Float)
The percentage of tax used for this invoice.
totalAmountCents (Int!)
Total amount of invoice in cents.
totalTaxAmountCents (Int!)
Total tax amount of invoice in cents.