Invoice
Definition of an invoice
This page contains
Fields
| id: ID! | ID of the invoice |
| locale: Locale! | The invoice locale. |
| localized: Boolean! | Flag indicating if invoice is localized. |
| displayTaxBreakdown: Boolean! | Flag indicated if tax breakdown is displayed |
| invoiceNumber: String! | Invoice number |
| billingRelationshipOwnerInvoiceNumber: String | Invoice Sequence Number as defined by the merchant of record |
| tenant: String! | Tenant (partner) to which invoice belongs |
| status: String | Invoice status |
| creditNote: Boolean! | Flag indicating if invoice is a credit note |
| currency: Currency! | Invoice currency, ISO 4217 code |
| invoiceDate: Date! | Date the invoice was created |
| paymentTerms: InvoicePaymentTerms! PREVIEW | Invoice payment terms |
| seller: InvoiceSeller PREVIEW | Invoice Merchant Of Record |
| customer: Party! PREVIEW | Customer |
| lines: [InvoiceLine!]! @deprecated( reason: "Use invoiceLines instead" )PREVIEW | Invoice lines |
| amountDue: Decimal! | Amount due on invoice |
| amountPaid: Decimal | Amount paid on invoice |
| subtotal: Decimal! | Subtotal of invoice |
| totalTax: Decimal! | Total tax amount on invoice |
| carriedBalance: Decimal | Balance carried to this invoice |
| total: Decimal! | Total amount of invoice |
| taxDetails: [TaxDetail!] PREVIEW | Tax details of invoice |
| carriedInvoices: [Invoice!] PREVIEW | Invoices carried onto this invoice |
| sourceType: String! | Source type of the invoice. Like Checkout, Billing process, Ad Hoc |
| billToCompany: Boolean | To identify if company level billing |
| invoiceLines(first: Int, after: String, before: String): InvoiceLineConnection! | Invoice lines |
| merchantOfRecord: Seller PREVIEW | Invoice Merchant Of Record |
| taxReport: TaxReport PREVIEW | Tax Report |
| payments: [String!] | List of payments applied to this invoice |
| delegatedToInvoice: InvoiceListItem PREVIEW | Invoice to which this invoice is delegated |
| balanceCreatedOn: DateTime! PREVIEW | Creation date of the invoice in customer balance service |
| balanceUpdatedOn: DateTime! PREVIEW | Last updated date of the invoice in customer balance service |
| balanceCustomer: BalanceCustomer! PREVIEW | Customer |
| balance: Decimal PREVIEW | Invoice Balance |
| balanceStatus: InvoiceBalanceStatus PREVIEW | Status of invoice in customer balance service |
| appliedPayments: [AppliedPayment] PREVIEW | Payments applied to the invoice |
| appliedCreditMemos: [AppliedCreditMemo] PREVIEW | Credit memos applied to the invoice |
Parent objects of Invoice
| AppliedToInvoice PREVIEW | Definition of an invoice with a payment or credit memo application |
| BalanceInvoiceConnection PREVIEW | |
| CreditMemo PREVIEW | Definition of an credit memo |
| Invoice PREVIEW | Definition of an invoice |
| InvoiceConnection PREVIEW | |
| Payment PREVIEW | Definition of a payment |
| RefundProperties PREVIEW | Definition of credit memo refund properties |
Mutations for Invoice
| reserveInvoiceBalance PREVIEW | Reserve an invoice balance |
| voidInvoice PREVIEW | Void an invoice |
Queries for Invoice
| creditMemo PREVIEW | Retrieve a Credit Memo by id |
| invoice PREVIEW | Retrieve an invoice by id |
| invoices PREVIEW | Retrieve invoices |
| payment PREVIEW | Retrieve a payment by id |
| paymentByPaymentNumber PREVIEW | Retrieve a payment by payment number |