BR-FR-03_BT-7

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

In English The VAT point date (BT-7) must have a year between 2000 and 2099.

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-03/BT-7] La date de fait générateur de la taxe doit contenir une année entre 2000 et 2099. Valeur actuelle : " … ". Veuillez vérifier la validité de la date.

Context
ubl:Invoice/cbc:TaxPointDate | cn:CreditNote/cbc:TaxPointDate
Test
custom:is-valid-date-format(.)

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

Message

BR-FR-03/BT-7 : La date de fait générateur de la taxe (udt:DateString) doit contenir une année entre 2000 et 2099. Valeur actuelle : " … ". Veuillez vérifier la validité de la date.

Context
rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:TaxPointDate/udt:DateString
Test
custom:is-valid-date-format(.)

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