Journals
Update Journal
Update Journal
patch/accounting/journals/{id}
Path parameters
idstring required
ID of the record you are acting upon.
Query parameters
rawboolean
Include raw response. Mostly used for debugging purposes
Headers
x-apideck-consumer-idstring required
ID of the consumer which you want to get or push data from
x-apideck-app-idstring required
The ID of your Unify application
x-apideck-service-idstring
Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
x-apideck-company-idstring
The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings.
Request body
Example request
{
"id": "12345",
"code": "90",
"name": "General journal",
"description": "General journal",
"type": "general",
"allow_vat": true,
"currency": "USD",
"iban": "GB33BUKB20201555555555",
"default_account": {
"id": "123456",
"type": "ledger_account",
"code": "1100",
"display_id": "123456",
"account_number": "123465",
"name": "Current assets",
"downstream_id": "12345"
},
"clearing_account": {
"id": "123456",
"type": "ledger_account",
"code": "1100",
"display_id": "123456",
"account_number": "123465",
"name": "Current assets",
"downstream_id": "12345"
},
"created_at": "2020-09-30T07:43:32.000Z",
"updated_at": "2020-09-30T07:43:32.000Z"
}Response
Journals
Example response
{
"status_code": 200,
"status": "OK",
"service": "exact-online",
"resource": "journals",
"operation": "update",
"data": {
"id": "12345"
}
}Changes
Changed in 2 of the 160 revisions of this API.2
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
endpoint added
endpoint-added
- ○