How can software identify invoice payment deadlines?

An extracted date is not yet a reliable payment deadline. What matters is the payment agreement, the event that starts the period and the correct calculation. This guide shows how businesses can build a traceable schedule with clear rules for review.

An invoice aligned with a precise date on a calendar, with a person checking the deadline

To identify invoice due dates automatically, software needs more than date recognition. It can extract a due date; whether that date matches the agreed payment terms is a separate question. An invoice containing several dates and a different contractual payment deadline cannot reliably be handled by simply finding a date and setting a deadline. We therefore recommend a process of recognition, comparison, calculation and checking, rather than a blanket rule of “invoice date plus 30 days”.

This guide describes a recommended workflow for incoming invoices. The legal references reflect research as of 4 November 2026; particular contract types and individual cases may require further assessment.

Four details to keep separate

The technical invoice standard already distinguishes the issue date from the payment due date: the Peppol UBL syntax provides separate fields for them. We recommend keeping the following information separate in your working overview:

  • Date of invoice: When was the invoice issued?
  • Payment due date: From when can the creditor demand payment?
  • Payment status: Has the payment been prepared, has the payment order been submitted, or is there evidence that payment was made?
  • Payment default: Are the additional statutory requirements for late payment met?

Under BGB § 271, performance can generally be demanded immediately if its timing has neither been specified nor can be inferred from the circumstances. A contract or specific statutory provisions can determine a different due date. Missing payment terms therefore do not automatically mean a 30-day payment period.

The familiar 30-day rule in BGB § 286(3) concerns default on payment claims: it generally depends on the payment being due and the invoice having been received. For consumers, an additional specific notice is required. Default can arise earlier under other conditions, for example following a payment reminder; statutory exceptions can remove the need for a reminder. A red “due date exceeded” label should therefore not automatically mean “legally in default”.

What technology delivers – and what still needs to be checked

OCR and document models can extract payment information from PDF invoices and scans. For example, Microsoft’s invoice model documentation describes the output of due dates and outstanding amounts as structured data. This demonstrates a technical extraction feature, rather than the legal correctness of a recognised deadline. For the general approach, see reading invoices automatically.

Structured e-invoices offer more direct access: in the Peppol rules, BT-9 identifies the payment due date and BT-20 the payment terms. Where the amount payable is positive, rule BR-CO-25 requires at least one of these. An explicit due date is therefore not always present. We recommend evaluating the structured fields, reading the payment terms and referring conflicts with the contract for review. A technically accepted data set does not replace this comparison.

Six steps to a reliable payment deadline overview

1. Record receipt and the event that starts the payment period

We recommend bringing invoices from email, portals and post into one incoming list. Save the original file, supplier, invoice number and evidence of receipt. Distinguish the first receipt from later forwarding to accounting. If the terms say “14 days after receipt of the invoice”, internal forwarding must not start a new payment period without checking.

2. Keep the original wording of the payment terms

Keep not only the resulting date but also the full wording and its source, for example “payable within 14 calendar days after receipt of the invoice”, page 2. Add the starting event, event date, length of the period and unit. For an e-invoice, the source should be traceable as a field or XML path. This makes it possible to distinguish later whether a date was stated explicitly or calculated.

3. Check against the underlying contract

Keep the relevant order or agreement with the invoice. If it says “30 days after receipt of the invoice” but the invoice gives an earlier date, we recommend blocking it pending review, rather than silently overwriting the date. Which agreement applies may need to be clarified by someone qualified to assess it. The starting point under § 271 BGB is the time for performance that has been specified or follows from the circumstances, rather than automatically the last invoice field extracted.

4. Calculate the deadline with traceable day-by-day steps

For a period triggered by an event, BGB § 187(1) generally excludes the day of that event from the calculation. Under BGB § 188(1), a period specified in days ends at the close of its final day. The appropriate calculation rule must therefore be explicitly included in the process.

Illustrative example: The agreed payment period is 14 calendar days after receipt of the invoice. Receipt is documented on 4 November 2026. That day is not counted: day 1 is 5 November, day 7 is 11 November and day 14 is 18 November. Save these calculation steps with the agreement. If the terms explicitly specified 14 days from the invoice date instead, the invoice date would be the starting event to check.

If the relevant date falls on a Saturday, Sunday or public holiday officially recognised at the place where the declaration or performance is due, BGB § 193 generally provides for the next working day. We recommend documenting the holiday calendar, location and any adjustment. For “working days”, periods in months or different agreements, do not apply a calendar-day rule without checking; § 188 deals separately with periods in months.

5. Send uncertain results to a review list

We recommend accepting dates automatically only where their source, starting event and agreement with the contract are clear. Mark all other cases as “due date unresolved”, assign a responsible person and set a prompt follow-up. If evidence of receipt is missing, or payment depends on acceptance that has yet to be clarified, the necessary starting point remains unresolved. Do not invent a replacement date and present it as a confirmed due date.

6. Manage reminders separately from payment status

Internal reminders ahead of the confirmed deadline are a practical option, with arrangements to cover absences. Allow time for review and payment processing without changing the due date. Distinguish “payment order submitted” from documented payment transactions. Match partial payments and outstanding amounts. Invoice approval should remain a separate status so that a stalled approval step is visible.

Include these problem cases in your tests

Before normal operation, test the recommended workflow with real documents that you are permitted to use internally. The following are deliberately selected test cases, rather than claims about measured error rates.

  • Several deadlines: “2 percent early-payment discount within 10 days, net 30 days.” Record the discount deadline and ordinary payment deadline separately, checking the agreed starting event for each.
  • Ambiguous date: For “03/04/2026”, the interpretation must be clarified. A formally valid conversion alone is not sufficient.
  • Conflicting information: The XML field, visible invoice and contract give different dates. The expected response is a review, rather than choosing one arbitrarily.
  • Duplicate or corrected invoice: Receiving an invoice again must not create a second payment transaction. Link a correction to the existing case.
  • Incomplete text: If only “payable within …” is readable, the process must stop instead of adding a deadline.

How smaller businesses can get started without a major project

Start with a central table: document reference, original payment terms, contract source, starting event, event date, calculation, confirmed due date, review status, responsible person and payment status. Check unresolved dates daily and review upcoming payments regularly. Recommendations such as “send a reminder three working days ahead” are internal organisational rules, rather than statutory deadlines.

Check every automatically suggested date during a pilot period of your choosing. Record incorrect date assignments and missing starting events. Only when your own test cases work reliably should clear cases enter the schedule without individual review. The aim is a list where every payment deadline can be explained and every uncertainty is visible, rather than the highest possible automation rate.

General editorial information, no legal or tax advice in individual cases.

Sources

Scroll to top
Select individual services

Login and security, forms, shopping cart and saving your cookie choices. These functions remain available.

ii_consent_fd0feb0ed55c: your choice and consent record identifier for 180 days, for this website only. Session and login cookies remain valid for the relevant session or login period.

PrivacyLegal noticeYour selection applies only to allinvoice.de