# journalLine resource type
Represents a journal line 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|journalLine|Gets a journal line object.
../api/dynamics_journalline_delete|none|Deletes a journal line object.
POST journalLine<../api/dynamics_journalline_create>|journalLine|Creates a journal line object.
PATCH journalLine<../api/dynamics_journalline_update>|journalLine|Updates a journal line object.
## Navigation
Navigation|Return Type|Description
dynamics_journal|journal|Gets the journal of the journalLine.
dynamics_customerpaymentjournal|customerPaymentJournal|Gets the customerpaymentjournal of the journalLine.
dynamics_account|account|Gets the account of the journalLine.
dynamics_attachment|attachments|Gets the attachments of the journalLine.
dynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the journalLine.
## Properties
Property|Type|Description
id|GUID|The unique ID of the journal line. Non-editable.
journalId|GUID|The ID of the journal.
journalDisplayName|string|The display name of the journal that this line belongs to. Read-Only.
lineNumber|integer|The journal line item line number.
accountType|NAV.genJournalAccountType|Specifies the type of account. It can be "G/L Account", "Customer", "Vendor", "Bank Account", "Fixed Asset", "IC Partner" or "Employee".
accountId|GUID|The id of the account that the journal line is related to.
accountNumber|string|The number of the account that the journal line is related to.
postingDate|date|The date that the journal line is posted.
documentNumber|string|Specifies a document number for the journal line.
externalDocumentNumber|string|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|Specifies the description of the journal line.
comment|string|A user specified comment on the journal line.
taxCode|string|The tax code for the line.
balanceAccountType|NAV.genJournalAccountType|Specifies the type of account. It can be "G/L Account", "Customer", "Vendor", "Bank Account", "Fixed Asset", "IC Partner" or "Employee".
balancingAccountId|GUID|The balancing G/L Account ID.
balancingAccountNumber|string|The balancing G/L Account number.
lastModifiedDateTime|datetime|The last datetime the journal line was modified. Read-Only.
## JSON representation
Here's a JSON representation of the journalLine resource.
```json
{
    "id": "GUID",
    "journalId": "GUID",
    "journalDisplayName": "string",
    "lineNumber": "integer",
    "accountType": "NAV.genJournalAccountType",
    "accountId": "GUID",
    "accountNumber": "string",
    "postingDate": "date",
    "documentNumber": "string",
    "externalDocumentNumber": "string",
    "amount": "decimal",
    "description": "string",
    "comment": "string",
    "taxCode": "string",
    "balanceAccountType": "NAV.genJournalAccountType",
    "balancingAccountId": "GUID",
    "balancingAccountNumber": "string",
    "lastModifiedDateTime": "datetime"
}
```
## Related information
../api/dynamics_journalline_get
../api/dynamics_journalline_delete
POST journalLine<../api/dynamics_journalline_create>
PATCH journalLine<../api/dynamics_journalline_update>

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/v2.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/v2.0/resources/dynamics_journalline/
