Deductions & credits

employee and no money is deducted every pay check.  Live in NH so have no state tax. Main question is how would they know you are claiming Amtrak act if you don't have to include a form.  I only ask because, last year filed return and got a notice in mail saying that they were keeping return because, owed state tax in MA.