In the invoice form, you have access to the invoice object.
From the invoice object, you can access the payment_receipts array which contains a list of all payments received for the invoice including ones that are reversed.
{% for payment_receipt in invoice.payment_receipts %} {% if payment_receipt.void %} {% continue %} {% endif %} Payment Date: {{payment_receipt.effective_date || format_date}} Amount: {{ payment_receipt.amount || currency: payment_receipt.currency }} {% endfor %}
Comments and Suggestions
0 comments
Please sign in to leave a comment.
Related articles