← Retour à la bibliothèque d’erreurs

UBL-TAX-002 · UBL · EN16931 · Peppol

UBL: TaxTotal does not match TaxSubtotal amounts

The overall tax amount differs from the tax subtotal amounts.

UBL 2.1, EN16931Dernière revue métier: 2026-07-05

Signification

The overall tax amount differs from the tax subtotal amounts.

Cause typique

A tax rate was counted twice, omitted or rounded differently.

Champs / chemins XML concernés

/ubl:Invoice/cac:TaxTotal/cbc:TaxAmount/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount

Exemple incorrect

<cac:TaxTotal><cbc:TaxAmount>23.00</cbc:TaxAmount><cac:TaxSubtotal><cbc:TaxAmount>22.99</cbc:TaxAmount></cac:TaxSubtotal></cac:TaxTotal>

Exemple corrigé

<cac:TaxTotal><cbc:TaxAmount>23.00</cbc:TaxAmount><cac:TaxSubtotal><cbc:TaxAmount>23.00</cbc:TaxAmount></cac:TaxSubtotal></cac:TaxTotal>

Étapes de correction

  1. Re-sum tax subtotals.
  2. Check currency and rounding.
  3. Derive TaxTotal from subtotals.