BR-FR-CO-15_BT-29-1
The rule sets below word this rule differently; each wording is shown with its rule set.
In English If the seller is a member of a single VAT entity (BT-29-1 is 0231), the seller tax representative (BG-11) must be given with the single entity's VAT identifier (BT-63).
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
[BR-FR-CO-15/BT-29-1] Si le vendeur est membre d’un assujetti unique (BT-29-1 = 0231), alors le bloc représentant fiscal (BG-11) doit être présent et contenir le numéro de TVA de l’assujetti unique (BT-63). État actuel : représentant fiscal … , numéro de TVA = " … ".
ubl:Invoice | cn:CreditNote
not($isAU) or (exists($fiscalRep) and string($fiscalRepVAT))
Checked with France e-invoice (UBL), France e-credit note (UBL), France EXTENDED-CTC-FR (UBL)
BR-FR-CO-15/BT-29-1 : Si le vendeur est membre d’un assujetti unique (BT-29-1 = 0231), alors le bloc représentant fiscal (BG-11) doit être présent et contenir le numéro de TVA de l’assujetti unique (BT-63). État actuel : représentant fiscal … , numéro de TVA = " … ".
rsm:CrossIndustryInvoice
not($isAU) or (exists($fiscalRep) and string($fiscalVAT))
Checked with France e-invoice (CII), France Factur-X EN 16931, France EXTENDED-CTC-FR (CII), France Factur-X EXTENDED, France Factur-X BASIC WL