The Internal Revenue Service has promised to pay a Texas oil company more than $36 million in tax refunds and credits for the 2009 tax year but has failed to do so, the company told a federal court.