XRechnung 2.3.0 · UBL

UBL-CR-556

XRechnung 2.3.0 · UBL

warningschema

Original rule text

[UBL-CR-556]-A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCost

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:AllowanceCharge/cbc:AccountingCost)