Passing Report Parameters to a BAQ Report

You can add new Report Style in Standard AR Aging Report and modify the format as per your requirement. That will take care of all calculations and Aging.