BR-DE-07:German postal code format
Fix: Use 5-digit format with leading zeros (e.g., 01234). Provide the required value in the free validator.
German postal codes should be 5 digits.
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: German Postal Code (PLZ)
What is BR-DE-07?
BR-DE-07 is a warning validation rule defined in the xrechnung specification (DEU national rules). It validates the PostalZone element under PostalAddress[cac:Country > IdentificationCode="DE"] in the UBL invoice XML.
The invoice may pass transmission, but this non-compliance can cause problems during tax audits or buyer-side processing.
Target path: XPath: //cac:PostalAddress[cac:Country/cbc:IdentificationCode="DE"]/cbc:PostalZone
Why This Error Matters
German postal codes have leading zeros.
BR-DE-07 is a soft failure that can cause issues at the receiving end — tax audits, ERP processing, or VAT reconciliation mismatches.
Validator Behavior
- ·Generates validation warning
- ·Rejected by XRechnung endpoints
- ·Error returned: BR-DE-07
- ·Specification: xrechnung
How to Fix It
Check postal codes
German PostalZone values
Pad with zeros
01234, not 1234
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Incorrect value --> <cbc:PostalZone>INVALID</cbc:PostalZone>
<!-- Corrected value --> <cbc:PostalZone>VALID_VALUE</cbc:PostalZone>
Technical Reference
XPath: //cac:PostalAddress[cac:Country/cbc:IdentificationCode="DE"]/cbc:PostalZoneCommon Causes
- ·Missing leading zero
- ·Wrong length
Seeing this in production? The API handles BR-DE-07 automatically. See the fix response →
Frequently Asked Questions
German postal codes should be 5 digits.
Use 5-digit format with leading zeros (e.g., 01234). Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.
BR-DE-07 is a warning that may not always cause rejection, but it indicates a potential compliance issue that should be addressed to ensure full compatibility.
BR-DE-07 requires specific business data to resolve. Invoice Navigator detects the error and guides you through providing the needed information, then applies the fix with full audit documentation.
Related Content
Last updated: 3 March 2026
Validate your invoice
Drop your XML here to check for BR-DE-07
Fix BR-DE-07 with guided input
Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.