InvoiceGlass

Too many entries for payment means code · UBL-SR-27

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

The check allows payment means code at most once per payment instructions 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

  1. Check the export mapping at cac:PaymentMeans → cbc:PaymentMeansCode.
  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 cbc:PaymentMeansCode per payment instructions block and allows at most 1.

Message to the sender

Hello,

rule UBL-SR-27 was triggered when checking electronic invoice {invoiceNumber}. The export gives payment means code more often than allowed per payment instructions block. Could you check the export and send us a corrected file?

Kind regards

Example

The export has 2 entries for payment means code per payment instructions block. After checking which details apply, the corrected export has at most 1.

UBL

cac:PaymentMeans → cbc:PaymentMeansCode

Fails the rule
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>

Corrected
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file