{% extends "base.html" %} {% from "_macros.html" import deny_chip, issue_chip, severity_chip %} {% block title %}Overview · {{ current.name }} — rwa-filer dash{% endblock %} {% block content %} {% set header = current.ret.header %} {% set rules_url = "/returns/" ~ current.return_id ~ "/rules" %}
Overview

{{ header.module }} return at {{ header.reference_date | long_date }}

Entity {{ header.entity_identifier }} · {{ header.currency }} · taxonomy {{ current.pack.info.version }} · {{ current.ret.facts.height | count }} facts in {{ current.ret.tables | length }} tables · opened {{ current.opened_at | moment }}

Download evidence
{% if view.submittable %}
Nothing found blocks submission

Validation status: {{ view.status_line }}

{% if view.warnings %}{{ view.warnings }} Warning-severity break{{ "s" if view.warnings != 1 }} must be explained, but do{{ "es" if view.warnings == 1 }} not block it. {% endif %}{{ view.executed | count }} of {{ view.enforced | count }} enforced rules were executed.{% if view.missing %} {{ view.missing | length }} template{{ "s" if view.missing | length != 1 }} the reported ones are checked against {{ "are" if view.missing | length != 1 else "is" }} not in this return, so {{ view.missing_rules | count }} rule{{ "s" if view.missing_rules != 1 }} did not run.{% endif %}

{% else %}
Blocked: {{ view.blocking }} finding{{ "s" if view.blocking != 1 }} would make the gateway reject this return

Validation status: {{ view.status_line }}

{% if view.structure %}{{ view.structure | length }} structure finding{{ "s" if view.structure | length != 1 }}: the taxonomy cannot express part of the return, so no XBRL file can be written until {{ "they are" if view.structure | length != 1 else "it is" }} fixed. {% else %}There are no structure findings: every fact has a cell in the taxonomy. {% endif %} {% if view.errors %}{{ view.errors }} Error-severity rule break{{ "s" if view.errors != 1 }} reject{{ "s" if view.errors == 1 }} a submission. {% endif %} {% if view.warnings %}{{ view.warnings }} Warning-severity break{{ "s" if view.warnings != 1 }} must be explained.{% endif %}{% if view.missing %} {{ view.missing | length }} template{{ "s" if view.missing | length != 1 }} the reported ones are checked against {{ "are" if view.missing | length != 1 else "is" }} not in this return, so {{ view.missing_rules | count }} rule{{ "s" if view.missing_rules != 1 }} did not run.{% endif %}

{% if visible_rule_count %}Review {{ visible_rule_count }} {{ "visible " if review.active }}break{{ "s" if visible_rule_count != 1 }}{% elif view.errors or view.warnings %}All rule breaks hidden by review filters{% endif %}
{% endif %}
Structure findings
{{ view.structure | length }}
{{ "every fact has a cell in the taxonomy" if not view.structure else "the taxonomy cannot express these" }}
{{ "Filing rule breaks" if review.active else "Rule breaks" }}
{{ view.errors + view.warnings }}
{{ view.errors }} error · {{ view.warnings }} warning
Rules executed
{{ view.executed | count }}
of {{ view.enforced | count }} the module enforces
Templates covered
{{ (view.templates | length) - (current.validation.report.templates_uncovered | length if current.validation.report else 0) }} of {{ view.templates | length }}
reported templates at least one rule ran on
{% if breakdown %}

{% if breakdown.group_code %}Validated group {{ breakdown.group_code }} · {{ breakdown.group_rows | count }} facts{% else %}Summed from {{ breakdown.rows_summed | count }} row{{ "s" if breakdown.rows_summed != 1 }}{% endif %}

Where the breaks come from

{% if breakdown.group_code %}The remaining {{ breakdown.rows_summed | count }} unit rows are available for investigation.{% else %}Rows of {{ breakdown.file }} for the same cell are added together, and the sum is the figure validated and filed. The rows are kept, so any figure can be split by {{ breakdown.dimensions | map("first") | join(" or ") }}.{% endif %}

