BR-FR-DEC-02_BT-149
The rule sets below word this rule differently; each wording is shown with its rule set.
In English The item price base quantity (BT-149) is not valid: at most 4 decimals, a point as the decimal separator and at most 19 characters without it; it may start with a minus sign.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
[BR-FR-DEC-02/BT-149] La quantité de base du prix « … » est invalide. Elle doit : - être un nombre avec au plus 4 décimales (séparateur « . »), - contenir au maximum 19 caractères (hors séparateur), - et peut commencer par un signe « - ». Veuillez corriger cette quantité pour respecter le format requis.
ubl:Invoice/cac:InvoiceLine | cn:CreditNote/cac:CreditNoteLine
not($quantity) or custom:is-valid-decimal-19-4($quantity)
Checked with France e-invoice (UBL), France e-credit note (UBL), France EXTENDED-CTC-FR (UBL)
BR-FR-DEC-02/BT-149 : La quantité « … » est invalide. Elle doit : - être un nombre avec au plus 4 décimales (séparateur « . »), - contenir au maximum 19 caractères (hors séparateur), - et peut commencer par un signe « - ». Veuillez corriger cette quantité pour respecter le format requis.
rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity
custom:is-valid-decimal-19-4($quantity)
Checked with France e-invoice (CII), France Factur-X EN 16931, France EXTENDED-CTC-FR (CII), France Factur-X EXTENDED, France Factur-X BASIC WL