You would receive points for the complete value of the ticket purchased with the voucher. It is just like any other form of payment.
A few years ago, I received a $300 voucher, which I used on a trip costing $304.50 - which I paid cash of $4.50. I did not receive points for the $4.50, but for the $304.50 the tickets cost!