BR-FREXT-CO-04
Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151), if the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "DETAIL" or is not specified.
Official rule text
[BR-FREXT-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151), if the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "DETAIL" or is not specified.
[BR-FREXT-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151) if the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "Normal line item (standard case)" (DETAIL) or is not specified.
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)
BG-25BT-151
Technical check
- Syntax
- CII · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
- Context
//ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument[not(ram:LineStatusReasonCode) or ram:LineStatusReasonCode = 'DETAIL']- Test (must be true)
(../ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[upper-case(ram:TypeCode) = 'VAT']/ram:CategoryCode)
- Syntax
- UBL · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
- Context
cac:InvoiceLine | cac:CreditNoteLine- Test (must be true)
not($lineInCalul) or (exists(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/(normalize-space(upper-case(cbc:ID))='VAT')]/cbc:ID))
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-CO-04",
"message": "[BR-FREXT-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151), if the \"Subtype of invoice line item\" (EXT-FR-FE-163 / BT-X-8) has the value \"DETAIL\" or is not specified.",
"xpath": "/…",
"source": "schematron:france-rfe@1.4.0.04",
"docUrl": "https://einvoice-api.eu/rules/br-frext-co-04.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.