{% extends "consol/base.html" %}{% load consol_tags %} {% block title %}Trial balances{% endblock %} {% block content %}
Upload one CSV per entity per period. Re-uploading replaces the current version (history kept).
Format: account,name,debit,credit,counterparty. Counterparty is the group entity code for intercompany lines. Amounts in the entity's functional currency; the TB must balance to zero.
Upload rejected — nothing was saved.
{% endif %} {% for w in parsed.warnings %}{{ w }}
{% endfor %}Lines read: {{ parsed.rows|length }} · debits {{ parsed.total_debit|money }} · credits {{ parsed.total_credit|money }}
{% else %}Upload a file to see checks: required columns, numeric amounts, known counterparties, debits = credits, unmapped accounts.
{% endif %}| Period | Entity | File | Uploaded | By | |
|---|---|---|---|---|---|
| {{ u.period.label }} | {{ u.entity.code }} · {{ u.entity.functional_currency }} | {{ u.filename }} | {{ u.uploaded_at|date:"d M Y H:i" }} | {{ u.uploaded_by|default:"—" }} | View lines |