Provide the buyer’s postal code

Error BR-DE-9 XRechnung

The element "Buyer post code" (BT-53) shall be transmitted.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The buyer’s postal address is missing ram:PostcodeCode, or the element contains no non-empty value. The postal code BT-53 is therefore missing.

What the rule means

BT-53 identifies the postal code in the buyer’s postal address. It is a component of the postal address.

Affected fields BT-53
Please add the postal code to the buyer’s address

No postal code is provided in the buyer’s postal address. Add the postal code so that this address detail is provided.

What to do
  1. Add the postal code to the buyer’s postal address.
  2. Check the value for Party.Postcode.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:PostalTradeAddress>
  <ram:PostcodeCode/>
</ram:PostalTradeAddress>
✓ Correct
<ram:PostalTradeAddress>
  <ram:PostcodeCode>10115</ram:PostcodeCode>
</ram:PostalTradeAddress>
Check in FactoorSharp
  • Party.Postcode (BuyerTradeParty: BT-53)
Technical details

The test requires a ram:PostcodeCode element whose whitespace-normalized content evaluates to true.

Where the rule applies

The buyer’s postal address in ram:PostalTradeAddress.

Original message from the Schematron
Das Element "Buyer post code" (BT-53) muss übermittelt werden.
Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:BuyerTradeParty/ram:PostalTradeAddress
Test expression (assert/@test)
ram:PostcodeCode[boolean(normalize-space(.))]