Skip to main content

AccountInvoiceLineItem

Account invoice line item

  • If the unitType is money, unitAmount is the amount in the currency of the invoice in cents and the line item amount is calculated as quantity * unitAmount
  • If the unitType is percent, unitAmount is the percentage value, quantity is an amount in the currency of the invoice in cents and the line item amount is calculated as 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 name

AccountInvoiceLineItem.quantity ● Int! non-null scalar

Line item quantity

AccountInvoiceLineItem.unitAmount ● Float! non-null scalar

Line item unit amount

AccountInvoiceLineItem.unitType ● UnitType! non-null enum

Line item unit type

AccountInvoiceLineItem.currency ● Currencies! non-null enum

Line item currency

AccountInvoiceLineItem.amount ● Int! non-null scalar

Line item total amount in cents

Member Of

AccountInvoice object