$receipt_label {%if payments|length == 1%}#$number{% endif %}

$to_label

$client.name

{% set payment = payments|first %} {% if payment.client.vat_number %}

$vat_number_label: $vat_number

{% endif %}
$number_label
$date_label
$method_label
$amount_label
{% if payments|e %} {% for payment in payments %}

#{{ payment.number }}

{{ payment.date }}

{{ payment.method }}

{{ payment.amount }}

{% endfor %} {% endif %}

$public_notes