How to Set IBAN, Due Date and Payment Reference on Peppol — Odoo & ERP article by Rui Codex

Put the supplier's IBAN in the payment account field, the due date in the payment terms and dates, and a Belgian structured communication in the payment reference field. Each value should be a separate machine-readable element, and the amount and IBAN must match the bank account the buyer actually uses, because a payable invoice with wrong payment data still gets paid late or to the wrong place.

Key takeaways

  • The IBAN, the due date and the payment reference belong in their own structured fields, not only in a PDF or a free-text note.
  • A Belgian structured communication is a 12-digit reference with a built-in check, and a wrong check digit is an easy error to catch before sending.
  • The due date and the payment terms text must describe the same deadline, or the buyer's system will pick one and the other becomes a dispute.
  • Validate the IBAN and the reference in the sending system, and test one invoice end to end with the receiving party before you scale.

Where do payment details sit in a Peppol invoice?

The payment details live in structured business terms of the invoice document, not in the layout of a PDF. A Peppol invoice is an XML document exchanged between access points, and the receiving system reads the payment means, the payment account, the due date and the remittance information directly from that XML. The European semantic standard for electronic invoices describes these as business terms, but the exact element names depend on the version of the billing specification your software uses, so check the version your provider implements rather than copying element names from an old example.

Think of the invoice as having three payment layers. The first is the means of payment, which states whether the buyer pays by bank transfer. The second is the payment account, which carries the IBAN and, optionally, the bank name. The third is the remittance information, which carries the reference that lets the buyer's accounts team match the payment to the invoice. A typical Peppol flow maps the due date and the payment terms into the same document, which is why they must agree.

Tip: Ask your integration partner to show you the raw XML of one outgoing invoice, and read the payment block yourself before you trust the PDF.

How should the IBAN be entered and checked?

Enter the IBAN once, in the account master data, and let every invoice draw from that single source. Manual typing on each invoice is where most transposition errors come from. The IBAN has a built-in check digit, so validation tools can reject a mistyped number before the invoice leaves your system.

A practical checklist for the IBAN:

  • Store the IBAN without spaces and confirm the country prefix matches the bank you expect.
  • Run the built-in check digit validation when the record is saved, not only when the invoice is sent.
  • Confirm the account holder name matches the legal name on the invoice, so a reconciliation team can see it is the same company.
  • Lock the IBAN field after approval, and require a separate approval to change it, because changed bank details are a common fraud pattern.

The main trade-off is flexibility. A locked IBAN protects you from fraud and typos, but it slows down a legitimate change of bank. Route changes through a documented process with a second check, for example a call to a known contact, rather than allowing a free edit.

When should the due date be set?

Set the due date from the invoice date and the agreed payment term, and let the system calculate it rather than typing it. The due date and the payment terms text must describe the same deadline. If the terms say thirty days but the due date field holds a different date, the buyer's system may follow either one, and the mismatch becomes a dispute.

When the due date falls on a non-working day, decide in advance whether it moves forward or stays fixed, and write that rule into your terms. Some buyers process payments on set run days, so a due date that falls shortly after a run day can cause a late payment even when the invoice was sent on time.

Tip: Store the payment term as a number of days on the customer record, and derive both the due date and the terms text from that one value.

What is a Belgian structured communication?

A Belgian structured communication is a 12-digit payment reference, written as three blocks between plus signs, for example +++123/4567/89002+++. The first ten digits carry the reference, and the last two digits are a check number calculated from the first ten. The check lets the bank and the accounts team detect a mistyped reference before it causes a misallocated payment.

The check works as follows. Take the first ten digits as a number, divide it by 97, and the remainder becomes the last two digits. If the remainder is zero, the check digits are 97. Your software should compute this automatically, and a reference that fails the check should block the invoice from being issued.

  • Generate the reference from the invoice number in your system, so each invoice has a unique one.
  • Do not reuse a reference across invoices, because the buyer's reconciliation depends on uniqueness.
  • Print the reference in the human-readable part of the invoice as well as in the structured field.
Tip: Test the check with a few generated references before go-live, and include one with a remainder of zero, which is the case most home-made generators get wrong.

Which payment reference should you use?

