Deductions & credits

@Mike9241 answered a similar question, so perhaps he can tackle this one.