State tax filing

your consolidated 1099-B tells you which box to check for each transaction, summarized by box.

you have to enter the correct basis yourself for Box E or Box B transactions , OR, accept the incorrect basis.