Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).
The tax representative has no non-empty ram:SpecifiedTaxRegistration/ram:ID with the attribute schemeID='VA'. This value is the tax representative’s VAT identifier (BT-63).
The rule requires each seller tax representative party to have a VAT identifier using the VA identification scheme.
No matching VAT identifier is provided for the seller’s tax representative. Add the identifier using the VA scheme.
- Add a non-empty
ram:SpecifiedTaxRegistration/ram:IDwithschemeID='VA'forram:SellerTaxRepresentativeTradeParty. - Check
FacturXInvoice.SellerTaxRepresentativeTaxRegistrationandLegalOrganization.IDfor the tax representative details. - Generate the invoice again and validate it once more.
<ram:SellerTaxRepresentativeTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA"/> </ram:SpecifiedTaxRegistration> </ram:SellerTaxRepresentativeTradeParty>
<ram:SellerTaxRepresentativeTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">DE123456789</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTaxRepresentativeTradeParty>
FacturXInvoice.GetSellerTaxRepresentativeTaxRegistration()(BT-63)FacturXInvoice.GetShipToTaxRegistration()(BT-63)FacturXInvoice.SellerTaxRepresentativeTaxRegistration(BT-63)LegalOrganization.ID(SellerTaxRepresentativeTradeParty: BT-63)FacturXInvoice.SellerTaxRepresentative(BG-11)
Technical details
The test looks under ram:SellerTaxRepresentativeTradeParty for ram:SpecifiedTaxRegistration/ram:ID with schemeID='VA' and checks that its value is non-empty.
The rule applies to the seller tax representative party in ram:SellerTaxRepresentativeTradeParty.
rule/@context)assert/@test)