Describe the issue
Currently all document attachments are added to the XRechnung xml although the mime type isn't supported according to https://docs.peppol.eu/poacc/billing/3.0/codelist/MimeCode/
Additionally the mime type is empty for the not mapped (not supported) document types.
Expected behavior
We should only export document attachments with a extension that maps to a mime type that is supported.
Steps to reproduce
Create a invoice with a not supported document type like word or txt
Additional context
See: https://docs.peppol.eu/poacc/billing/3.0/codelist/MimeCode/
I suggest to skip document attachments with not valid document type.
This issue is a follow-up to the issue #29788 where I added some tests for Document Attachment and Service
I will provide a fix for a bug