# journalLines resource type (v1.0)
> NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0)<../../v2.0>.
Represents a line in a journal in Business Central.
> NOTE
> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.
## Methods
Method|Return Type|Description
../api/dynamics_journalline_get|journalLines|Gets a journal line.
POST journalLines<../api/dynamics_create_journalline>|journalLines|Creates a journal line.
PATCH journalLines<../api/dynamics_journalline_update>|journalLines|Updates a journal line.
../api/dynamics_journalline_delete|none|Deletes a journal line.
## Navigation
Method|Type|Description
dynamics_attachment|paymentTerm|Attach documents to journalLine.
dynamics_account|paymentMethod|Gets the account.
## Properties
Property|Type|Description
id|GUID|The unique ID of the journal line. Non-editable.
journalDisplayName|string, maximum size 10|The display name of the journal that this line belongs to. Read-Only.
lineNumber|integer|The number of the journal line.
accountId|GUID|The unique ID of the account that the journal line is related to.
accountNumber|string, maximum size 20|The number of the account that the journal line is related to.
postingDate|date|The date that the journal line is posted.
documentNumber|string, maximum size 20|Specifies a document number for the journal line.
externalDocumentNumber|string, maximum size 20|Specifies an external document number for the journal line.
amount|decimal|Specifies the total amount (including VAT) that the journal line consists of.
description|string, maximum size 50|The description of the journal line, provided by the user or autocreated.
comment|string, maximum size 250|A user specified comment on the journal line.
lastModifiedDateTime|datetime|The last datetime the journal line was modified. Read-Only.
## Relationships
A journal line is a subpage of a journal. It cannot be accessed directly.
A journal line can be a "Parent Entity" of the dimension lines.
An Account (accountId) must exist in the Accounts table.
## JSON representation
Here is a JSON representation of the resource.
```json
{
    "id": "GUID",
    "journalDisplayName": "string",
    "lineNumber": "integer",
    "accountId": "GUID",
    "accountNumber": "string",
    "postingDate": "date",
    "documentNumber": "string",
    "externalDocumentNumber": "string",
    "amount": "decimal",
    "description": "string",
    "comment": "string",
    "lastModifiedDateTime": "datetime"
}
```
## Related information
Journal Line<dynamics_journalline>
Get Journal Line<../api/dynamics_journalline_get>
Create Journal Line<../api/dynamics_create_journalline>
Update Journal Line<../api/dynamics_journalline_update>
Delete Journal Line<../api/dynamics_journalline_delete>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v1.0/resources/dynamics_journalline, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/api-reference/v1.0/resources/dynamics_journalline/
