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 or part-year resident North Carolina return if you pay taxes to both North Carolina and another state.
North Carolina may request a copy of the other state's tax return before processing the return. Please see the North Carolina Department of Revenue website for more information.