Deductions & credits

[Answered edited, see below.  I missed some of the details from your reply.]