Custom field variable in invoice design

I want to display a title on my invoices and estimates. Can you tell me how to do it? I used $customTextValue1 before but this doesn’t work anymore, $custom1 doesn’t do anything either. Please help me.


I believe it would be $invoice.custom1.

You can see all variable listed here:

Thank you, this worked. I think the test data of the template design preview does not include data for these custom fields which is why i didn’t see any entries.