Does this customer has issues with wrong PDFs (from another company/contact) attached while sending emails via maintenance "create open invoice customer statement".
It sounds very similar to that.
Try to debug FormLinkDocumentFileNames().
Is it possible to use the parameter --skip-register-on-import with multiple registers, either by using a comma-separated string or by specifying this parameter multiple times in parameters.txt?
Thi...