The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).
A non-empty value is missing from ram:CountryID in ram:PostalTradeAddress. This element contains the country code for the address (BT-69).
The country code identifies the country of the tax representative’s postal address and is required for that address.
The tax representative’s address does not contain a country code. You can add the missing value in ram:CountryID.
- Add a non-empty value to
ram:CountryIDunderram:PostalTradeAddress. - Set the address country through
Party.CountryforSellerTaxRepresentativeTradeParty. - Generate the invoice again and validate it once more.
<ram:SellerTaxRepresentativeTradeParty> <ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress> </ram:SellerTaxRepresentativeTradeParty>
<ram:SellerTaxRepresentativeTradeParty> <ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress> </ram:SellerTaxRepresentativeTradeParty>
Party.Country(SellerTaxRepresentativeTradeParty: BT-69)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 applies normalize-space to ram:PostalTradeAddress/ram:CountryID and requires a value that is non-empty after whitespace is removed.
The rule applies to the seller tax representative’s postal address in ram:SellerTaxRepresentativeTradeParty.
rule/@context)assert/@test)