an invoice can be a small gob of digital (or if printed, ink on paper) text. it can be emailed. it can be generated from a template by a tiny shell script. feels like an easily solved problem for many decades now. its hard only if we want it to be.
and no AI needed, youngsters