Expenses

The Expense object

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

FieldTypeDescription
id
sortable, filterable
stringIdentifier 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.
currencystringISO-4217 currency code of the expense.
currencyRatedecimalRate 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
memostringAny additional information or business notes about the expense.
linesarrayAn 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.
descriptionstringDescription of the line item.
unitAmount
sortable, filterable
decimalLine item unit amount.
quantity
sortable, filterable
integerLine item quantity.
taxRateRefReference 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.