journalLines resource type
Represents a line in a journal in Dynamics 365 Business Central.
Note
For information about enabling APIs for Dynamics NAV see Enabling the APIs for Dynamics 365 Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET journalLines | journalLines | Gets a journal line. |
POST journalLines | journalLines | Creates a journal line. |
PATCH journalLines | journalLines | Updates a journal line. |
DELETE journalLines | none | Deletes a journal line. |
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.
{
"id": "GUID",
"journalDisplayName": "string",
"lineNumber": "integer",
"accountId": "GUID",
"accountNumber": "string",
"postingDate": "date",
"documentNumber": "string",
"externalDocumentNumber": "string",
"amount": "decimal",
"description": "string",
"comment": "string",
"lastModifiedDateTime": "datetime"
}
See also
Graph Reference
Working with Dynamics 365 Business Central in Microsoft Graph
Enabling the APIs for Dynamics 365 Business Central
Endpoints for the APIs
Error Codes
Journal Line
Get Journal Line
Create Journal Line
Update Journal Line
Delete Journal Line