Tax representative postal address required

Error FX-SCH-A-000432 Factur-X

Element 'ram:PostalTradeAddress' must occur exactly 1 times.

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

The ram:SellerTaxRepresentativeTradeParty element does not contain exactly one ram:PostalTradeAddress element. The postal address must be present once.

What the rule means

The postal address is required information about the tax representative. The rule requires exactly one postal address.

Please add the tax representative's postal address

The tax representative's required postal address is missing or has been provided more than once. Exactly one ram:PostalTradeAddress element must appear in this part of the invoice.

What to do
  1. Locate ram:SellerTaxRepresentativeTradeParty in the invoice.
  2. Add exactly one ram:PostalTradeAddress element or remove any extra elements.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SellerTaxRepresentativeTradeParty/>
✓ Correct
<ram:SellerTaxRepresentativeTradeParty>
  <ram:PostalTradeAddress/>
</ram:SellerTaxRepresentativeTradeParty>
Technical details

The test counts ram:PostalTradeAddress elements directly under ram:SellerTaxRepresentativeTradeParty and requires exactly one.

Where the rule applies

The rule applies to ram:PostalTradeAddress within ram:SellerTaxRepresentativeTradeParty.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTaxRepresentativeTradeParty
Test expression (assert/@test)
count(ram:PostalTradeAddress)=1