add cust_credit, cust_pay and cust_refund subs