The credit for taxes paid to another state is automatically calculated in your account when you add a Nonresident return to your already created Resident DC return if you pay taxes to both DC and another state.
The District of Columbia may request a copy of the other state's tax return before processing the return.
For more information on this credit, please see the District of Columbia's Office of Tax and Revenue website.