I prepaid $10,000 toward my taxes before the filing date so that I could extend my filing time. How do I get that prepaid dollar amount reflected in my return filing now

I am finally filing and my amount due does not reflect what I already paid.  Do I have to pay the overage and then get a refund when the IRS sees that I already paid out $10,000?