Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).
The tax representative is missing a non-empty VAT identifier in ram:SpecifiedTaxRegistration/ram:ID with schemeID VA.
Every seller’s tax representative must provide a VAT identifier. It is represented by a tax registration with the scheme code VA.
No VAT identifier with scheme code VA is provided for the seller’s tax representative. Add it to the representative’s tax registration.
- Add a non-empty
ram:SpecifiedTaxRegistration/ram:IDwithschemeIDVA. - Check the call to
GetSellerTaxRepresentativeTaxRegistration()and theSellerTaxRepresentativeTaxRegistrationvalue. - Regenerate the invoice and check it again.
<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:SpecifiedTaxRegistration for a ram:ID with schemeID VA whose value is non-empty.
The rule applies to ram:SellerTaxRepresentativeTradeParty and its tax registration with schemeID VA.
rule/@context)assert/@test)