/expenses/{id}
Returns an Expense object with the given id.
Authentication
AuthorizationBearer
Token-based authentication with required prefix “Bearer”
Path parameters
id
Headers
X-Account-Token
Token identifying the end user.
Query parameters
expand
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_remote_data
Whether to include the original data Merge fetched from the third-party to produce these models.
include_remote_fields
Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
include_shell_data
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
Response
id
remote_id
The third-party API ID of the matching object.
created_at
The datetime that this object was created by Merge.
modified_at
The datetime that this object was modified by Merge.
transaction_date
When the transaction occurred.
remote_created_at
When the expense was created.
account
The expense's payment account.
contact
The expense's contact.
total_amount
The expense's total amount.
sub_total
The expense's total amount before tax.
total_tax_amount
The expense's total tax amount.
currency
The expense's currency. The currency code in ISO 4217 format.
exchange_rate
The expense's exchange rate.
inclusive_of_tax
If the transaction is inclusive or exclusive of tax. True if inclusive, False if exclusive.
company
The company the expense belongs to.
employee
The employee this overall transaction relates to.
memo
The expense's private note.
lines
tracking_categories
remote_was_deleted
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
accounting_period
The accounting period that the Expense was generated in.
field_mappings
remote_data
remote_fields