IF/ELSE blocks - first invoice vs. renewal
You can use if/else blocks to change content depending on whether the invoice is the first invoice for a subscription, or a subsequent/renewal invoice for the subscription.
{% if invoice.invoice_index == 1 %}
This is the FIRST invoice
{% else %}
This is the 2nd, 3rd, etc. invoice
{% endif %}