API Addition: POS module for calculating transaction discount