Statement

$start_date - $end_date

{% if invoices|e %}

Invoices

{% for invoice in invoices %} {% endfor %}
Invoice # Invoice Date Invoice Due Date Total Balance
{{ invoice.number }} {{ invoice.date }} {{ invoice.due_date }} {{ invoice.amount }} {{ invoice.balance }}

{% endif %}
{% if payments|e %}

Payments

{% for payment in payments %} {%if payment.is_credit %} {%else%} {%endif%} {% endfor %}
Invoice # Payment Date Method Amount
{{ payment.number }} {{ payment.date }}Credit {{ payment.number }}{{ payment.method }}{{ payment.amount }}

{% endif %}
{% if credits|e %}

Credits

{% for credit in credits %} {% endfor %}
Credit # Credit Date Total Balance
{{ credit.number }} {{ credit.date }} {{ credit.amount }} {{ credit.balance }}

{% endif %}
{% if aging %}

Aging

{% for key, age in aging %} {% endfor %} {% for key, age in aging %} {% endfor %}
{{ key }}
{{ age }}

{% endif %}