State tax filing

I have transaction reported in multiple categories. Depending on the category, Boxes A, B, D and E need to be checked.