Skip to main content

ExpenseLine

Represents information about an expense line.

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

Fields

ExpenseLine.id ● ID! non-null scalar

Expense line's unique identifier.

ExpenseLine.quantity ● Decimal scalar

The expense line's quantity.

ExpenseLine.amount ● Decimal scalar

The expense line's amount.

ExpenseLine.unit ● ProductUnit enum

The expense line's unit.

ExpenseLine.discount ● Decimal scalar

The expense line's discount.

ExpenseLine.taxAmount ● Decimal scalar

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

ExpenseLine.totalExcludingTax ● Decimal scalar

The total of this line excluding tax.

ExpenseLine.total ● Decimal scalar

Expense line's total after discounts and taxes.

ExpenseLine.notes ● String scalar

The expense line's notes.

ExpenseLine.tax ● TaxRate object

The expense line's tax.

ExpenseLine.sortOrder ● Int scalar

The expense line's sort order.

ExpenseLine.createdAt ● DateTimeTz! non-null scalar

The date and time when the expense was created.

ExpenseLine.updatedAt ● DateTimeTz! non-null scalar

The date and time when the expense was last updated.

ExpenseLine.deletedAt ● DateTimeTz scalar

The date and time when the expense was deleted.

Member Of

Expense object