Deductions & credits

Thank you @RaifH  

Your solution was perfect and helped me calculate the correct deduction and refund