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).
The seller’s tax representative is missing the ram:PostalTradeAddress element.
If the seller has a tax representative, the representative’s postal address must be included on the invoice.
No postal address is provided for the seller’s tax representative. Add the address element to the invoice.
- Add
ram:PostalTradeAddressunderram:SellerTaxRepresentativeTradeParty. - Regenerate the invoice and check it again.
<ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTaxRepresentativeTradeParty> <ram:PostalTradeAddress/> </ram:SellerTaxRepresentativeTradeParty>
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 whether ram:PostalTradeAddress exists under ram:SellerTaxRepresentativeTradeParty. This test does not check the address contents.
The rule applies to ram:SellerTaxRepresentativeTradeParty when the seller has a tax representative.
rule/@context)assert/@test)