BR-CO-12: Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-9
Schweregrad: fatal · Syntax: CII, UBL
Offizielle Meldung
Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).
Was bedeutet das?
Die offizielle Meldung lautet: Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). Diese Seite ergänzt keine weitere Pflicht.
Typische Ursache
Die Prüfbedingung im genannten Kontext ist für diese Datei fehlgeschlagen.
So beheben Sie es
Passen Sie die Datei so an, dass die Prüfbedingung besteht, und prüfen Sie sie erneut. Die Seite hilft Ihnen, die Regel zu lesen.
Business Term
BT-108, BT-99
Verwandte Regeln
Kontext und Prüfbedingung
UBL cac:LegalMonetaryTotal
CII //ram:SpecifiedTradeSettlementHeaderMonetarySummation
UBL
xs:decimal(cbc:ChargeTotalAmount) = (round(sum(../cac:AllowanceCharge[cbc:ChargeIndicator=true()]/xs:decimal(cbc:Amount)) * 10 * 10) div 100) or (not(cbc:ChargeTotalAmount) and not(../cac:AllowanceCharge[cbc:ChargeIndicator=true()]))CII
(not(/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()])and not (ram:ChargeTotalAmount)) or ram:ChargeTotalAmount = (round(sum(/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()]/ram:ActualAmount[1])* 10 * 10 ) div 100)
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate