ReportDefinitionLine
ResponseOne line of a report definition.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
10The line's id; send it back to keep the line and its account placements.
Show the amount with the opposite sign to how the ledger nets it (debit positive), e.g. revenue as positive.
How the values are shown: money, a plain ratio or a percentage. ratio and percent need a formula, except on a subtotal grouping. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) currency, ratio, percent
For a computed line: other lines' codes with numbers, + - * / and parentheses. A formula line has no children.
Set by the app, never by a client: the line the statement puts this year's profit (current_year_earnings) or earlier years' unclosed result (retained_earnings) on, or where tax owed and tax prepaid swap by sign (tax_debts, tax_prepayments).
Known values (open: expect new ones) current_year_earnings, retained_earnings, tax_debts, tax_prepayments
Details
A line with a role cannot be removed (409 REPORT_DEFINITION_ROLE_LINE). New values may be added: treat a value you do not know as valid, not as an error.