Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (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.
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. |
Navigation
| Method | Type | Description |
|---|---|---|
| attachments | paymentTerm | Attach documents to journalLine. |
| 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.
{
"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
Get Journal Line
Create Journal Line
Update Journal Line
Delete Journal Line