BR-FREXT-12
Num Fact : … , Num line : … - [BR-FREXT-12]-If the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "GROUP" and if the "Invoice line net amount" (BT-131) is specified, all lower levels which has "Subtype of invoice line item" (EXT-FR-FE-163) equal to "GROUP" MUST contain a "Invoice line net amount" (BT-131) value.
Official rule text
Num Fact : … , Num line : … - [BR-FREXT-12]-If the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "GROUP" and if the "Invoice line net amount" (BT-131) is specified, all lower levels which has "Subtype of invoice line item" (EXT-FR-FE-163) equal to "GROUP" MUST contain a "Invoice line net amount" (BT-131) value.
Num line : … - [BR-FREXT-12]-If the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "GROUP" and if the "Invoice line net amount" (BT-131) is specified, all lower levels which has "Subtype of invoice line item" (EXT-FR-FE-163) equal to "GROUP" MUST contain a "Invoice line net amount" (BT-131) value.
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04) FNFE-MPE | EXTENDED-CTC-FR (CII), EXTENDED-CTC-FR (UBL Invoice), EXTENDED-CTC-FR (UBL CreditNote) | fatal |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Business terms concerned (EN 16931)
BT-131
Technical check
- Syntax
- CII · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
- Context
//ram:IncludedSupplyChainTradeLineItem- Test (must be true)
($isSublineGroup and $numberChildWG = $numberChildWGAndBT131) or not($isSublineGroup)
- Syntax
- UBL · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
- Context
(cac:InvoiceLine|cac:CreditNoteLine)- Test (must be true)
($isSublineGroup and count((../cac:InvoiceLine|../cac:CreditNoteLine)[cac:BillingReference[cac:InvoiceDocumentReference/cbc:ID = $invoiceID]/cac:BillingReferenceLine/cbc:ID=$lineID][cac:BillingReference[cac:InvoiceDocumentReference/cbc:ID = $invoiceID]/cac:InvoiceDocumentReference/cbc:DocumentStatusCode = 'GROUP']) = count((../cac:InvoiceLine|../cac:CreditNoteLine)[cac:BillingReference[cac:InvoiceDocumentReference/cbc:ID = $invoiceID]/cac:BillingReferenceLine/cbc:ID=$lineID][cac:BillingReference[cac:InvoiceDocumentReference/cbc:ID = $invoiceID]/cac:InvoiceDocumentReference/cbc:DocumentStatusCode = 'GROUP']/cbc:LineExtensionAmount) )or not($isSublineGroup)
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "fatal",
"ruleId": "BR-FREXT-12",
"message": "Num Fact : … , Num line : … - [BR-FREXT-12]-If the \"Subtype of invoice line item\" (EXT-FR-FE-163 / BT-X-8) has the value \"GROUP\" and if the \"Invoice line net amount\" (BT-131) is specified, all lower levels which has \"Subtype of invoice line item\" (EXT-FR-FE-163) equal to \"GROUP\" MUST contain a \"Invoice line net amount\" (BT-131) value.",
"xpath": "/…",
"source": "schematron:france-rfe@1.4.0.04",
"docUrl": "https://einvoice-api.eu/rules/br-frext-12.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.