Hi @Chris van der Westhuizen,
it would be {contact.id_code} for a paid invoice, please see the below https://docs.blesta.com/pages/viewpage.action?pageId=4161645
You can see the other email templates at the link below: https://docs.blesta.com/display/user/Email+Templates