v1

latestSwagger 2.02026-07-13107162315.5 KB
Expense

Retrieves a single expense entry by its Expense ID, including category, project, tax, attachment, and approval details.

get/api/Expense/{id}

Path parameters

idinteger required

Expense ID number

Response

Returns the expense entry details including category, tax, and attachments.

ExpenseIDinteger

Unique identifier for the expense entry.

UserIDFKinteger

The user ID who created/owns this expense.

Firstnamestring

First name of the expense user.

Lastnamestring

Last name of the expense user.

Emailstring

Email address of the expense user.

CustomerIDFKinteger

The customer/company ID the expense is associated with.

CustomerNamestring

Name of the associated customer/company.

ProjectIDFKinteger

The project ID the expense is linked to.

ProjectTitlestring

Title of the associated project.

ProjectCodestring

Short code of the associated project.

TaskIDFKinteger

The task ID the expense is linked to.

TaskTitlestring

Title of the associated task.

ExpenseCategoryIDFKinteger

The expense category ID.

ExpenseCategoryNamestring

Name of the expense category.

ExpenseCategoryHasUnitPriceboolean

Whether the expense category has a predefined unit price (e.g. mileage rate).

ExpenseCategoryUnitPricenumber double

The unit price for the expense category, if applicable.

ExpenseCategoryUnitNamestring

The unit label (e.g. 'miles', 'km') for unit-priced categories.

CurrencyCodestring

ISO 3-character currency code for the expense.

ExchangeRatenumber double

Exchange rate from expense currency to account base currency.

Quantitynumber double

Quantity for unit-priced expenses (e.g. number of miles).

Amountnumber double

The expense amount in the expense currency.

TaxAmountnumber double

Calculated tax amount on the expense.

TaxIDFKinteger

The tax rate ID applied to this expense.

TaxNamestring

Name of the applied tax rate.

TransactionTaxConfigCodestring

Tax configuration: 'EX' (exclusive) or 'INC' (inclusive).

TransactionTaxConfigNamestring

Display name for the tax configuration.

isOfficialExchangeRateboolean

Whether the exchange rate is from an official/market source.

ExpenseApprovalStatusCodestring

Approval status. Values: Draft, Pending, Approved, AutoApproved, Rejected, Verified.

ExpensePaymentMethodIDFKinteger

The payment method ID used for this expense.

ExpensePaymentMethodNamestring

Name of the payment method.

isChargeableboolean

Whether the expense is billable to the customer.

ChargeableStatusCodestring

Detailed chargeable status code.

isReimbursableboolean

Whether the expense is reimbursable to the employee.

ExpenseReimbursementStatusCodestring

Reimbursement processing status.

ExpenseReimbursementIDFKinteger

The reimbursement batch ID this expense belongs to, if reimbursed.

ExpenseDatestring date-time

The date the expense was incurred.

FileAttachmentIDFKinteger

ID of the receipt/file attachment, if any.

AttachmentURLstring

Public URL of the expense receipt attachment.

AttachmentPreviewURLstring

URL for a preview/thumbnail of the expense attachment.

Merchantstring

Name of the merchant/vendor.

MerchantTaxNumberstring

Tax registration number of the merchant.

Notesstring

Additional notes on the expense.

ExpenseReportIDFKinteger

ID of the expense report/group this expense belongs to.

ExpenseReportNamestring

Name of the expense report/group.

DateCreatedstring date-time

Date and time the expense record was created.

DateUpdatedstring date-time

Date and time the expense record was last updated.

ViewExpenseURLstring

Url to view the Expense in Avaza