errorformatEN16931

UBL-SR-37:Item price discount shall occur maximum once

Fix: Your invoice line contains multiple Item price discount elements (Price/AllowanceCharge). EN16931 allows only one discount per price.

Your invoice line contains multiple Item price discount elements (Price/AllowanceCharge). EN16931 allows only one discount per price.

Severity
Fatal
Rule set
EN16931
Country
All EU
Fix type
CONFIRM
Confidence
90%
Category
structural

Engine Classification

Requires user confirmation before application

What is UBL-SR-37?

UBL-SR-37 is a fatal validation rule defined in the EN16931 specification. It validates the Amount element under Price > AllowanceCharge in the UBL invoice XML.

When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.

Target path: //cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:Amount

Why This Error Matters

Invoice will be rejected by EN16931 validators. These structural constraints ensure consistent processing by receiving systems.

UBL-SR-37 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Validator Behavior

  • ·Causes invoice rejection
  • ·Fails EN 16931 business rule validation
  • ·Error returned: UBL-SR-37
  • ·Specification: EN16931

How to Fix It

1.

Locate the duplicate entries

Search for multiple cbc:Amount elements at //cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:Amount. Only one instance is allowed per the specification.

2.

Remove the duplicates

Your invoice line contains multiple Item price discount elements (Price/AllowanceCharge). EN16931 allows only one discount per price.

3.

Re-validate your invoice

Upload the corrected invoice to confirm UBL-SR-37 is resolved.

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Missing or empty element triggers cbc:Amount error -->
<cbc:Amount></cbc:Amount>
After
<!-- Provide the required value -->
<cbc:Amount>VALID_VALUE</cbc:Amount>

Technical Reference

XPath//cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:Amount
SpecEN16931
Operationremove_duplicates
StrategyRemove duplicate item price discount amounts, keeping the first occurrence

Common Causes

  • ·ERP system exports multiple values where EN16931 only allows one
  • ·Data consolidation merged records without deduplicating
  • ·Template or mapping incorrectly configured to output duplicate elements
  • ·Manual editing introduced extra elements
  • ·Invoice conversion from another format did not merge duplicate entries

Seeing this in production? The API handles UBL-SR-37 automatically. See the fix response →

Frequently Asked Questions

Your invoice line contains multiple Item price discount elements (Price/AllowanceCharge). EN16931 allows only one discount per price.

Your invoice line contains multiple Item price discount elements (Price/AllowanceCharge). EN16931 allows only one discount per price. You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, UBL-SR-37 is a critical error that will cause invoice rejection. It must be fixed before submission.

Many instances of UBL-SR-37 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.

Related Content

Last updated: 14 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for UBL-SR-37

Fix UBL-SR-37 with one click

Upload your invoice and we'll suggest a fix for your review before applying it.