{% extends "base.html" %} {% load erp_tags %} {% block title %}{{ page_title }}{% endblock %} {% block content %}
Upload cleaned chart-of-accounts and/or transaction files. Company selection is required — accounts and entries are company-scoped and the wrong one corrupts the books.
.csv .xlsx .xlsm — accepted.
.xls — legacy Excel, refused (openpyxl cannot read it; re-export as .xlsx or .csv).
Dry run is checked by default. It runs the true import inside a rolled-back transaction so the report shows exactly what would be written before anything commits.
{% for line in report_lines %}{{ line }}
{% endfor %}