Nope... you have to amend prior year returns for the ERC money.
BUT, the fees paid are deducted in the year paid - 2023 for your client.