Back to the error catalogue
BR-FREXT-06EXT-FR-FE-163
input

A line attached to a parent line does not state its subtype

In the extended profile, a line referencing a parent line (EXT-FR-FE-162) must declare its subtype (EXT-FR-FE-163).

Only the issuer holds this value: Factlint reports it and never fabricates it. Test your invoice to find out whether it is affected.

The message your validator prints

Copied verbatim from the sealed artefact: this is the exact sentence the check prints when this rule fails.

cii

[BR-FREXT-06]- For each item (BG-25), if the "ID of the parent line" (BT-X-304 / EXT-FR-FE-162) is used, the "Subtype of the invoice item" (BT-X-8 / EXT-FR-FE-163) must be specified."

ubl

Num Fact : Num line : , Parent line : , Subline Code : - [BR-FREXT-06]-If the "Identifier of the parent line" (EXT-FR-FE-162) is used, the "Subtype of the invoice line item" (EXT-FR-FE-163) must be specified

Quoted from schematron-fnfe 1.4.0.03, licensed under Apache-2.0.

Common searches around this code

These phrases mirror what an integrator searches for: code, syntax, rule, business field and correction.

BR-FREXT-06 A line attached to a parent line does not state its subtypeBR-FREXT-06 FNFE Schematron packageBR-FREXT-06 EXT-FR-FE-163[BR-FREXT-06]- For each item (BG-25), if the "ID of the parent line" (BT-X-304 / EXT-FR-FE-162) is used, the "Subtype of the invoice item" (BT-X-8 / EXT-FR-FE-163) must be specified."BR-FREXT-06 correction

Test your file with this error in mind

Upload the invoice involved: the report will say whether this code appears, where it appears in the document, and whether Factlint can only report it or also fix it.

To automate this check in an ERP flow, call the validation API and link every returned code to its public page.

Why this error happens

A line hierarchy can only be read with the role of each level: without a subtype, one cannot tell whether the sub-line details an amount already carried by its parent or adds to it — and the totals become ambiguous. It only applies to documents that declare the EXTENDED-CTC-FR profile — the profile sheet replaces the CEN package and adds its own rules for hierarchical lines.

How to fix it

Declare the subtype of each attached line — DETAIL or GROUP according to its role. Factlint does not infer an invoice's structure.

Severity returned by the rule set

Blocking since 1 September 2026: the current base, `fr-2026-09`, seals the FNFE 1.4.0.03 artefact in fatal mode, and it is the one the pinned engine applies by default. An invoice issued in August 2026 is judged against `fr-2026-08`, where the same rule comes out as a warning — which already rules out a “compliant” verdict. The API returns the severity of the rule set pinned for the judged invoice.

XML correction example

BEFORE (invalid)
<ram:ParentLineID>1</ram:ParentLineID>
AFTER (compliant)
<ram:ParentLineID>1</ram:ParentLineID><ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>