Rows read
{{ breakdown.rows_read | count }}
Cells they make
{{ breakdown.cells | count }}
Cells of several rows
{{ breakdown.summed_cells | count }}
{% if breakdown.line_ref %}
Repeats of a line reference dropped
{{ breakdown.repeats_dropped | count }}
{% endif %}
{% for dimension, members, shared in breakdown.dimensions %} {% endfor %}
Breakdown columnMembersCells fed by more than oneInvestigate
{{ dimension }}{{ members | count }}{{ shared | count }}Investigate

{% if breakdown.line_ref %}Line reference {{ breakdown.line_ref }}: {{ "a reference given twice in one cell stopped the file" if breakdown.on_repeat == "stop" else "a reference given twice in one cell with the same figures was kept once" }}; none is left.{% elif not breakdown.group_code %}No line reference was named, so every row counts: two rows that agree on everything are two amounts, and both are added.{% endif %}

{% elif current.reading.unread_columns %}

This file has columns that were not read

Break the return down by them

{{ current.reading.unread_columns | join(", ") }}. Opened with one as a breakdown column, each break can be traced to the rows behind it.

{% endif %} {% if view.structure %}

Structure findings

What the taxonomy cannot express. A return with any of these cannot be written as XBRL at all.

{% for finding in view.structure %}
{{ finding.code }} · {{ finding.subject }}
{% endfor %}
{% endif %}

What was checked

{% if view.rule_book %}rule book {{ view.rule_book }} · {{ view.enforced | count }} rules enforced for {{ header.module }}{% else %}no rule book is packaged for {{ header.module }}: only the structure was checked{% endif %}
{% if view.enforced %}
{{ view.status_counts['PASS'] | count }} passed {{ view.status_counts['FAIL'] | count }} failed {{ view.status_counts['NOT_EVALUATED'] | count }} not evaluated
{% if view.reasons %}
{% for reason, number, text in view.reasons %}
{{ reason }}
{{ number | count }} rule{{ "s" if number != 1 }}: {{ text }}
{% endfor %}
{% endif %} {% endif %} {% if view.shortfall %}
Not checked well enough

{{ view.shortfall.message }}

{% else %}

“No breaks” only means something when rules ran, so this page always shows what could not be checked and why.

{% endif %}

Templates reported

{% for item in view.templates %} {% endfor %}
TemplateTitleFactsRules on itResultOpen
{{ item.code }} {{ item.title }} {{ item.cells | count }} {% if item.rules %}
{{ item.passed }} passed · {{ item.failed }} failed · {{ item.not_evaluated }} not evaluated
{% else %}no rule reads it{% endif %}
{% if item.visible_failed %}{{ item.visible_failed }} break{{ "s" if item.visible_failed != 1 }}{% elif item.failed %}no visible breaks{% else %}no breaks{% endif %} {% if item.tables %}View{% endif %}
{% if view.missing %}

Linked templates not in this return

{{ view.missing_rules | count }} rule{{ "s" if view.missing_rules != 1 }} not run

Rules check the templates reported here against these, so none of those rules ran. The gateway does not run them either while a template is not filed, so the return can be accepted unchecked, and without these figures. Load each one the firm is required to report; a negative filing indicator records one it is not.

{% for item in view.missing %} {% endfor %}
TemplateTitleRules not runChecked againstRules
{{ item.code }} {{ item.title }} {{ item.rules | count }} {{ item.linked_from | join(", ") }} Its rules
{% endif %} {% if view.breaks %}

Breaks to resolve

All {{ visible_rule_count }} in Rules
{% for row in view.breaks %} {{ severity_chip(row.severity) }}{{ deny_chip(row) }}{{ issue_chip(row) }}{{ row.rule_id }}{{ row.unsatisfied - row.hidden }}{% if row.hidden %} visible{% endif %} of {{ row.evaluations }} evaluation{{ "s" if row.evaluations != 1 }} break {{ row.label or "No label published" }} {% endfor %}
{% endif %} {% endblock %} {% block command %}
Same check on the command line: rwa-filer validate {{ current.name }}
{% endblock %}