A method of processing transactions across a distribution network of products through a plurality of clinics, the method executed by a computing device comprising a processor and a storage unit for storing data associated with a coupon library with available coupons together with their applicability requirements, the processor executing a program to function as a coupon library module, a coupon definition module, and a coupon processing module, the method comprising:
- presenting, via the computing device, a user interface to each clinic of the plurality of clinics, the user interface displaying one or more of the available coupons together with their applicability requirements stored in the coupon library;
- receiving, via the user interface, a selection for opt-in or opt-out for each displayed available coupon from each clinic of the plurality of clinics;
- for each respective clinic of the plurality of clinics:
- customizing, via the coupon library module, the coupon library based at least on the selection for opt-in or opt-out for each displayed available coupon from the respective clinic;
- generating, via the coupon definition module, a plurality of rules that define requirements for a transaction to qualify for a coupon based on a combination of parameters including one or more of the following:
- number of doses bought, number of doses previously bought, number of doses given for no charge to a client, patient's age, patient's weight, patient's species, patient's breed, or invoice date;
- receiving, via the user interface, one or more voucher codes corresponding to a plurality of transactions performed at the respective clinic;
- generating, via the computing device, one or more invoices based on the received plurality of transactions;
- analyzing, via the coupon processing module, the generated one or more invoices to identify transactions that qualify for one or more coupons included in the customized coupon library for the respective clinic, based on the defined plurality of rules;
- identifying, via the coupon processing module, one or more redemptions for the identified transactions based on successful application of the defined plurality of rules for the selected opted-in coupons for the respective clinic;
- and
- generating, via the computing device, a list of the one or more redemptions for the respective clinic;
- and
- validating the generated lists across the distribution network of products.