BR-DE-4
Das Element "Seller post code" (BT-38) muss übermittelt werden.
Why it fails
- The seller's postal address has no post code:
cbc:PostalZone(ram:PostcodeCodein CII) is missing or empty.
How to fix it
Add the post code to the seller address, even when the city alone would be enough in your country.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress | /cn:CreditNote/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
cbc:PostalZone[boolean(normalize-space(.))]
Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress
ram:PostcodeCode[boolean(normalize-space(.))]
Checked with XRechnung 3.0 Invoice (CII)