errorDEUXRechnung (Germany)

BR-DE-22:Duplicate Attachment Filenames

XRechnung requires all attachment filenames to be unique. Multiple EmbeddedDocumentBinaryObject elements have the same filename attribute.

Severity
Fatal
Rule set
XRechnung (Germany)
Country
DEU
Fix type
AUTO-FIX
Confidence
80%
Category
structural

Engine Classification

Ensure seller contact name is present for XRechnung compliance

Confidence: 80% · Applied automatically in pipeline

What is BR-DE-22?

BR-DE-22 is a fatal validation rule defined in the XRechnung (Germany) specification (DEU national rules). It validates the Name element under Party > Contact in the UBL invoice XML.

When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.

Target path: //cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Name

Why This Error Matters

Invoice rejected. Attachments must have unique names for proper reference.

BR-DE-22 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Rejected by XRechnung endpoints
  • ·Error returned: BR-DE-22
  • ·Specification: XRechnung (Germany)

How to Fix It

1.

Identify duplicates

Find attachments with same filename

2.

Rename files

Add suffix like -2, -3 to duplicate filenames

Before / After

Failing XML
<Invoice>
  <!-- Issue: XRechnung requires all attachment filenames to be unique -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per XRechnung (Germany) -->
</Invoice>

Technical Reference

XPath//cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Name
SpecXRechnung (Germany)
Operationset_default
StrategyEnsure seller contact name is present for XRechnung compliance

Common Causes

  • ·Duplicate attachment filenames in XRechnung
  • ·Multiple EmbeddedDocumentBinaryObject have same filename
  • ·German invoice requires unique attachment names
  • ·Attachment filename attribute not unique
  • ·Multiple files exported with identical names

Seeing this in production? The API handles BR-DE-22 automatically. See the fix response →

Frequently Asked Questions

XRechnung requires all EmbeddedDocumentBinaryObject filename attributes to be unique. This error occurs when two or more attachments have the same filename.

Rename duplicate attachments to have unique filenames, e.g., invoice.pdf and invoice-2.pdf instead of two files named invoice.pdf.

German authorities require unique filenames to properly identify and process attached documents.

Yes, Invoice Navigator can automatically rename duplicate attachments by adding a numeric suffix.

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle BR-DE-22 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.