EX-23 2 exh23.txt EXHIBIT 23 Exhibit 23 CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM We consent to the incorporation by reference in Registration Statement No. 333-105133 of TXU Corp. on Form S-8 of our report dated June 24, 2004, appearing in this Annual Report on Form 11-K of the TXU Deferred and Incentive Compensation Plan for the period ended March 31, 2004. /s/ DELOITTE & TOUCHE LLP Dallas, Texas June 25, 2004