AccountRight API - Creating Invoice with Voucher as a line item
Hi. On my Shopify website I can now create discount vouchers which I can give to select customers who meet certain criteria. They can then use those vouchers when buying my products at the checkout.
I'm am not sure how to handle this in MYOB. The customer places the order for my products and enters the discount voucher just prior to making their payment.
Should I create an ITEM with a negative value with the voucher code? Or somehow do I use the payment process and apply a discount then. I tried this later approach and it ends up with a credit to the customer which is not right. These vouchers are not the same as Gift Vouchers as they are not sold to a customer so that process doesn't work for me, ie. they are not an asset rather a sales discount.
I use a Shopify Clearing account for all the online purchases as they seperately charge a fee for these transactions and I don't get the monmey for a few days.