{"title":"journalLine resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_journalline/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_journalline","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A journal line object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"journalLine resource type","slug":"journalline-resource-type","at":0,"chars":3422},{"level":2,"title":"Methods","slug":"methods","at":233,"chars":378},{"level":2,"title":"Navigation","slug":"navigation","at":611,"chars":444},{"level":2,"title":"Properties","slug":"properties","at":1055,"chars":1491},{"level":2,"title":"JSON representation","slug":"json-representation","at":2546,"chars":680},{"level":2,"title":"Related information","slug":"related-information","at":3226,"chars":196}],"text":"# journalLine resource type\nRepresents a journal line in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_journalline_get|journalLine|Gets a journal line object.\n../api/dynamics_journalline_delete|none|Deletes a journal line object.\nPOST journalLine<../api/dynamics_journalline_create>|journalLine|Creates a journal line object.\nPATCH journalLine<../api/dynamics_journalline_update>|journalLine|Updates a journal line object.\n## Navigation\nNavigation|Return Type|Description\ndynamics_journal|journal|Gets the journal of the journalLine.\ndynamics_customerpaymentjournal|customerPaymentJournal|Gets the customerpaymentjournal of the journalLine.\ndynamics_account|account|Gets the account of the journalLine.\ndynamics_attachment|attachments|Gets the attachments of the journalLine.\ndynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the journalLine.\n## Properties\nProperty|Type|Description\nid|GUID|The unique ID of the journal line. Non-editable.\njournalId|GUID|The ID of the journal.\njournalDisplayName|string|The display name of the journal that this line belongs to. Read-Only.\nlineNumber|integer|The journal line item line number.\naccountType|NAV.genJournalAccountType|Specifies the type of account. It can be \"G/L Account\", \"Customer\", \"Vendor\", \"Bank Account\", \"Fixed Asset\", \"IC Partner\" or \"Employee\".\naccountId|GUID|The id of the account that the journal line is related to.\naccountNumber|string|The number of the account that the journal line is related to.\npostingDate|date|The date that the journal line is posted.\ndocumentNumber|string|Specifies a document number for the journal line.\nexternalDocumentNumber|string|Specifies an external document number for the journal line.\namount|decimal|Specifies the total amount (including VAT) that the journal line consists of.\ndescription|string|Specifies the description of the journal line.\ncomment|string|A user specified comment on the journal line.\ntaxCode|string|The tax code for the line.\nbalanceAccountType|NAV.genJournalAccountType|Specifies the type of account. It can be \"G/L Account\", \"Customer\", \"Vendor\", \"Bank Account\", \"Fixed Asset\", \"IC Partner\" or \"Employee\".\nbalancingAccountId|GUID|The balancing G/L Account ID.\nbalancingAccountNumber|string|The balancing G/L Account number.\nlastModifiedDateTime|datetime|The last datetime the journal line was modified. Read-Only.\n## JSON representation\nHere's a JSON representation of the journalLine resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"journalId\": \"GUID\",\n    \"journalDisplayName\": \"string\",\n    \"lineNumber\": \"integer\",\n    \"accountType\": \"NAV.genJournalAccountType\",\n    \"accountId\": \"GUID\",\n    \"accountNumber\": \"string\",\n    \"postingDate\": \"date\",\n    \"documentNumber\": \"string\",\n    \"externalDocumentNumber\": \"string\",\n    \"amount\": \"decimal\",\n    \"description\": \"string\",\n    \"comment\": \"string\",\n    \"taxCode\": \"string\",\n    \"balanceAccountType\": \"NAV.genJournalAccountType\",\n    \"balancingAccountId\": \"GUID\",\n    \"balancingAccountNumber\": \"string\",\n    \"lastModifiedDateTime\": \"datetime\"\n}\n```\n## Related information\n../api/dynamics_journalline_get\n../api/dynamics_journalline_delete\nPOST journalLine<../api/dynamics_journalline_create>\nPATCH journalLine<../api/dynamics_journalline_update>"}