Every endpoint in Accountant: 46 operations across 13 resources. Each one takes the same API key and returns the same error shapes as the rest of the API; see Authentication and Errors and limits.
Every path below is relative to https://app.jaicrm.ai. A key only reaches what it was granted when it was created, an endpoint you cannot use answers 403 rather than hiding.
Journals
GET/api/accountant/journals
List journals
curl -X GET https://app.jaicrm.ai/api/accountant/journals
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/accountant/journals/{id}
Read one journal
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/accountant/journals/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/journals
Create a journal
curl -X POST https://app.jaicrm.ai/api/accountant/journals
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/journals/{id}/post
Create a post
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/accountant/journals/RECORD_ID/post
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/journals/{id}/reverse
Create a reverse
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/accountant/journals/RECORD_ID/reverse
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/accountant/journals/{id}
Change a journal
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/accountant/journals/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/journals/{id}
Delete a journal
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/journals/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Assets
GET/api/accountant/assets
List assets
curl -X GET https://app.jaicrm.ai/api/accountant/assets
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/accountant/assets/{id}
Read one asset
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/accountant/assets/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/assets
Create an asset
curl -X POST https://app.jaicrm.ai/api/accountant/assets
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/assets/{id}/dispose
Create a dispose
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/accountant/assets/RECORD_ID/dispose
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/assets/depreciate
Create a depreciate
curl -X POST https://app.jaicrm.ai/api/accountant/assets/depreciate
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/accountant/assets/{id}
Change an asset
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/accountant/assets/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/assets/{id}
Delete an asset
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/assets/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Accounts
GET/api/accountant/accounts
List accounts
curl -X GET https://app.jaicrm.ai/api/accountant/accounts
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/accountant/accounts/{id}
Read one account
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/accountant/accounts/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/accounts
Create an account
curl -X POST https://app.jaicrm.ai/api/accountant/accounts
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/accounts/restore-defaults
Create a restore default
curl -X POST https://app.jaicrm.ai/api/accountant/accounts/restore-defaults
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/accountant/accounts/{id}
Change an account
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/accountant/accounts/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/accounts/{id}
Delete an account
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/accounts/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Templates
GET/api/accountant/templates
List templates
curl -X GET https://app.jaicrm.ai/api/accountant/templates
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/templates
Create a template
curl -X POST https://app.jaicrm.ai/api/accountant/templates
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/templates/{id}/use
Create an use
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/accountant/templates/RECORD_ID/use
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/accountant/templates/{id}
Change a template
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/accountant/templates/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/templates/{id}
Delete a template
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/templates/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Recurring
GET/api/accountant/recurring
List recurring
curl -X GET https://app.jaicrm.ai/api/accountant/recurring
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/recurring
Create a recurring
curl -X POST https://app.jaicrm.ai/api/accountant/recurring
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/recurring/{id}/run
Create a run
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/accountant/recurring/RECORD_ID/run
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/accountant/recurring/{id}
Change a recurring
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/accountant/recurring/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/recurring/{id}
Delete a recurring
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/recurring/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Budgets
GET/api/accountant/budgets
List budgets
curl -X GET https://app.jaicrm.ai/api/accountant/budgets
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/accountant/budgets/{id}
Read one budget
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/accountant/budgets/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/budgets
Create a budget
curl -X POST https://app.jaicrm.ai/api/accountant/budgets
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/accountant/budgets/{id}
Change a budget
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/accountant/budgets/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/budgets/{id}
Delete a budget
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/budgets/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Revaluations
GET/api/accountant/revaluations
List revaluations
curl -X GET https://app.jaicrm.ai/api/accountant/revaluations
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/revaluations
Create a revaluation
curl -X POST https://app.jaicrm.ai/api/accountant/revaluations
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/revaluations/{id}
Delete a revaluation
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/revaluations/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Locks
GET/api/accountant/locks
List locks
curl -X GET https://app.jaicrm.ai/api/accountant/locks
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/accountant/locks
Create a lock
curl -X POST https://app.jaicrm.ai/api/accountant/locks
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/accountant/locks/{id}
Delete a lock
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/accountant/locks/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Revaluation
GET/api/accountant/revaluation
List revaluation
curl -X GET https://app.jaicrm.ai/api/accountant/revaluation
-H 'Authorization: Bearer YOUR_API_KEY'
Accountant
GET/api/accountant/
List accountant
curl -X GET https://app.jaicrm.ai/api/accountant/
-H 'Authorization: Bearer YOUR_API_KEY'
Trial balance
GET/api/accountant/trial-balance
List trial balance
curl -X GET https://app.jaicrm.ai/api/accountant/trial-balance
-H 'Authorization: Bearer YOUR_API_KEY'
Ledger
GET/api/accountant/ledger/{id}
Read one ledger
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/accountant/ledger/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Balance sheet
GET/api/accountant/balance-sheet
List balance sheet
curl -X GET https://app.jaicrm.ai/api/accountant/balance-sheet
-H 'Authorization: Bearer YOUR_API_KEY'
Something missing or wrong here? Tell us. A question that needed asking usually means a page that needed writing.