JOF-14ErrorISTD JoFotara UBL 2.1implemented
JoFotara Line Net Amount Arithmetic
Each InvoiceLine must have positive quantity, valid unit price, and LineExtensionAmount equal to (Quantity * PriceAmount) - Discount.
- Scope
- Invoice Lines
- Applicable Invoice Types
- Standard (B2B), Simplified (B2C), Credit Note, Debit Note
- Catalog Version
- v1.0.0 (2026-11-23)
- Target XPath
/Invoice/cac:InvoiceLine/cbc:LineExtensionAmount
Typical Reason for Failure
Line discounts are not subtracted from LineExtensionAmount or 3-decimal JOD rounding diverges.
Invalid Synthetic Example
Before (Fails)xml
<cbc:InvoicedQuantity>2</cbc:InvoicedQuantity><cbc:LineExtensionAmount currencyID="JOD">190.000</cbc:LineExtensionAmount> <!-- 2 * 100 = 200 -->Corrected Synthetic Example
After (Fixed)xml
<cbc:InvoicedQuantity>2</cbc:InvoicedQuantity><cbc:LineExtensionAmount currencyID="JOD">200.000</cbc:LineExtensionAmount>Explanation of the Fix
Compute LineExtensionAmount with Decimal quantized to 3 decimal places for JOD.
Test your invoice against JOF-14 now
Browser quick check; raw XML is never stored.