BR-FR-16_BT-119

The rule sets below word this rule differently; each wording is shown with its rule set.

In English The VAT rate (BT-119) must be a percentage without the % sign and one of the allowed rates.

error: the document is invalid

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

Message

[BR-FR-16/BT-119] Le taux de TVA (cbc:Percent) doit être exprimé en pourcentage sans symbole « % » et faire partie des valeurs autorisées. Taux fourni : " … ".

Context
cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory
Test
not($vatRate) or custom:is-valid-vat-rate($vatRate)

Checked with France e-invoice (UBL), France e-credit note (UBL), France EXTENDED-CTC-FR (UBL)

Message

BR-FR-16/BT-119 : Le taux de TVA (BT-119) doit être exprimé en pourcentage sans symbole « % » et faire partie des valeurs autorisées. Taux fourni : " … ".

Context
rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
Test
not($rate) or custom:is-valid-vat-rate($rate)

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