BR-FXEXT-CO-16
Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) + Rounding amount (BT-114) + Sum of Charge amount collected on behalf of a third party (BT-179).
Official rule text
[BR-FXEXT-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) + Rounding amount (BT-114) + Sum of Charge amount collected on behalf of a third party (BT-179).
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| ZUGFeRD / Factur-X (2.5.2) FeRD, FNFE-MPE | Factur-X EXTENDED (CII) | error |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Business terms concerned (EN 16931)
BT-112BT-113BT-114BT-115BT-179
Technical check
- Syntax
- CII · ZUGFeRD / Factur-X (2.5.2)
- Context
//ram:SpecifiedTradeSettlementHeaderMonetarySummation- Test (must be true)
xs:decimal(ram:DuePayableAmount) = xs:decimal(sum(ram:GrandTotalAmount/xs:decimal(.))) - xs:decimal(sum(ram:TotalPrepaidAmount/xs:decimal(.))) + xs:decimal(sum(ram:RoundingAmount/xs:decimal(.))) + xs:decimal(sum(../ram:SpecifiedFinancialAdjustment/ram:ActualAmount/xs:decimal(.)))
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "error",
"ruleId": "BR-FXEXT-CO-16",
"message": "[BR-FXEXT-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) + Rounding amount (BT-114) + Sum of Charge amount collected on behalf of a third party (BT-179).",
"xpath": "/…",
"source": "schematron:zugferd@2.5.2",
"docUrl": "https://einvoice-api.eu/rules/br-fxext-co-16.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.