I’ve searched the forum but didn’t find any answer. So I made a new topic.
On the email invoice template, the invoices fields are usable directly with their name ($amount, or $number for example), except for the custom fields which have to be called using $invoice.custom1 if you want it to work. I think that should be corrected because it leads to some difficulties.
On top of that, special characters are not escaped properly : if I use an “&”, it displays properly in the invoice fields, in the pdf, but not in the email where it’s displayed as “
I hope it will help !