Create Manual Journal

View as Markdown
Creates a manual journal entry. `transaction_date`, `currency_code`, and at least two `lines` are required; total debits must equal total credits or the request is rejected with 422. The entry is created as a DRAFT. `auto_post` is optional; when true, the entry is posted immediately after creation (the project must have `allow_create_and_post` enabled, otherwise the request is rejected with 400). Posting is rejected with 423 if the transaction date falls in a locked accounting period.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active project.

Request

This endpoint expects an object.
transaction_datedatetimeRequired
currency_codestringRequired
lineslist of objectsRequired
exchange_ratedoubleOptional
descriptionstringOptional
auto_postbooleanOptional

Response

Created
statusboolean
messagestring
dataobject