AccountInvoice
Invoice MONEI issues to a merchant account for fees accrued in a billing period. Generated automatically from the account's transactions and plan.
type AccountInvoice {
id: ID!
number: String
accountId: ID!
period: Period!
currency: Currencies!
amount: Int!
tax: Int!
totalAmount: Int!
lineItems: [AccountInvoiceLineItem!]!
business: AccountInvoiceBusiness
referralCode: String
createdAt: Int!
status: AccountInvoiceStatus
paymentMethod: AccountInvoicePaymentMethod
}
Fields
AccountInvoice.id ● ID! non-null scalar
Invoice ID.
AccountInvoice.number ● String scalar
Human-readable invoice number printed on the PDF.
AccountInvoice.accountId ● ID! non-null scalar
Merchant account the invoice belongs to.
AccountInvoice.period ● Period! non-null object
Billing period covered by the invoice.
AccountInvoice.currency ● Currencies! non-null enum
ISO 4217 currency code of the invoice.
AccountInvoice.amount ● Int! non-null scalar
Subtotal in minor units (sum of line items, before tax).
AccountInvoice.tax ● Int! non-null scalar
Tax amount in minor units (e.g. VAT).
AccountInvoice.totalAmount ● Int! non-null scalar
Total amount due in minor units (amount + tax).
AccountInvoice.lineItems ● [AccountInvoiceLineItem!]! non-null object
Itemised fees and charges that make up the invoice.
AccountInvoice.business ● AccountInvoiceBusiness object
Merchant business snapshot at the time the invoice was issued.
AccountInvoice.referralCode ● String scalar
Referral code applied to the merchant when the invoice was generated.
AccountInvoice.createdAt ● Int! non-null scalar
Issue date as a unix timestamp (seconds).
AccountInvoice.status ● AccountInvoiceStatus enum
Current payment status.
AccountInvoice.paymentMethod ● AccountInvoicePaymentMethod enum
Method MONEI uses to collect payment.
Returned By
accountInvoice query
Member Of
AccountInvoicesConnection object