Delivery address postcode is missing

Error BR-DE-11 XRechnung

The element "Deliver to post code" (BT-78) shall be transmitted if the group "DELIVER TO ADDRESS" (BG-15) is transmitted.

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

The delivery address (BG-15) does not contain a populated ram:PostcodeCode. The delivery address postcode BT-78 is therefore missing.

What the rule means

The postcode is part of the delivery address. When group BG-15 is provided, the delivery address postcode must also be supplied.

Affected fields BT-78 BG-15
Please provide the delivery address postcode

No postcode is entered in the delivery address. Add the missing information so the address is complete.

What to do
  1. Add the postcode in the delivery address element ram:PostcodeCode.
  2. Check the value set through Party.Postcode.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:PostalTradeAddress/>
✓ Correct
<ram:PostalTradeAddress>
  <ram:PostcodeCode>10115</ram:PostcodeCode>
</ram:PostalTradeAddress>
Check in FactoorSharp
  • Party.Postcode (ShipToTradeParty: BT-78)
Technical details

The test requires a ram:PostcodeCode within the rule context whose normalized content is not empty.

Where the rule applies

The rule applies to ram:PostalTradeAddress of the delivery party ram:ShipToTradeParty.

Original message from the Schematron
Das Element "Deliver to post code" (BT-78) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird.
Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ ram:ShipToTradeParty/ram:PostalTradeAddress
Test expression (assert/@test)
ram:PostcodeCode[boolean(normalize-space(.))]