It seems synthesized folic acid has a whole bunch of impurities, some of which are so difficult to quantity that specialized spectography patents have been filed.
https://www.pharmaffiliates.com/en/parentapi/folic-acid-impurities
https://patents.google.com/patent/CN115047083A/en