State tax filing

Yes I filed as a non-resident, looking to get a full refund of about 4,000.   MD instead sent me to their review department, has assumed I'm an MD resident, billed me for an additional 1500 (having laid claim not only to the income NY based income for the MD company, but also to other income, such as my wifes office work here in NY.