FORMAT-UNKNOWN
A structural check before the rule layers – the file must first be readable as a valid XML document.
What this error means
FORMAT-UNKNOWN
The file is XML, but not a UBL invoice or credit note — the root element is something else.
How to fix it
Upload the invoice XML itself (root element Invoice or CreditNote), not another document type.