Saltar al contenido principal

AccountInvoice

Invoice that MONEI issues to the current account for its MONEI fees in a billing period. The dashboard shows invoices in Settings > Billing > Billing history. All amounts are in the smallest currency unit (cents for EUR).

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​

Invoice number, shown as Number. Null until the invoice is issued. While it is null, the dashboard shows N/A, says the invoice is not available and offers no PDF.

AccountInvoice.accountId ● ID! non-null scalar​

ID of the account the invoice belongs to.

AccountInvoice.period ● Period! non-null object​

Billing period the invoice covers. Shown as Period.

AccountInvoice.currency ● Currencies! non-null enum​

Three-letter ISO 4217 currency code of the invoice. Always EUR.

AccountInvoice.amount ● Int! non-null scalar​

Subtotal before tax, in the smallest currency unit: the sum of the amount of all lineItems. Shown as Subtotal.

AccountInvoice.tax ● Int! non-null scalar​

VAT, in the smallest currency unit. Depending on the billing plan, VAT applies to all positive lines or only to some of them. Shown as VAT.

AccountInvoice.totalAmount ● Int! non-null scalar​

Total due, in the smallest currency unit: amount + tax. Shown as Amount in the billing history and as Total in the preview.

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

Fee lines of the invoice.

AccountInvoice.business ● AccountInvoiceBusiness object​

Business details of the account when MONEI generated the invoice.

AccountInvoice.referralCode ● String scalar​

Referral code of the account when MONEI generated the invoice.

AccountInvoice.createdAt ● Int! non-null scalar​

Time MONEI created the invoice, in Unix seconds. accountInvoices sorts by it.

AccountInvoice.status ● AccountInvoiceStatus enum​

Payment status, shown as Status. A new direct debit invoice has no status (null) until MONEI sets one. A null status shows as Paid.

AccountInvoice.paymentMethod ● AccountInvoicePaymentMethod enum​

How the merchant pays the invoice, shown as Payment method. Null on older invoices, shown as Direct debit.

Returned By​

accountInvoice query

Member Of​

AccountInvoicesConnection object