Endpoints
Estonia: https://aktiva.merit.ee/api/v1/GetGLBatchesFull
Poland: https://program.360ksiegowosc.pl/api/v1/GetGLBatchesFull
Request Payload
| Field | Type | Comment |
| PeriodStart | Date | |
| PeriodEnd | Date | Max length of the period 31 days |
| WithLines | int | if 1 then with the lines |
| WithCostAlloc | int | if 1 then with the cost allocations |
| DateType | Int | if 0 then documentdate,
if 1 then changeddate |
Succesful result
| Field | Comment |
| GLBId | |
| BatchCode | |
| No | |
| DocId | The Id of source document |
| Document | |
| BatchDate | |
| CurrencyCode | |
| CurrencyRate | |
| TotalAmount | |
| PriceInclVat | |
| ChangedDate | |
| Entries | Array of Entries Objects |
Entries object
| Field | Type | Comment |
| AccountCode | Str | |
| AccontName | Str | |
| Memo | Str | |
| DepartmentCode | Str | |
| DebitAmount |
Decimal | |
| DebitCurrency | Decimal | |
| CreditAmount | Decimal | |
| CreditCurrency | Decimal | |
| TypeId | Int | |
| BatchId | Guid | |
| EntryId | Guid | |
| TaxId | Guid | |
| TaxPct | Decimal | |
| CostAllocLines | Array | Array of CostAllocLines object |
Cost Allocation Lines object
| Type | Comment |
| SourceType | Dimension Id |
| Code | Dimension value code |
| Name | Dimension value name |
| Mult | |
| Amount | |
| BatchId | |
| EntryId | |