Skip to main content

InvoiceLine

Represents information about an invoice line.

type InvoiceLine {
id: ID!
quantity: Decimal
amount: Decimal
unit: ProductUnit
discount: Decimal
taxAmount: Decimal
totalExcludingTax: Decimal
total: Decimal
product: Product
notes: String
tax: TaxRate
sortOrder: Int
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
}

Fields

InvoiceLine.id ● ID! non-null scalar

Invoice line's unique identifier.

InvoiceLine.quantity ● Decimal scalar

The invoice line's quantity.

InvoiceLine.amount ● Decimal scalar

The invoice line's amount.

InvoiceLine.unit ● ProductUnit enum

The invoice line's unit.

InvoiceLine.discount ● Decimal scalar

The invoice line's discount.

InvoiceLine.taxAmount ● Decimal scalar

The amount of tax calculated per tax rate for this line.

InvoiceLine.totalExcludingTax ● Decimal scalar

The total of this line excluding tax.

InvoiceLine.total ● Decimal scalar

Invoice line's total after discounts and taxes.

InvoiceLine.product ● Product object

The invoice line's product.

InvoiceLine.notes ● String scalar

The invoice line's notes.

InvoiceLine.tax ● TaxRate object

The invoice line's tax.

InvoiceLine.sortOrder ● Int scalar

The invoice line's sort order.

InvoiceLine.createdAt ● DateTimeTz! non-null scalar

The date and time when the invoice was created.

InvoiceLine.updatedAt ● DateTimeTz! non-null scalar

The date and time when the invoice was last updated.

InvoiceLine.deletedAt ● DateTimeTz scalar

The date and time when the invoice was deleted.

Member Of

Invoice object