Seller tax representative postal address is missing

Error BR-19 EN 16931

The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11).

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

The seller’s tax representative party has no ram:PostalTradeAddress element. Once this party is provided, the rule requires its postal address.

What the rule means

The postal address belongs to group BG-12 and must be provided when the invoice includes a seller tax representative.

Affected fields BG-12 BG-4 BG-11
Please add the seller tax representative’s postal address

The invoice includes a seller tax representative but does not include a postal address for that party. You can add the missing address.

What to do
  1. Add ram:PostalTradeAddress inside ram:SellerTaxRepresentativeTradeParty.
  2. Check the seller tax representative details through FacturXInvoice.SellerTaxRepresentative.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:SellerTaxRepresentativeTradeParty/>
✓ Correct
<ram:SellerTaxRepresentativeTradeParty>
  <ram:PostalTradeAddress/>
</ram:SellerTaxRepresentativeTradeParty>
Check in FactoorSharp
  • FacturXInvoice.SellerTaxRepresentative (BG-11)
  • FacturXInvoice.SetSeller(name, postcode, city, street, street2, country, id, globalID, legalOrganization, description, countrySubdivisonName, addressLine3) (BG-4)
  • FacturXInvoice.Seller (BG-4)
Technical details

The test checks only whether ram:PostalTradeAddress is present inside ram:SellerTaxRepresentativeTradeParty.

Where the rule applies

The rule applies to the seller’s tax representative party (ram:SellerTaxRepresentativeTradeParty).

Context (rule/@context)
//ram:SellerTaxRepresentativeTradeParty
Test expression (assert/@test)
(ram:PostalTradeAddress)