Hoppa till innehållet
Fakturaguru
BR-CO-13FelEN 16931 (CEN)

Totalbeloppet exklusive moms stämmer inte

Ett fel betyder att fakturan inte uppfyller reglerna. Den avvisas normalt när den skickas via Peppol.

Vad regeln betyder

Totalbeloppet exklusive moms (BT-109) måste vara summan av radernas nettobelopp (BT-106) minus rabatter på dokumentnivå (BT-107) plus avgifter på dokumentnivå (BT-108), avrundat till två decimaler. Exempel: 1 000,00 − 50,00 + 30,00 ska bli 980,00.

Så rättar du felet

Kontrollera att rabatter och avgifter på fakturanivå dras av respektive läggs till och att inget belopp räknats två gånger. Felet kommer nästan alltid från avsändarens program, som behöver rätta och skicka om fakturan.

Officiell regeltext

Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).
Teknisk kontroll (XPath)
Kontext – där regeln kontrolleras
cac:LegalMonetaryTotal
Test – måste vara sant, annars visas felet
((cbc:ChargeTotalAmount) and (cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) + xs:decimal(cbc:ChargeTotalAmount) - xs:decimal(cbc:AllowanceTotalAmount)) * 10 * 10) div 100 )) or (not(cbc:ChargeTotalAmount) and (cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) - xs:decimal(cbc:AllowanceTotalAmount)) * 10 * 10 ) div 100)) or ((cbc:ChargeTotalAmount) and not(cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) + xs:decimal(cbc:ChargeTotalAmount)) * 10 * 10 ) div 100)) or (not(cbc:ChargeTotalAmount) and not(cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = xs:decimal(cbc:LineExtensionAmount)))

Källa: Peppol BIS Billing 3.0.21 · EN 16931 1.3.16.

Begrepp i regeln