Changelog
FixInvoicing
Invoice PDFs download reliably on Firefox
Fixed an intermittent issue where downloading an invoice PDF on Firefox would occasionally fail or produce an empty file.
If you use Firefox, you may have run into a frustrating bug where the "Download PDF" button on an invoice sometimes produced a blank file or silently failed. This is fixed.
What changed
The download flow was racing the PDF generation on slower network conditions. We rewrote the handler to wait for the generated file before initiating the download, so the PDF is always ready when Firefox asks for it.
What to expect
Nothing new to enable. Downloads should just work. If you hit this in the past and sent a blank PDF to a client, you can re-download and resend from the invoice page.