Reference
Markdown exportBR-14 Invoice total amount with VAT is required
An invoice shall have the Invoice total amount with VAT (BT-112): the invoice total including VAT, before any amount already paid (BT-113) is deducted.
Problem Description
ERROR
EN 16931 core business rule (CEN)
Context and Significance
This is an EN 16931 core rule. BT-112 is BT-109 plus the invoice total VAT amount (BT-110), as checked by BR-CO-15. The amount due for payment (BT-115) is derived from it and differs from BT-112 when part of the invoice was paid in advance. The error appears when an export writes only the payable amount and treats it as the total with VAT. In CII, BT-112 is ram:GrandTotalAmount.
Solution
Add cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount equal to BT-109 plus the total VAT amount (BT-110).
Quick actions
Valid Examples
- BT-112 = 1190.00 — net total 1000.00 plus VAT 190.00
Invalid Examples
- cac:LegalMonetaryTotal has no cbc:TaxInclusiveAmount element
Code Examples
Valid XML
<cac:LegalMonetaryTotal>
<cbc:TaxExclusiveAmount currencyID="EUR">1000.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">1190.00</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">1190.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>Invalid XML
<cac:LegalMonetaryTotal>
<cbc:TaxExclusiveAmount currencyID="EUR">1000.00</cbc:TaxExclusiveAmount>
<cbc:PayableAmount currencyID="EUR">1190.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>