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).
ram:CountryID is missing from ram:PostalTradeAddress or contains only whitespace.
The tax representative’s postal address must include the country code to specify the country of the address.
The tax representative’s postal address is missing the country code, or the field is empty. Enter the code in the address.
- Enter the country code in
ram:PostalTradeAddress/ram:CountryID. - Check the tax representative’s
Countryvalue, then regenerate the invoice and check it again.
<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 requires normalize-space(ram:PostalTradeAddress/ram:CountryID) to be non-empty.
The rule applies to the ram:PostalTradeAddress of the seller’s tax representative.
rule/@context)assert/@test)