This is a simple template for zugferd invoices. Based on the work of kris and Marei. I just rearranged things.
Install mactex basic with homebrew:
brew install --cask mactex
Update the mactex package manager:
sudo tlmgr update --self
Install the dependencies:
sudo tlmgr install tabto-ltx ltablex xltabular tagpdf zugferd babel
Just adapt invoices.tex and use make to generate the invoices.pdf
make
You can test the invoices.pdf on the Elster Portal.
cleanup with
make clean
Source: