Skip to main content

AccountInvoice

Invoice that MONEI issues to the account, this invoice is generated based on the account transactions and includes all the fees for the given period

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

Account invoice ID

AccountInvoice.number ● String scalar

Account invoice number

AccountInvoice.accountId ● ID! non-null scalar

Account ID

AccountInvoice.period ● Period! non-null object

Invoice period

AccountInvoice.currency ● Currencies! non-null enum

Invoice currency

AccountInvoice.amount ● Int! non-null scalar

Invoice amount in cents

AccountInvoice.tax ● Int! non-null scalar

Invoice tax amount in cents

AccountInvoice.totalAmount ● Int! non-null scalar

Invoice total amount in cents

AccountInvoice.lineItems ● [AccountInvoiceLineItem!]! non-null object

Invoice line items

AccountInvoice.business ● AccountInvoiceBusiness object

Invoice customer details

AccountInvoice.referralCode ● String scalar

Referral code used to generate the invoice

AccountInvoice.createdAt ● Int! non-null scalar

Invoice creation date as a unix timestamp

AccountInvoice.status ● AccountInvoiceStatus enum

Invoice status

AccountInvoice.paymentMethod ● AccountInvoicePaymentMethod enum

Invoice payment method

Returned By

accountInvoice query

Member Of

AccountInvoicesConnection object