Four EN 16931 rules that never run in France's EXTENDED-CTC-FR CII

A pass from the French EXTENDED-CTC-FR CII rules skips BR-45, BR-46, BR-48 and BR-CO-03: why a Schematron rule goes unchecked, three broken invoices, and BR-53

· 6 min read · Oleksii Babintsev

FNFE-MPE publishes the rules for France's EXTENDED-CTC-FR profile twice, once for UBL and once for CII, and a third time inside the Factur-X EXTENDED rules. They are meant to accept and refuse the same invoices. Since 1 September 2026 approved platforms (plateformes agréées) run them on every extended invoice they receive, so where the three disagree, the same invoice is refused in one syntax and accepted in another.

One such disagreement came up on FNFE's GitHub this month: an integrator reported that BR-48, "each VAT breakdown shall have a VAT category rate", never fires in the CII rules (France_RFE #115). The maintainer replied that BR-48 is in the file, which it is. Both are right, and the cause takes three other EN 16931 rules with it. Every message below is what the rules report on FNFE-MPE's own use case 13 example, an extended invoice that passes all three rule sets, broken one thing at a time.

How a Schematron rule gets skipped

A Schematron file is a list of patterns, each a list of rules, each rule with a context: the nodes it checks. Inside one pattern, a node is checked by the first rule whose context matches it and by no other. ISO Schematron says so, and the XSLT the rules are compiled to does it with template priorities. That makes the order of rules in a pattern matter.

In EXTENDED-CTC-FR-CII.sch (release 1.4.0.04), the general rule for a VAT breakdown, BG-23, is this one:

<rule context="//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax">
  <assert id="BR-45" ...>Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116).</assert>
  <assert id="BR-46" ...>Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117).</assert>
  <assert id="BR-47" ...>Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118).</assert>
  <assert id="BR-48" ...>Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT.</assert>
  <assert id="BR-CO-03" ...>Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive.</assert>

It sits at the end of the pattern EN16931-CII-Model. Above it, in the same pattern, are the rules for each VAT category, and they have the same node as their context:

<rule context="//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode='S'][upper-case(ram:TypeCode) = 'VAT']">

and the same for AE, L, M, E, G, K, O and Z. A breakdown in category S is taken by the S rule, and the general rule never sees it. Nor does it see a breakdown in any other category. It only runs for a breakdown with no category code at all, which is why BR-47 still works: a breakdown without ram:CategoryCode matches none of the category rules and falls through to the general one. BR-45, BR-46, BR-48 and BR-CO-03 never run on a real invoice.

Three broken invoices, three syntaxes

The same three changes to the standard rated (S) breakdown, made in the CII, the UBL and the Factur-X version of use case 13:

Change CII (EXTENDED-CTC-FR) UBL (EXTENDED-CTC-FR) Factur-X EXTENDED
No rate (BT-119) BR-FXEXT-S-08, BR-FXEXT-S-09 BR-48, BR-FREXT-S-08, BR-FREXT-S-09 BR-48, BR-FXEXT-S08b, BR-FXEXT-S-09b
No taxable amount (BT-116) BR-FXEXT-S-08, BR-FXEXT-S-09 BR-45, BR-FREXT-S-08, BR-FREXT-S-09 BR-45, BR-FXEXT-S08b, BR-FXEXT-S-09b
Tax point date (BT-7) beside its code (BT-8) nothing BR-CO-03 BR-CO-03

The first two are still refused in CII, by the category's own sum rules, which can't add up a breakdown with a missing value:

BR-FXEXT-S-08  In a VAT breakdown (BG-23), for each different value of VAT rate (BT-119), where VAT category code (BT-118) is equal to “S” ("Standard Rated"), Absolute Value of (VAT category taxable amount (BT-116) ...
BR-FXEXT-S-09  For each different value of VAT rate (BT-119) where the VAT category code (BT-118) is equal to “S” ("Standard rated"), Absolute Value of (VAT category tax amount (BT-117) ...

So the invoice is refused either way, but with a different reason in each syntax, and a sum rule is a poor description of a missing field. A platform that maps rule ids to messages for its users gets BR-48 from a UBL invoice and BR-FXEXT-S-08 from the same mistake in CII.

The third gets through. Here the S breakdown carries both the date the VAT becomes due and the code for it, which EN 16931 forbids:

<ram:ApplicableTradeTax>
  <ram:CalculatedAmount>39.89</ram:CalculatedAmount>
  <ram:TypeCode>VAT</ram:TypeCode>
  <ram:BasisAmount>199.43</ram:BasisAmount>
  <ram:CategoryCode>S</ram:CategoryCode>
  <ram:TaxPointDate><udt:DateString format="102">20261101</udt:DateString></ram:TaxPointDate>
  <ram:DueDateTypeCode>5</ram:DueDateTypeCode>
  <ram:RateApplicablePercent>20.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>

UBL and Factur-X refuse it:

BR-CO-03  Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive.

The CII rules accept it, with no finding at all.

Where it comes from

The EN 16931 rules for CII that CEN publishes have the same layout, and the same problem in a narrower form. There most category rules take the category code element as their context, ram:ApplicableTradeTax/ram:CategoryCode[. = 'E'], a different node from the breakdown, so the category rule and the general rule both run. Only the L, M and O rules use the breakdown itself, and for those three categories the general rule is skipped; CEN has it as eInvoicing-EN16931 #534. The EXTENDED-CTC-FR CII rules write all nine category rules with the breakdown as context, so the gap covers every category.

The Factur-X EXTENDED rules, which FNFE-MPE publishes too, avoid it: the general breakdown rule is in a pattern of its own, at the top of FACTUR-X_EXTENDED.sch, and a node is checked once in every pattern. Moving the rule there in the CII file is the whole fix.

A second difference: BR-53

BR-53 says that if the VAT accounting currency (BT-6) is given, the VAT total in that currency (BT-111) must be too. In CII the rule adds a condition, that BT-6 differs from the invoice currency (BT-5). In UBL it only checks that a tax total in the BT-6 currency exists. Give a euro invoice EUR as its VAT accounting currency as well:

<ram:TaxCurrencyCode>EUR</ram:TaxCurrencyCode>
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>

The CII rules refuse it:

BR-53  If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided.

The same in UBL, <cbc:TaxCurrencyCode>EUR</cbc:TaxCurrencyCode> after <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>, passes, because the invoice's one tax total is in euros. A receiver of such invoices asked about it on FNFE's GitHub (France_RFE #114). This one is in CEN's rules as well, and CEN has said it won't change them: EN 16931 doesn't forbid BT-6 to equal BT-5, so the UBL rule is the right one (eInvoicing-EN16931 #524). Peppol does forbid it, with its own rule, PEPPOL-EN16931-R005.

What to do until the rules change

If you write EXTENDED-CTC-FR invoices in CII:

  • Don't take a pass as proof that every breakdown has its taxable amount, tax amount and rate, or that BT-7 and BT-8 don't appear together. Check those four in your own code, or check the invoice against the UBL or Factur-X EXTENDED rules as well, which run them.
  • Leave BT-6 out when the VAT accounting currency is the invoice currency. That passes in both syntaxes and in Peppol.

If you receive them, expect the same mistake under different rule ids depending on the syntax, and a CII invoice with both BT-7 and BT-8 to come through.

xmlvalid runs FNFE-MPE's rule files as published, so its EXTENDED-CTC-FR CII check gives the same results as a platform running them, including these. When FNFE-MPE publishes a release that moves the rule, we'll take it the same week.

More from the blog