Provide the seller's post code

Error BR-DE-4 XRechnung

The element "Seller post code" (BT-38) 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 seller's postal address is missing a non-empty value in ram:PostcodeCode.

What the rule means

The post code is a required part of the seller's postal address.

Affected fields BT-38
Please provide the seller's post code

The seller's postal address is missing the post code, or the field is empty. You can resolve this by adding the post code to the address.

What to do
  1. Add the post code using Party.Postcode.
  2. Generate the invoice again and validate it again.
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 (SellerTradeParty: BT-38)
Technical details

The test requires ram:PostcodeCode to contain text that is non-empty after leading and trailing whitespace is removed.

Where the rule applies

The rule applies to the seller's ram:PostalTradeAddress.

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