Account voucher migrate new api.

Hello,
i have migrate account vocuher into new api and fixed some tarcebacks and yml test cases.
Thanks.