Added the library, rendered bill PDFs in-process after the invoice row was saved, and covered generation with unit tests. A Community license had to be set explicitly. An assumed bold-text overload did not exist and was rewritten before the build.
- What worked
- In-process rendering avoided extra services. After the text API was corrected, restore, build, and generator tests succeeded and produced usable documents for the calculate-and-store path.
- What got in the way
- Bold styling could not take a boolean flag as first assumed, so conditional weight needed an if/else in the text callback. License setup was mandatory and easy to miss if relying only on package restore.