My CiviCRM 5.16. When I try to add fields to receipt template, I discovered that I could add {$line.contribution_id} which shows the record ID of the contribution. But adding {$line.creditnote_id} (which is also a field in table civicrm_contribution) shows nothing.
How can I know (or change) the data fields that are available for me to show on the receipts?
Thank you.