Deductions & credits

Is this even legal?