Expenses

The Expense object

From the Expenses endpoint, you can retrieve a list of all expenses for a specified business.

FieldTypeDescription
id
sortable, filterable
string Identifier for the expense, unique for the business in the accounting service.
vendorRefReference TypesReference to the vendor the expense is linked to.
accountRefReference TypesReference to the account the expense is recorded against. Represents the account being credited.
totalAmount
sortable, filterable
decimalTotal amount of the expense, inclusive of tax.
currency stringISO-4217 currency code of the expense.
currencyRate decimalRate to convert the total amount of the transaction into the base currency for the business at the time of the transaction.
postedDate
sortable, filterable
string
See Date
Date on which the expense was posted to the accounting service, and had an impact on the general ledger. This may be different from the creation date.
paymentMethod
sortable, filterable
stringPayment method used.
paymentMethodRefReference TypesReference to the payment Method used
memo stringAny additional information or business notes about the expense.
lines arrayAn array of expenses lines.
sourceModifiedDate
sortable, filterable
string
See Date
The date on which this record was last modified in the accounting service.

Lines

FieldTypeDescription
accountRefReference TypesReference to the account the line item is linked to. Represents the account being debited.
description string Description of the line item.
unitAmount
sortable, filterable
decimal Line item unit amount.
quantity
sortable, filterable
integerLine item quantity.
taxRateRef Reference TypesReference to the tax rate the line item is linked to.
trackingCategoryRefsReference TypesReference to the tracking categories associated with this line item, e.g. classes or departments.
taxAmount
sortable, filterable
decimalLine item tax amount.
amount
sortable, filterable
decimalLine item total amount, inclusive of discounts & tax.