Skip to content

Template: Voucher Expiring

Action Key
voucher_expiring
Description
Sent when a voucher is nearing expiry.
Recipients
guardian

Template Variables

These variables are available in the Liquid template context. Access nested properties using dot notation (e.g., enrolment.activity.name).

voucher(type: voucher)

An issued voucher for a member or household.

Property PathTypeDescription
voucher.idinteger
Unique ID of the issued voucher.
voucher.voucher_typevoucher_type
The voucher type definition.
voucher.voucher_type.namestring
Name of the voucher type.
voucher.voucher_type.descriptionstring
Description of the voucher type.
voucher.usesinteger
Total uses granted on this voucher.
voucher.remaining_usesinteger
Remaining uses of this voucher.
voucher.expires_atdatetime
UTC instant when the voucher expires.
voucher.notestring
Plain text staff note on the voucher.

tenant(type: tenant)

An object representing an organisation/tenant.

Property PathTypeDescription
tenant.idinteger
Unique ID of the tenant.
tenant.namestring
Name of the organisation.