ReportDefinitionInput
RequestA new report definition. With based_on the lines (and, unless copy_accounts is false, the account placements) are copied from that layout and every other field defaults to the source's; lines cannot be sent with it (change the copy with updateReportDefinition). Without it, basis is required.
Sent in requests. Its values are closed: anything not listed is refused.
Attributes
8Code to run it with, unique per organization and version. A built-in layout's code may be taken only by a copy of that layout (based_on the same code): the copy then replaces it for this organization, keeping its role lines, XBRL elements and account placements.
Details
Any other use of a built-in code is 409 REPORT_DEFINITION_BUILT_IN pointing at /data/code.
as_of balances at a date, flow movement over a range. Required without based_on.
One of as_of, flow
The lines in display order, each parent before or after its children.
10 attributes of each item
Code of the line (as sent) this one sits under; null or absent for a top line.
For a computed line: codes of other lines with numbers, + - * / and parentheses. Null or absent for an ordinary line.