Transaction DeductVoucher

Authentication mode: Checked (known user, must have the privilege)

Database access mode: updating

Deducts an amount from a voucher - this can be used for items that are not in the MagicSmoke shop repository. Fails if the voucher is not paid for yet. Will not transfer anything if the voucher does not contain enough money. Fails if the voucher is not valid anymore.

Inputs:

Outputs: