{"title":"journalLines resource type (v1.0)","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v1.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/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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v1.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":"(v1.0) A journal line in Dynamics 365 Business Central.","date":"2024-05-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"journalLines resource type (v1.0)","slug":"journallines-resource-type-v10","at":0,"chars":2877},{"level":2,"title":"Methods","slug":"methods","at":371,"chars":355},{"level":2,"title":"Navigation","slug":"navigation","at":726,"chars":152},{"level":2,"title":"Properties","slug":"properties","at":878,"chars":1070},{"level":2,"title":"Relationships","slug":"relationships","at":1948,"chars":212},{"level":2,"title":"JSON representation","slug":"json-representation","at":2160,"chars":442},{"level":2,"title":"Related information","slug":"related-information","at":2602,"chars":275}],"text":"# journalLines resource type (v1.0)\n> NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0)<../../v2.0>.\nRepresents a line in a journal 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|journalLines|Gets a journal line.\nPOST journalLines<../api/dynamics_create_journalline>|journalLines|Creates a journal line.\nPATCH journalLines<../api/dynamics_journalline_update>|journalLines|Updates a journal line.\n../api/dynamics_journalline_delete|none|Deletes a journal line.\n## Navigation\nMethod|Type|Description\ndynamics_attachment|paymentTerm|Attach documents to journalLine.\ndynamics_account|paymentMethod|Gets the account.\n## Properties\nProperty|Type|Description\nid|GUID|The unique ID of the journal line. Non-editable.\njournalDisplayName|string, maximum size 10|The display name of the journal that this line belongs to. Read-Only.\nlineNumber|integer|The number of the journal line.\naccountId|GUID|The unique ID of the account that the journal line is related to.\naccountNumber|string, maximum size 20|The number of the account that the journal line is related to.\npostingDate|date|The date that the journal line is posted.\ndocumentNumber|string, maximum size 20|Specifies a document number for the journal line.\nexternalDocumentNumber|string, maximum size 20|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, maximum size 50|The description of the journal line, provided by the user or autocreated.\ncomment|string, maximum size 250|A user specified comment on the journal line.\nlastModifiedDateTime|datetime|The last datetime the journal line was modified. Read-Only.\n## Relationships\nA journal line is a subpage of a journal. It cannot be accessed directly.\nA journal line can be a \"Parent Entity\" of the dimension lines.\nAn Account (accountId) must exist in the Accounts table.\n## JSON representation\nHere is a JSON representation of the resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"journalDisplayName\": \"string\",\n    \"lineNumber\": \"integer\",\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    \"lastModifiedDateTime\": \"datetime\"\n}\n```\n## Related information\nJournal Line<dynamics_journalline>\nGet Journal Line<../api/dynamics_journalline_get>\nCreate Journal Line<../api/dynamics_create_journalline>\nUpdate Journal Line<../api/dynamics_journalline_update>\nDelete Journal Line<../api/dynamics_journalline_delete>"}