Too many entries for allowance reason text · UBL-SR-30
- Severity · Error
- Applies to · UBL
- Editorial review pending
The check allows allowance reason text at most once per allowance block. The rule fires when the export supplies more entries.
As of
Who can correct it?
The invoicing software provider can correct the export.
How to fix it
- Check the export mapping at cac:AllowanceCharge[cbc:ChargeIndicator = false()] → cbc:AllowanceChargeReason.
- Check which entries apply and correct the export mapping. A duplicate can be reduced to one entry.
Rule text and source
Paraphrase · The test counts matches at cbc:AllowanceChargeReason per allowance block and allows at most 1.
Message to the sender
Hello,
rule UBL-SR-30 was triggered when checking electronic invoice {invoiceNumber}. The export gives allowance reason text more often than allowed per allowance block. Could you check the export and send us a corrected file?
Kind regardsExample
The export has 2 entries for allowance reason text per allowance block. After checking which details apply, the corrected export has at most 1.
UBL
cac:AllowanceCharge[cbc:ChargeIndicator = false()] → cbc:AllowanceChargeReason
Fails the rule
<cbc:AllowanceChargeReason>Example</cbc:AllowanceChargeReason>
<cbc:AllowanceChargeReason>Example</cbc:AllowanceChargeReason>
Corrected
<cbc:AllowanceChargeReason>Example</cbc:AllowanceChargeReason>Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17