BR-FXEXT-BR-22

Each invoice line item "INVOICE LINE" (BG-25) must contain the quantity of goods or services invoiced in the relevant line item as a line item "Invoiced quantity" (BT-129) if the "Subtype of invoice line item" (BT-X-8) has the value "Normal line item (standard case)" (DETAIL) or is not specified.

Official rule text

[BR-FXEXT-BR-22]-Each invoice line item "INVOICE LINE" (BG-25) must contain the quantity of goods or services invoiced in the relevant line item as a line item "Invoiced quantity" (BT-129) if the "Subtype of invoice line item" (BT-X-8) has the value "Normal line item (standard case)" (DETAIL) or is not specified.

Where the rule applies

Rule setDocument typeSeverity
ZUGFeRD / Factur-X (2.5.2)
FeRD, FNFE-MPE
Factur-X EXTENDED (CII)error

Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.

Business terms concerned (EN 16931)

  • BG-25
  • BT-129

Technical check

Syntax
CII · ZUGFeRD / Factur-X (2.5.2)
Context
//ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument[not(ram:LineStatusReasonCode) or ram:LineStatusReasonCode = 'DETAIL']
Test (must be true)
(../ram:SpecifiedLineTradeDelivery/ram:BilledQuantity)

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": "error",
  "ruleId": "BR-FXEXT-BR-22",
  "message": "[BR-FXEXT-BR-22]-Each invoice line item \"INVOICE LINE\" (BG-25) must contain the quantity of goods or services invoiced in the relevant line item as a line item \"Invoiced quantity\" (BT-129) if the \"Subtype of invoice line item\" (BT-X-8) has the value \"Normal line item (standard case)\" (DETAIL) or is not specified.",
  "xpath": "/…",
  "source": "schematron:zugferd@2.5.2",
  "docUrl": "https://einvoice-api.eu/rules/br-fxext-br-22.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.