{% extends "base.html" %} {% from "_macros.html" import 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 }}

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

{% 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

{% 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 view.errors or view.warnings %}Review the {{ view.errors + view.warnings }} break{{ "s" if view.errors + view.warnings != 1 }}{% 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" }}
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 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.failed %}{{ item.failed }} break{{ "s" if item.failed != 1 }}{% 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 {{ view.errors + view.warnings }} in Rules
{% for row in view.breaks %} {{ severity_chip(row.severity) }}{{ row.rule_id }}{{ row.unsatisfied }} 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 %}