XRechnung 2.2.0 · CII

BR-DE-9

XRechnung 2.2.0 · CII

fatalcountry

Original rule text

[BR-DE-9] Das Element "Buyer post code" (BT-53) muss übermittelt werden.

Stored validation assertion
ram:PostcodeCode[boolean(normalize-space(.))]

What this rule requires

The rule requires the buyer's postal code (BT-53) to be provided in the buyer postal address. In UBL it checks that cbc:PostalZone exists and is not empty or only whitespace; in CII it checks ram:PostcodeCode the same way. The document fails when that element is missing, empty, or contains only whitespace.

How to fix

Add the buyer's postal code in cbc:PostalZone (UBL) or ram:PostcodeCode (CII) inside the buyer postal address. Ensure the value is not empty or whitespace. Use the postal code as it appears in the buyer's address.

Guidance on this rule. The original text above is authoritative.