AccountInvoiceLineItem
Single line item on an account invoice (e.g. a per-transaction fee, fixed plan fee, or VAT row).
- When
unitTypeismoney,unitAmountis in the invoice currency's minor units andamount = quantity * unitAmount. - When
unitTypeispercent,unitAmountis a percentage applied toquantity(a base amount in minor units) andamount = quantity * unitAmount / 100.
type AccountInvoiceLineItem {
name: String!
quantity: Int!
unitAmount: Float!
unitType: UnitType!
currency: Currencies!
amount: Int!
}
Fields
AccountInvoiceLineItem.name ● String! non-null scalar
Line item description.
AccountInvoiceLineItem.quantity ● Int! non-null scalar
Number of units, or the base amount in minor units when unitType is percent.
AccountInvoiceLineItem.unitAmount ● Float! non-null scalar
Per-unit price in minor units (money) or percentage value (percent).
AccountInvoiceLineItem.unitType ● UnitType! non-null enum
Whether unitAmount is a monetary value or a percentage.
AccountInvoiceLineItem.currency ● Currencies! non-null enum
ISO 4217 currency code for this line.
AccountInvoiceLineItem.amount ● Int! non-null scalar
Computed line total in minor units.
Member Of
AccountInvoice object