Create General Journal
BetaCreates a new general journal with header and lines in a single request.
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an object.
code
The code for the new journal batch.
lines
A list of lines to create within the new journal.
description
The display name (description) for the new journal batch.
Response
This endpoint returns an object.
id
The unique identifier for the journal.
code
The code for the journal batch.
lastModifiedDateTime
The date and time the journal was last modified.
lines
A list of the lines within this journal.
displayName
The display name (description) of the journal batch.
templateDisplayName
The name of the journal template this journal is based on.
balancingAccountId
The default balancing account ID for the journal lines.
balancingAccountNumber
The default balancing account number for the journal lines.