Codat Sync For Expenses
Codat Sync for Expenses is an API service for syncing expense data into accounting systems.
- Base URL:
https://api.codat.io - Auth:
header:Authorization(pass your key via theapiKeyinput)
Operations
get_company_configuration— GET /companies/{companyId}/sync/expenses/config — Get company configurationget_mapping_options— GET /companies/{companyId}/sync/expenses/mappingOptions — Mapping optionsget_last_successful_sync— GET /companies/{companyId}/sync/expenses/syncs/lastSuccessful/status — Last successful syncget_latest_sync— GET /companies/{companyId}/sync/expenses/syncs/latest/status — Latest sync statuslist_syncs— GET /companies/{companyId}/sync/expenses/syncs/list/status — List sync statusesget_sync_by_id— GET /companies/{companyId}/sync/expenses/syncs/{syncId}/status — Get Sync status
Inputs
apiKey— your codat-sync-for-expenses API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_company_configuration
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_company_configuration, get_mapping_options, get_last_successful_sync, get_latest_sync, list_syncs, get_sync_by_id |
companyId |
string | no | — | Path parameter companyId (required by some operations). |
syncId |
string | no | — | Path parameter syncId (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |