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 party has no ram:PostalTradeAddress element. Once this party is provided, the rule requires its postal address.
The postal address belongs to group BG-12 and must be provided when the invoice includes a seller tax representative.
The invoice includes a seller tax representative but does not include a postal address for that party. You can add the missing address.
- Add
ram:PostalTradeAddressinsideram:SellerTaxRepresentativeTradeParty. - Check the seller tax representative details through
FacturXInvoice.SellerTaxRepresentative. - Generate the invoice again and validate it once more.
<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 only whether ram:PostalTradeAddress is present inside ram:SellerTaxRepresentativeTradeParty.
The rule applies to the seller’s tax representative party (ram:SellerTaxRepresentativeTradeParty).
rule/@context)assert/@test)