Error codes

PEPPOL-EN16931-R046: Item net price MUST equal (Gross price - Allowance amount) when gross price is p

Severity: fatal · Syntax: CII, UBL

Official message

Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.

What this means

The official message is: Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

—

Related rules

Context and assertion

UBL cac:Price/cac:AllowanceCharge

CII rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice

UBL

not(cbc:BaseAmount) or xs:decimal(../cbc:PriceAmount) = xs:decimal(cbc:BaseAmount) - xs:decimal(cbc:Amount)

CII

not(ram:ChargeAmount) or xs:decimal(../ram:NetPriceProductTradePrice/ram:ChargeAmount) = xs:decimal(ram:ChargeAmount) - u:decimalOrZero(ram:AppliedTradeAllowanceCharge/ram:ActualAmount[1])

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate