redo the import voucher function with a new method
add voucher query function