Also called XMP, Factur-X XMP extension schema
XMP is the XML metadata block embedded in a PDF. Factur-X defines an extension schema carrying the document type, the attachment filename, the version and the conformance level, so software can tell the file is a Factur-X invoice without opening the attachment.
DocumentType, DocumentFileName, Version and ConformanceLevel. A file with some present and some missing usually had its metadata written by hand or by a partial template, and our validator reports that separately from the metadata being absent entirely.
ConformanceLevel is the profile, and the XML declares the same thing at BT-24. Nothing in a normal toolchain forces them to match.
We have watched this happen: Gotenberg will stamp a MINIMUM XMP onto EN 16931 XML and never complain. The file opens, and it contradicts itself. That is why our generator reads the profile back off the built XML rather than trusting the request, and why the validator reports the mismatch as its own finding.
Both are read and compared, so a file that disagrees with itself is reported rather than passed.