Expenses
Create expense transaction
The Create expense endpoint creates an 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
| Integration | Supported |
|---|---|
| Dynamics 365 Business Central | Yes |
| FreeAgent | Yes |
| QuickBooks Desktop | Yes |
| QuickBooks Online | Yes |
| Oracle NetSuite | Yes |
| Sage Intacct | Yes |
| Xero | Yes |
| Zoho Books | Yes |
post/companies/{companyId}/sync/expenses/expense-transactions
Request body
Example request
[
{
"id": "a44135b0-6882-489a-83fe-a0c57a4afb19",
"type": "Payment",
"issueDate": "2024-05-21T00:00:00+00:00",
"currency": "GBP",
"currencyRate": 1,
"contactRef": {
"id": "430",
"type": "Supplier"
},
"bankAccountRef": {
"id": "97"
},
"merchantName": "Amazon UK",
"notes": "amazon purchase",
"lines": [
{
"netAmount": 100,
"taxAmount": 20,
"taxRateRef": {
"id": "23_Bills"
},
"accountRef": {
"id": "35"
},
"trackingRefs": [
{
"id": "DEPARTMENT_3"
},
{
"dataType": "trackingCategories"
}
],
"invoiceTo": {
"id": "504",
"type": "customer"
}
}
]
}
]Response
OK
Example response
{
"syncId": "cd937d46-8e41-43a9-9477-a79158ffd98a"
}