AccountInvoiceLineItem
Account invoice line item
- If the
unitType
ismoney
,unitAmount
is the amount in the currency of the invoice in cents and the line item amount is calculated asquantity * unitAmount
- If the
unitType
ispercent
,unitAmount
is the percentage value, quantity is an amount in the currency of the invoice in cents and the line item amount is calculated asquantity * 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