I'm using the MS Dynamics Business Central api to query the financial reports. However, it seems that the data returned, specifically by the incomeStatements endpoint in the example below, do not contain the account id reference needed to link that line back to the gl account.
{
/id/: /bafbf171-44e3-ea11-bb43-000d3a2feca1/,
/lineNumber/: 10000,
/display/: /Income/,
/netChange/: 0,
/lineType/: /header/,
/indentation/: 0,
/dateFilter/: /2020-08-21/
}
The Id field there references a unique id for the report, and the display field seems to reference a 'sub type' of an account, rather than a specific account. Does anyone know if there is a way to link the report line to the correct account?