After cancelling your booking, you'll receive an email with your voucher code.
Enter this code at checkout in the box marked "voucher".
Useful information:
If you cancel a booking which you paid for with a voucher, the voucher will be reactivated (unless it is a single-use voucher).