A lawyer in Irvine, Calif., and his former firm have reached an agreement with federal agents who are seeking documents related to the criminal investigation of fraudulent tax shelters sold by accounting giant KPMG.

A federal judge last year ordered William A. Goddard and his firm, Lee, Goddard & Duffy, which is now defunct, to turn over documents to the Internal Revenue Service in response to two civil tax summonses. The IRS is investigating whether Goddard and his firm were involved in promoting fraudulent KPMG shelters, according to court documents.