State tax filing

Line #2 on form TRD 41406 asks for how much I owe in New Mexico taxes before I apply for the solar credit. Turbo Tax won't tell me how much I owe in New Mexico taxes until I pay for the state filing, and I cannot file until I upload the TRD 41406, which needs the amount I owe first. I'm stuck in a loop. Where can I find the amount I owe in New Mexico taxes so I can fill out the form and attach it to the state return?