The short answer
Most DFW cities require a building permit for foundation repair and ask for documents sealed by a Texas-licensed professional engineer. Some inspect piers and leveling; some close the permit on the engineer's final letter. A buyer should search the specific city's records for the address and compare them with what the seller discloses.
What cities commonly require
A permit. Fort Worth says all residential foundation repairs require permits and engineered plans. Carrollton says all foundation repair requires a permit regardless of value. Lewisville requires a permit for all foundation repair. Richardson requires one for repairs of four or more piers. Haltom City has required permits since July 17, 2014.
Engineer documents. McKinney asks for an engineer's letter and drawings showing the affected areas and any plumbing that needs testing, and a final engineer's report to close the permit. Plano's code amendment, summarized on planohomeinspection.com, requires foundation work to be sealed by a Texas-registered engineer. Haltom City asks for an original engineer's sealed letter.
Inspections or an engineer's sign-off. Plano lists footing or pier and foundation leveling inspections and a final. Mesquite, by contrast, wrote to contractors that it has not inspected foundation repairs since 2002 and finals the permit on receipt of the engineer's letter.
What counts as repair
Definitions differ. McKinney's is broad: any leveling, replacement of piers, footings, shimming, or replacement of any part of the floor system. Richardson's threshold is four or more piers. A pier and beam house that was shimmed may have a permit in one city and not need one in another.
How to find the record
Most large DFW cities have online permit portals searchable by address. Search for foundation, pier, leveling or structural permits. Note the permit number, the contractor, the engineer, the issue and final dates, and the status. If the portal does not go back far enough, request records from the city. The Texas Public Information Act provides a route for requesting city records.
Reading the file against the disclosure
The Texas seller's disclosure asks about previous structural repairs and about repairs made without necessary permits. If the seller discloses a repair and the city has a closed permit with an engineer's letter, the record is consistent. If the seller discloses a repair and no permit exists, ask for the engineer's documents and the warranty. If the city shows a permit the seller did not disclose, ask about it.
What a permit does not tell you
It does not show that the house is level now, that movement stopped, or that a warranty transfers. It shows that the city's process was completed. See repair records and warranties.
Common misreadings
"Every city inspects foundation repairs." Some rely on the engineer's letter.
"No permit means a bad repair." It means no city record.
Where the facts come from
City documents from McKinney, Fort Worth, Richardson, Carrollton, Mesquite, Haltom City and Lewisville; the Plano summary linked above; Texas Property Code 5.008.