Expenses
Update expense transactions
The Update expense endpoint updates an existing expense transaction in the accounting software for a given company's connection.
Expense transactions represent transactions made with a company debit or credit card.
Supported integrations
The following integrations are supported for each transaction type. The Reward and Chargeback transaction types are not supported for any integration.
| Integration | Payment | Refund |
|---|---|---|
| FreeAgent | Yes | No |
| QuickBooks Desktop | Yes | Yes |
| QuickBooks Online | Yes | Yes |
| Oracle NetSuite | Yes | No |
| Sage Intacct | Yes | No |
| Xero | Yes | No |
| Zoho Books | Yes | No |
Integration-specific behavior
| Integration | Specifics |
|---|---|
| QuickBooks Desktop | Refund updates are supported for credit card accounts only. |
| Sage Intacct | To sync debit card expenses, map the debit card to a Credit Card with the account type set to Debit. |
put/companies/{companyId}/sync/expenses/expense-transactions/{transactionId}
Request
- Base URLhttps://api.codat.io
- URLhttps://api.codat.io/companies/{companyId}/sync/expenses/expense-transactions/{transactionId}
- AuthAPI key in header Authorization
Request body
Response
Accepted
Example response
{
"syncId": "1ad0695c-4566-4715-918c-adbb03eac81e"
}Changes
No recorded changes to this operation across all 53 revisions of this API.