The Expense object represents a direct purchase by a business, typically made with a check, credit card, or cash. Each Expense object groups related expenses, with individual expenses recorded in the lines object.
Model ID | Event Data Key | Description |
---|---|---|
accounting_expenses_info | info | |
accounting_expense_lineItems | lineItems |
Manual Trigger Required for Initial Sync
The data models sync does not start automatically. To initiate the synchronization process, you must explicitly call the Sync Start API for the initial sync.
Expense Info
Model ID: accounting_expenses_info
Name | Type | Description |
---|---|---|
id | String | |
transactionDate | Date | |
employeeId | String | |
contactId | String | |
companyId | String | |
linkedCompanyIds | List[String] | |
totalAmount | Double | |
description | String | |
currency | String | One of among Currency Codes (ISO 4217) like-INR ,USD ,EUR |
exchangeRate | String | |
createdAt | Date | |
updatedAt | Date |
Expense Entries
Model ID: accounting_expense_lineItems
Name | Type | Description |
---|---|---|
lineItems | List[ExpsnseLineItem] |
ExpenseLineItem
Name | Type | Description |
---|---|---|
id | String | |
amount | String | |
accounId | Double | |
description | String | |
contactId | String | |
taxRateId | String | |
trackingCategories | List[TrackingCategoryInfo] | Please refer to TrackingCategory |
Event Data Example
{
"info": {
"id": "104916",
"transactionDate": "2025-02-18T00:00:00Z",
"employeeId": "9547",
"contactId": "123",
"companyId": "3",
"linkedCompanyIds": [
"123",
"456"
],
"totalAmount": 100,
"description": "Misc Expenses",
"currency": "USD",
"exchangeRate": 1,
"createdAt": "2025-02-19T21:37:00Z",
"updatedAt": "2025-02-19T21:37:00Z"
},
"lineItems": [
{
"id": "912",
"amount": 100,
"accountId": "99",
"description": "Office Furniture Expense",
"contactId": "123",
"taxRateId": "101",
"trackingCategories": [
{
"categoryId": "20",
"categoryName": "Accessories",
"parentCategoryId": "21",
"parentCategoryName": "Inventory"
}
]
}
]
}