F7004-904-01 e-file error
This occurs when the tax-period end date, return type, or EIN in the e-file doesn't match the information in the IRS database.
Error message
Form 7004, the tax year ending date (TaxPeriodEndDt specified in the Return Header) must match the data in the e-file database unless one of the checkboxes in Line 5b - "Initial Return", "Final Return" or "Consolidated return to be filed" is checked. (value YYYY-MM-DD, rule F7004-904-01)
Solution
Verify that the tax-period ending date, return type, and EIN are correct. If they're correct, contact the IRS e-Help Desk at 866-255-0654.