Only give an error if the generation failed, not if the generated file was empty
Add a simple invoice generation test: a single account, a single invoice, a single itemline, comes out exactly as planned.