Loan writeback
Create bank feed account mapping
Changed onThe Create bank account mapping endpoint creates a new mapping between a source bank account and a potential account in the accounting software (target account).
A bank feed account mapping is a specified link between the source account (provided by the Codat user) and the target account (the end user's account in the underlying software).
To find valid target account options, first call the List bank feed account mappings endpoint.
For custom builds only
Only use this endpoint if you are building your own account management UI.
Account mapping variability
The method of mapping the source account to the target account varies depending on the accounting software your company uses.
Mapping options:
- API Mapping: Integrate the mapping journey directly into your application for a seamless user experience.
- Codat UI Mapping: If you prefer a quicker setup, you can utilize Codat's provided user interface for mapping.
- Accounting Platform Mapping: For some accounting software, the mapping process must be conducted within the software itself.
Integration-specific behavior
| Bank Feed Integration | API Mapping | Codat UI Mapping | Accounting Platform Mapping |
|---|---|---|---|
| Xero | ✅ | ✅ | |
| FreeAgent | ✅ | ✅ | |
| Oracle NetSuite | ✅ | ✅ | |
| Exact Online (NL) | ✅ | ✅ | |
| QuickBooks Online | ✅ | ||
| Sage | ✅ |
post/companies/{companyId}/connections/{connectionId}/bankFeedAccounts/mapping
Request
- Base URL: https://api.codat.io
- URL: https://api.codat.io/companies/{companyId}/connections/{connectionId}/bankFeedAccounts/mapping
- Auth: API key in header Authorization
Request body
Example request
{
"sourceAccountId": "acc-002",
"targetAccountId": "account-081"
}Response
Success
Example response
{
"sourceAccountId": "acc-002",
"targetAccountId": "account-081",
"status": "Failed",
"error": "A feed connection already exists to this account"
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info