Getting GL Transaction Details

Endpoints

Estonia:    https://aktiva.merit.ee/api/v1/getglbatch
Poland:     https://program.360ksiegowosc.pl/api/v1/getglbatch

Request Payload

{ ID: "xxxx-xxx-xxxxx-xx-xxxxxx",
  AddAttachment: true/false
 }

GetGlBatchesObject

FieldTypeComment 
IdGuid

Successful result

Field Name Type Comment
Header GLBHeader object  
Lines Array of GLEntry objects  

GLBHeaderObject

Field Name Comment
GLBId  
BatchCode  
No       
Document     
BatchDate  
CurrencyCode       i.e. EUR, PLN etc
CurrencyRate DebitCurrency and CreditCurrency will get value by multiplication of this rate. If currency is local currency, the rate is 1 and the DC and CC values are the same as amounts.
TotalAmount        
PriceInclVat  
FileNameStr
FileContentFile in base64

GLEntryObject

Field Name Comment
AccountCode  
Memo  
DepartmentCode  
TaxName  
DebitAmount  
DebitCurrency   amount in currency e.g. amount*currency rate
CreditAmount  
CreditCurrency   amount in currency e.g. amount*currency rate