Deductions & credits

It is reported as income but then also as a contribution to the HSA  so it offsets each other and makes the contribution legal.