Skip to main content

PEPPOL-EN16931-R061 Direct debit requires the mandate reference identifier (BT-89)

Under rule PEPPOL-EN16931-R061, every payment means with a direct debit code in BT-81 (49 = direct debit, 59 = SEPA direct debit) must state the mandate reference identifier BT-89. The rule comes from Peppol BIS Billing 3.0, and the KoSIT rulepack for XRechnung 3.0.2 applies it too, for UBL and CII. In UBL, the validator checks for cac:PaymentMandate/cbc:ID inside the same cac:PaymentMeans; in CII, for ram:DirectDebitMandateID in ram:SpecifiedTradePaymentTerms of the header settlement. The rule is flagged as fatal, so the invoice is not valid.

Problem Description

ERROR

Peppol BIS Billing 3.0 rule (OpenPeppol)

Interactive pipeline

Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.

Try:

PEPPOL-EN16931-R061 Peppol BIS Billing rule

Reported in stage 3: National rules (CIUS).

Level error: the report recommends rejecting the invoice.

Stage 3 · What it checks

  • The specification identifier in BT-24 selects the rule set, for example XRechnung 3.0 or Peppol BIS Billing 3.0.
  • XRechnung adds the German BR-DE rules: buyer reference (BT-10), seller contact, payment instructions.
  • Peppol adds PEPPOL-EN16931 and country rules. XRechnung applies some PEPPOL-EN16931 rules too.

Example codes

Typical fix

Fill the fields the rule set requires in your master data, such as the Leitweg-ID in BT-10 or the seller contact.

A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. PEPPOL-EN16931-R061: Peppol BIS Billing rule, reported in the stage “National rules (CIUS)”. Rule sets: KoSIT validator 1.6.3 with the XRechnung configuration of 31 Aug 2026 (EN 16931 artefacts 1.3.16), Peppol BIS Billing 3.0.21.

Context and Significance

The error appears when an invoice is marked as direct debit but the mandate reference stays in the ERP customer record or is printed only in a note. Without BT-89 the buyer cannot match the debit to a mandate. R061 covers only the mandate reference. But BT-89 creates the direct debit group BG-19, for code 49 as well as for code 59. As soon as BG-19 is present, XRechnung 3.0.2 also requires the creditor identifier BT-90 under BR-DE-30 and the debited account BT-91 under BR-DE-31.

Solution

Take the mandate reference from the signed direct debit mandate (for SEPA, the unique mandate reference agreed with the buyer) and export it in BT-89. In UBL 2.1, add <cac:PaymentMandate><cbc:ID>MANDATE-2026-001</cbc:ID></cac:PaymentMandate> inside the <cac:PaymentMeans> with code 49 or 59. In CII, add <ram:DirectDebitMandateID>MANDATE-2026-001</ram:DirectDebitMandateID> inside <ram:SpecifiedTradePaymentTerms> under <ram:ApplicableHeaderTradeSettlement>. If there is no mandate, the buyer cannot be debited: use a credit transfer code (30 or 58) with the seller account in BG-17 instead.

Quick actions

Valid Examples

  • BT-81 = 59 with BT-89 = "MANDATE-2026-001" in cac:PaymentMandate/cbc:ID
  • CII: TypeCode 49 with ram:DirectDebitMandateID = "M-7781" in the header payment terms

Invalid Examples

  • BT-81 = 59 with the debited IBAN in cac:PaymentMandate/cac:PayerFinancialAccount, but no cac:PaymentMandate/cbc:ID
  • BT-81 = 49 and the mandate reference appears only in the invoice note (BT-22)

Code Examples

Valid XML
<cac:PaymentMeans>
  <cbc:PaymentMeansCode>59</cbc:PaymentMeansCode>
  <cac:PaymentMandate>
    <cbc:ID>MANDATE-2026-001</cbc:ID>
    <cac:PayerFinancialAccount>
      <cbc:ID>DE89370400440532013000</cbc:ID>
    </cac:PayerFinancialAccount>
  </cac:PaymentMandate>
</cac:PaymentMeans>
Invalid XML
<cac:PaymentMeans>
  <cbc:PaymentMeansCode>59</cbc:PaymentMeansCode>
  <cac:PaymentMandate>
    <cac:PayerFinancialAccount>
      <cbc:ID>DE89370400440532013000</cbc:ID>
    </cac:PayerFinancialAccount>
  </cac:PaymentMandate>
</cac:PaymentMeans>

Affected Fields

Validation Tools