| API | Path |
|---|---|
| journals | businesscentralPrefix/softera/softeraEInvoice/v2.0/companies({{companyId}})/journalLines |
Methods
| Method | Return Type | Description |
|---|---|---|
| GET journalLine | journalLine | Gets a journal line object. |
| POST journalLine | journalLine | Creates a journal line object. |
| PATCH journalLine | journalLine | Updates a journal line object. |
| DELETE journalLine | none | Deletes a journal line object. |
Tip
When posting many journal lines at once (e.g. importing a batch of entries from an external system), use a $batch request instead of one call per line — up to 100 operations per call. See API Process for details.
Fields
| Name | Type | MaxLength | Description |
|---|---|---|---|
| id | Guid | Read-only | |
| journalId | Guid | ||
| journalDisplayName | String | 10 | Read-only |
| lineNumber | Integer | Read-only | |
| accountType | String | ||
| accountId | Guid | ||
| accountNumber | String | 20 | |
| postingDate | Date | ||
| documentNumber | String | 20 | |
| documentType | String | ||
| externalDocumentNumber | String | 35 | |
| messageToRecipient | String | 140 | |
| amount | Integer | ||
| description | String | 100 | |
| comment | String | 250 | |
| taxCode | String | 20 | |
| balanceAccountType | String | ||
| balancingAccountNumber | String | 20 | |
| lastModifiedDateTime | DateTimeOffset | Read-only |
Related API's (expand)
| Name | Type | Description |
|---|---|---|
| attachments | Collection(Microsoft.NAV.attachment) | |
| dimensionSetLines | Collection(Microsoft.NAV.dimensionSetLine) |