InvoiceGlass

Too many entries for item price discount amount · UBL-SR-37

  • Severity · Error
  • Applies to · UBL
  • Editorial review pending

The check allows item price discount amount at most once per line. 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

  1. Check the export mapping at cac:InvoiceLine | cac:CreditNoteLine → cac:Price/cac:AllowanceCharge/cbc:Amount.
  2. 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 cac:Price/cac:AllowanceCharge/cbc:Amount per line and allows at most 1.

Message to the sender

Hello,

rule UBL-SR-37 was triggered when checking electronic invoice {invoiceNumber}. The export gives item price discount amount more often than allowed per line. Could you check the export and send us a corrected file?

Kind regards

Example

The export has 2 entries for item price discount amount per line. After checking which details apply, the corrected export has at most 1.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file