Emacs org-mode, orgparse, Jinja2 and Latex are my tools of choice to implement an intuitive text-based ERP system for my small company. Feeding data from org files to Latex templates using orgparse and the Jinja template system is working great.
https://orgmode.org/
https://pypi.org/project/orgparse/
https://palletsprojects.com/p/jinja/