PDF template custom field

I have created a custom text field in the Invoice module, would like to include it in the Invoice PDF template. Tried adding it with “$” in front of it but that’s not correct. Good advice will be appreciated.
Thanks.