Online OIOUBL Dokumentation
Overblik
Regler
PEPPOL-EN16931-R040
PEPPOL-EN16931-R040
Fejlmeddelelse
Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists
Uddybende beskrivelse
Kontekst
ubl-invoice:Invoice/cac:AllowanceCharge | ubl-invoice:Invoice/cac:InvoiceLine/cac:AllowanceCharge | ubl-creditnote:CreditNote/cac:AllowanceCharge | ubl-creditnote:CreditNote/cac:CreditNoteLine/cac:AllowanceCharge
Testudtryk
not(cbc:MultiplierFactorNumeric and cbc:BaseAmount) or u:slack(if (cbc:Amount) then cbc:Amount else 0, (xs:decimal(cbc:BaseAmount) * xs:decimal(cbc:MultiplierFactorNumeric)) div 100, 0.02)
Brug
Invoice
/
cac:AllowanceCharge
/
cbc:Amount
Invoice
/
cac:InvoiceLine
/
cac:AllowanceCharge
/
cbc:Amount
CreditNote
/
cac:AllowanceCharge
/
cbc:Amount
CreditNote
/
cac:CreditNoteLine
/
cac:AllowanceCharge
/
cbc:Amount