{{ org.company_name|default:org.name }}

{% if org.company_name and org.name and org.company_name != org.name %}

{{ org.name }}

{% endif %} {% if org.address_line %}

{{ org.address_line }}

{% endif %} {% if org.city or org.state or org.postcode %}

{% if org.city %}{{ org.city }}{% endif %}{% if org.city and org.state %}, {% endif %}{% if org.state %}{{ org.state }}{% endif %} {% if org.postcode %} {{ org.postcode }}{% endif %}

{% endif %} {% if org.phone %}

Tel: {{ org.phone }}

{% endif %} {% if org.email %}

Email: {{ org.email }}

{% endif %}
Statement
{% if org.logo %}
{% else %}
{{ org.company_name|default:org.name|slice:":4"|upper }}
{% endif %}

{{ account.name }}

{% if account.address_line %}

{{ account.address_line }}

{% endif %} {% if account.city or account.state or account.postcode %}

{% if account.city %}{{ account.city }}{% endif %}{% if account.city and account.state %}, {% endif %}{% if account.state %}{{ account.state }}{% endif %} {% if account.postcode %} {{ account.postcode }}{% endif %}

{% endif %} {% if account.country %}

{{ account.get_country_display }}

{% endif %}
From: {{ start_date|date:"F d, Y" }}
To: {{ end_date|date:"F d, Y" }}
Issued: {% now "F d, Y" %}
{% for section in sections %} {% if sections|length > 1 %}
Amounts in {{ section.currency }}
{% endif %} {% for entry in section.entries %} {% endfor %}
Date Invoice Details Amount Balance
{{ start_date|date:"M d, Y" }} Opening balance {{ section.opening_balance }}
{{ entry.date|date:"M d, Y" }} {{ entry.invoice_number }} {{ entry.description }} {{ entry.amount }} {{ entry.balance }}
{% if section.has_cancelled %} {% endif %}
Opening balance {{ section.opening_balance }}
Invoiced {{ section.invoiced }}
Payments
Cancelled {{ section.cancelled }}
{% if section.in_credit %}In credit{% else %}Balance due{% endif %} {{ section.closing_balance }}
{% empty %}

Nothing was billed or paid in this period, and nothing is owed.

{% endfor %}