{% if style.logo_url %} {% endif %}
{{ data.from.name }}
{% if data.from.address %}
{{ data.from.address | nl2br }}
{% endif %} {% if data.from.email or data.from.phone %}
{% if data.from.email %}{{ data.from.email }}{% endif %} {% if data.from.email and data.from.phone %} · {% endif %} {% if data.from.phone %}{{ data.from.phone }}{% endif %}
{% endif %}
{{ title_map.get(document_type, 'ACCOUNT STATEMENT') }}
{% if data.document_number %}
#{{ data.document_number }}
{% endif %} {% if data.period_start or data.period_end %}
{{ data.period_start | default('') | date_format }} {% if data.period_end %} — {{ data.period_end | date_format }}{% endif %}
{% endif %}
Generated: {{ data.issue_date | date_format }}
Customer Information
Statement For
{{ data.to.name }}
{% if data.to.address %}
{{ data.to.address | nl2br }}
{% endif %} {% if data.to.email %}
{{ data.to.email }}
{% endif %}
{% if data.account_number %} {% endif %}
Account Summary
Transaction Details
{% if data.transactions %} {% if data.transactions[0] and data.transactions[0].reference %} {% endif %} {% for txn in data.transactions %} {% if data.transactions[0] and data.transactions[0].reference %} {% endif %} {% endfor %}
Date DescriptionReferenceDebit Credit Balance
{{ txn.date | date_format }} {{ txn.description | default('') }}{{ txn.reference | default('') }} {% if txn.debit and txn.debit > 0 %} {{ txn.debit | currency }} {% else %} - {% endif %} {% if txn.credit and txn.credit > 0 %} {{ txn.credit | currency }} {% else %} - {% endif %} {{ txn.balance | default(0) | currency }}
Total Debits {{ data.total_debits | default(0) | currency }}
Total Credits {{ data.total_credits | default(0) | currency }}
Closing Balance {{ data.closing_balance | default(0) | currency }}
{% else %}
No transactions recorded in this period.
{% endif %}
{% if data.notes %}
Notes
{{ data.notes | nl2br }}
{% endif %}