JOF-16ErrorISTD JoFotara UBL 2.1implemented
JoFotara LegalMonetaryTotal & Document Tax Consistency
TaxExclusiveAmount, TaxTotal/TaxAmount, TaxInclusiveAmount, and PayableAmount must reconcile cleanly against line sums using Decimal math.
- Scope
- Monetary Totals
- Applicable Invoice Types
- Standard (B2B), Simplified (B2C), Credit Note, Debit Note
- Catalog Version
- v1.0.0 (2026-11-23)
- Target XPath
/Invoice/cac:LegalMonetaryTotal
Typical Reason for Failure
Document TaxTotal or PayableAmount diverges from the sum of line net and line tax amounts.
Invalid Synthetic Example
Before (Fails)xml
<cbc:TaxExclusiveAmount currencyID="JOD">200.000</cbc:TaxExclusiveAmount><cbc:TaxInclusiveAmount currencyID="JOD">220.000</cbc:TaxInclusiveAmount> <!-- Tax is 32.000 -->Corrected Synthetic Example
After (Fixed)xml
<cbc:TaxExclusiveAmount currencyID="JOD">200.000</cbc:TaxExclusiveAmount><cbc:TaxInclusiveAmount currencyID="JOD">232.000</cbc:TaxInclusiveAmount>Explanation of the Fix
Compute header totals strictly from exact Decimal line sums.
Test your invoice against JOF-16 now
Browser quick check; raw XML is never stored.