Update Expense
Updates an existing expense in Avaza.
Query
Comma-separated response fields to include.
Body
The date of the expense entry
The expense category to link the Expense to.
aka Billable. Defaults to false if not provided. If set to true, a CustomerIDFK or CustomerName must be provided.
Defaults to false if not provided.
Conditional - available for expenses that are assigned a unit priced based expense category. e.g Mileage
The Avaza Customer ID to associate the Expense with.
The Avaza project ID to associate the Expense with.
(optional) TaskID of a Task to link the new Expense to. A Customer and Project must be provided also.
A 3-letter ISO CurrencyCode for the expense currency. (e.g. USD). If not provided, defaults to the Account base currency.
Optional (Only relevant if the expense currency is different to your account currency. If not provided we will look up the market exchange rate for you based on the expense date.) Exchange Rate = Expense Currency Amount / Base Currency Amount (e.g. if Expense currency is in AUD, and Base Currency is in USD, Exchange Rate = AUD $140 / USD $100 = 1.4)
Expense Amount (Required). Must be >= 0
Avaza Tax ID the expense belongs to.
Optional - Enter "INC" if the tax amount is included in the expense amount otherwise enter "EX" when the amount exlcudes the tax. Defaults to "Ex". The tax amount on the expense will be autocalculated.
Links the expense to a Grouping/Trip report. If no matching name found, creates a new Group/Trip Report name.
(Optional) ID of Expense Payment Method.
The name of the merchant.
A Tax number identifier for the merchant.
Expense Notes
Pass false if creating a draft expense. True otherwise.
Array of File Attachment IDs to associate with this expense. The files need to have already been uploaded. Currently only accepts a single file.