Skip to content

A batch of E-Invoice PDF attachments on Customer Invoices (generated automatically when invoices were sent) throw an error and won't open when double-clicked, while the invoice records themselves are otherwise fine — is there a way to repair the corrupted attachment file itself in Production?

Answer

There isn't a way to repair a document attachment that's already corrupted in place. The practical fix is to delete the broken attachment and re-attach the file (regenerating or re-uploading the PDF) to the same document revision — this replaces the unreadable file without needing to touch the underlying invoice record itself.

← Browse Document management questions