A small Python guard for browser-downloaded invoice files
A browser job can finish with the wrong output. The portal opened, the export button was clicked, and a file appeared, but the archive may still contain a login page named .pdf or miss an expected invoice.