Why BR-04 Fails
Text labels like 'INVOICE', empty tags, or using an invoice code inside a UBL CreditNote root element trigger BR-04.
How to Fix BR-04
- Use 380 for a standard commercial invoice or 381 for a credit note (matching the XML root element).
- Check profile-specific subsets (BR-DE-17 for XRechnung or Peppol UNCL1001 subset).