ReportResult
ResponseA run report. Every report has this shape, so one client renders, exports or diffs any of them.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
6Value columns, in order.
4 attributes of each item
Type of the values, all sent as strings. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) text, decimal, integer, date, uuid
The time span a value column covers.
Rows, in order.
7 attributes of each item
Stable key of the row within the report: a statement line's code, an account or contact id, an entry line's id. Use it with listReportRowEntries.
What the row is. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) section, line, account, contact, entry, total
Cell values by column key: decimal strings, dates, ids or text; null when empty.
The record the row stands for, when it is one.
Integrity of the result.
2 attributes of checks
Balance sheet: assets equal liabilities plus equity in every period. Trial balance and control totals: debits equal credits. null where it does not apply.