Statement of Profit or Loss

Endpoints

https://aktiva.meritaktiva.fi/api/v1/getprofitrep

Query Payload

{

EndDate: “yyyymmdd”,

PerCount: n,

DepFilter: “”

}

FieldTypeComment
EndDateStrPeriod end date
PerCountIntNumber of periods (months)
DepFilterStrDepartment if used

Succsessful result

ErrorMsg
DataData Object

Data Object

RDid
NoReport line number
Description
RowType1-row description, 3-account turnover, 4-formula
BalanceReport line totals starting from the period enddate descendingIf RowType=1 Balance= null
DetailsDetails ObjectReport line detail info

Details Object

AccountId
AccountCode
AccountName
TypeId3-revenue, 4-expenses
BalanceReport line totals starting from the period enddate descending