Careful. "Invalid" is a FAR CRY from "illicit."
You have described illicit matter, which does NOT make for an invalid Mass.
I think you misunderstand this. In the Latin Rite, leavened bread would be "illicit" because the rubrics require unleavened bread, even though leavened bread would be valid. So you are breaking the rules (making it illicit) but you still have matter that is capable of being transubstantiated.
You could compare it to ordination where the valid matter is a male baptized Catholic. A homosexual would be illicit matter for the sacrament, since the rules say not to ordain homosexuals, but he would still be a candidate for a valid ordination. A woman, on the other hand, is simply incapable of being ordained.
Back to the bread and wine. Any "substantial" amount of ingredients other than wheat flour and water make the matter invalid, not simply illicit. In order to become the body of Christ, it first must be wheat bread with no additives. A very small amount of other ingredients would be merely illicit, since the matter could still be reasonably described as "pure wheat bread," but a noticeable amount of any other ingredients would make the matter invalid. This would include oats, barley, eggs, honey, molasses, chocolate, salt, sugar, etc.