Use the structured communication when the buyer is a Belgian business or public body that reconciles by reference, and use the invoice number as free text when the buyer has no such process. The structured form is stricter, which makes it reliable for automated matching and less forgiving when it is built wrongly.

CriterionStructured communicationFree-text invoice number
Automated matchingStrong when the buyer's bank reads itWeak, depends on how the buyer types it
Error detectionBuilt-in check digitsNone
Setup effortNeeds a generator with the check logicMinimal
Fails whenThe reference is malformed or reusedThe buyer retypes or shortens it

Hypothetical examples

Here are two hypothetical scenarios:

In the first scenario, a services company sends invoices where the due date is calculated from the invoice date but the terms text was typed by hand on an older template. The two values drift apart after a template change. The buyer pays on the terms text, the company expects the due date, and the reminder process fires against a payment that already arrived. The fix is to derive both values from one source.

In the second scenario, a wholesaler changes its bank account after a merger. The sales team updates the IBAN on the customer record, but the old account stays on a recurring invoice template. Payments go to the old account for several weeks. The fix is a single master record for bank details and a check that compares the template against it before each run.

Where do payment details fail in practice?

Payment data usually fails at the seams between systems rather than inside one of them. An ERP may hold a valid IBAN while the invoicing layer keeps a copy from an earlier import. Connecting the accounting, invoicing and banking layers is the core of the work, and a careful integration review is worth more than any single validation rule.

  • The IBAN in the invoicing layer differs from the one in the ERP master data.
  • The due date is recalculated in one system but not in the document sent to the buyer.
  • The structured reference is truncated when the invoice passes through a field length limit.
  • Credit notes reuse the reference of the original invoice, which confuses reconciliation.
  • Test invoices sent to a live buyer endpoint reach the accounts team and create noise.

Each of these failures is cheap to prevent when it is tested before go-live and expensive when it is discovered by a buyer's accounts team. For organisations that run several systems, the Rui Codex Peppol e-invoicing integration service page describes the technical implementation side, and the wider ERP and CRM integration work covers how master data flows between systems.

Does the law prescribe payment fields?

The European directive on electronic invoicing in public procurement requires contracting authorities to accept electronic invoices that follow the European standard, and it sets the framework within which Peppol-based invoicing operates. The directive itself does not list every payment field a Belgian invoice must carry, so check the current national requirements that apply to your customers. You can read the directive text on EUR-Lex. This article is general information and not legal or tax advice. Rui Codex offers technical implementation support for invoicing integrations and does not provide legal, tax or compliance advice.

For the payment side of the job, use the buyer's requirements as the specification. Ask each major customer which payment reference format they use, and record the answer on the customer record, so the integration can apply the right rule per buyer.

Frequently Asked Questions

Where does the IBAN go on a Peppol invoice?

The IBAN goes in the payment account block of the invoice XML, separate from the seller's postal address. It should come from one master record in your system so that every invoice uses the same verified account. Your provider can show you the field mapping for the billing specification version you use.

Can the due date and the payment terms conflict?

Yes, and when they do, the buyer's system may follow either one. Derive both the due date and the terms text from a single payment term value in your system. Then they cannot drift apart when a template changes.

Is a Belgian structured communication mandatory?

It depends on the buyer and the process, so do not assume it is mandatory for every invoice. Use it when the buyer reconciles payments by reference, and otherwise include the invoice number as free text. Ask the buyer which format they expect before you issue the first invoice.

How do I check a structured communication before sending?

Compute the check from the first ten digits by taking the remainder after dividing by 97, and compare it with the last two digits. Your software should run this check automatically and block any invoice whose reference fails. Test the generator with several references, including one with a zero remainder.

Sources

Ready to connect your invoicing and accounting systems? Request a project consultation at https://ruicodex.com/Contact or email info@ruicodex.com to discuss your project. Rui Codex is led by a founder with 200+ projects delivered, and the founder brings 12+ years of hands-on experience to integration work. Rui Codex is independent and is not an official Odoo partner. Our team can review your current payment data flow, test a sample invoice end to end, and show you where the IBAN, due date and reference need tighter control before you scale.

Tags: Peppol e-invoicing IBAN structured communication payment reference invoice integration Belgium ERP integration

Need Help Implementing This?

Our team can help you put these insights into practice. From AI automation to custom software development, we build solutions that deliver real results.

Send a project request