---
title: "Pay2ERP: Automate Payment Matching to Invoices | BOTS4.me"
url: https://bots4.me/pay2erp-guide/
canonical: https://bots4.me/pay2erp-guide/
language: en
updated: 2026-10-25
---

# Pay2ERP: Automate Payment Matching to Invoices | BOTS4.me

Learn how Pay2ERP automates payment matching to invoices in your ERP. 5-minute setup, no credit card required. Try free this month!

# Pay2ERP

User Guide - Getting Payments Matched to Invoices Without Manual Entry

 Pay2ERP reads the payment notifications that arrive in your mailbox or through your bank's API, works out which invoice each one pays, and records the payment in your ERP. Rules do the matching first — amount, reference number, currency, date. AI only steps in on the free-text notifications the rules cannot read. Nothing is ever recorded without being checked against a real open invoice first.

## 🔗 How Pay2ERP Matches a Payment

Every payment notification — a bank email, a line from a bank API (Wise or Revolut Business, on request), or a statement line read straight from your ERP — is reduced to the same handful of facts: amount, currency, value date, and the reference number your customer typed when they paid. Those facts are what get matched against your open invoices, not the wording of the email.

| Source format | What it is | How Pay2ERP reads it |
| --- | --- | --- |
| MT940 / MT942 | SWIFT end-of-day / intraday bank statement | Structured. Every credit line becomes one payment automatically — no extraction guesswork. |
| CAMT.053 | ISO 20022 XML bank statement | Structured, parsed defensively against malformed or oversized XML. |
| BAI2 | US bank statement format | Structured, same treatment as the formats above. |
| OFX | Open Financial Exchange | Structured, same treatment as the formats above. |
| Wise or Revolut Business API (on request) | Direct account connection | Structured fields arrive already labeled — amount, reference and sender — with no bank email to wait for; Pay2ERP reads them on its next run. |
| ERP bank lines | Bank statement lines already in your ERP (Odoo 14 or later, ERPNext, Zoho or Dolibarr) | Structured, read straight from your ERP — no email involved. |
| Free-text email | A bank's plain-language payment notification | The 34 built-in reference and amount patterns and each bank's learned layout are tried first; AI reads the text only when none of them match. |

  **Pay2ERP is incoming-only.** An outgoing (debit) line in any of these formats is silently ignored — only money coming in is ever turned into a payment record. The same underlying bank transaction reaching Pay2ERP twice — say, once by email and once through an ERP statement line — is recognized as one payment and recorded once, not twice.   **What Odoo needs**

- Odoo Online needs Odoo's Custom plan for API access.
- The Odoo user Pay2ERP works as needs Accountant rights; the BOTS4.me Connect module gives them to its own user.
- Reading bank lines from Odoo needs Odoo 14 or later.
- One Odoo company per connection: Pay2ERP works in the current company of the Odoo user it connects as.

## 🔍 Which Emails Pay2ERP Reads

Pay2ERP does not treat every message in your mailbox as a payment. In your ordinary INBOX it reads only emails from senders you have taught as a bank — nothing else is opened, extracted or billed. An email in a folder you dedicated to payments, or one you move into `_Pay2ERP/IMPORT`, is always read.

  **Nothing until taught.** Pay2ERP reads no email from your INBOX until you teach it your first bank: move one bank notification into `_Pay2ERP/IMPORT`. From then on every email from that bank is read automatically. While no bank is taught and bank-like mail keeps arriving, the Logs tab on your dashboard reminds you, at most once a week.

| What is skipped | Why |
| --- | --- |
| Our own reports and shop mail | Platform mail is never a payment notification. |
| An untaught sender in your plain INBOX | Pay2ERP reads only senders you have taught as a bank. |
| A sender you marked as not a bank | You moved one of its emails into `_Pay2ERP/DO_NOT_IMPORT`. |

### Teaching Pay2ERP a bank sender

Move the email into `_Pay2ERP/IMPORT`. The sender is added to your bank list and the email is read from there, alongside the bank folders you configured. If a sender is not a bank, drag one of its emails into `_Pay2ERP/DO_NOT_IMPORT`: Pay2ERP stops reading its mail and the email goes back to your INBOX. Changed your mind? Drag one of its emails into `_Pay2ERP/IMPORT` and it is read again. The folders are created for you while Pay2ERP is active.

If AutoSPAM or Mail2ERP also runs on this mailbox, mail from a taught bank is moved into `_Pay2ERP/IMPORT` for you. Folder names appear in your mailbox's language — for example, IMPORT is called NA_IMPORT in Slovak.

  **A skipped email is never lost.** It is not deleted, not moved and not marked as read — it stays exactly where it was. Teach its sender and Pay2ERP reads that bank's emails from the last five days on its next run; for anything older, move it into `_Pay2ERP/IMPORT`.

## 🔄 How Pay2ERP Works - Visual Flow

   📧 Payment Notification
Arrives  →  🔍 Reference & Amount
Extracted  →  📋 Matched to Open
Invoice(s)  →  ✅ Payment Recorded
in Your ERP  →  📊 You Get the
Report

One payment can cover several invoices at once — a customer paying a whole month in one transfer, for example. Pay2ERP works through the combinations of your open invoices until it finds the set that adds up to the amount paid, rather than giving up at the first invoice that does not match alone.

## 📥 Unmatched Payments - Your Safety Net

When Pay2ERP cannot find a confident match, it does not guess and it does not hide the email. The email stays where it arrived — your INBOX or your bank folder — or goes to `_Pay2ERP/MANUAL` when it came through `_Pay2ERP/IMPORT`. It is never marked as read, and the run report lists it with the reason and what to do.

With DEMO off, each email whose payments were all recorded moves into `_Pay2ERP/PROCESSED` straight away. In DEMO your mailbox is left exactly as it is. Pay2ERP learns each bank's layout from the payments it records successfully, so the same bank's wording is recognized faster next time.

  **Duplicates are blocked for 48 hours, not forever.** A payment that could not be matched is removed from the duplicate-check list at the end of the run, so it is picked up and retried on the next run rather than being silently skipped for two days.   **Already paid?** A payment for an invoice that is already settled is not recorded. The report flags it as a possible double payment, to refund or to book as an advance.

## 🚀 Getting Started

1. Connect a bank email account on the [dashboard](https://bots4.me/bots/) (a Wise or Revolut Business API connection is set up with you on request). Or add the BOTS4.me Mailbox and forward bank notifications to us — see **Forward to Us** below.
2. Teach Pay2ERP your bank: move one bank notification into `_Pay2ERP/IMPORT`. Until then it reads no email from your INBOX.
3. Switch Pay2ERP on. It starts in **DEMO**: it reads your real payment notifications and reports what it would record. Nothing is written to your ERP and your mailbox is left untouched.
4. Connect your ERP. Still in DEMO, real invoices are matched and reported — nothing is recorded.
5. Check a few run reports. The matches you see are exactly what would be recorded once you go live.
6. Switch **Mode** to **LIVE**. From that moment, matched payments are recorded in your ERP automatically. LIVE unlocks after your first DEMO report.

## 🛡️ DEMO and LIVE

There is one switch, **Mode** (DEMO / LIVE). What Pay2ERP can do depends on what you connect:

| What you connected | Mode | What happens |
| --- | --- | --- |
| BOTS4.me Mailbox | DEMO | A preview of the payment notifications you forward to us. |
| Mailbox or bank API | DEMO | Real payments are read and reported — no ERP involved. |
| Mailbox + ERP | DEMO | Real invoices are matched and reported — nothing is written. |
| Mailbox + ERP | LIVE | Full automation: payments are captured, matched, and recorded in your ERP. |
| BOTS4.me Mailbox + ERP | LIVE | Payments you forward to us are recorded in your ERP — only from banks Pay2ERP already knows. |

## ⚙️ Dashboard Settings Reference

### Control

| Setting | Default | What it does |
| --- | --- | --- |
| Bot Power | On | Switches Pay2ERP on or off. |
| Mode | DEMO | DEMO previews, LIVE records payments in your ERP. See DEMO and LIVE above. |
| AI Mode | Essential AI | Off, Essential AI, Premium AI or Ultra, depending on your plan. With Off, no language model is ever called. |
| Run Schedule | Hourly | How often Pay2ERP checks for new payments. |
| Operating Hours | 07:00–16:00 | The hours Pay2ERP runs in. Weekends are off unless you switch them on. |
| Send reports of matched payments to | — | Who receives the report of the payments written to your ERP. Comma-separated; empty means your account email. While the next field is empty, payments that need a hand are in this report too. |
| Send payments that need a hand to | — | Optional. Payments that could not be booked go here in a separate report, sent even when email reports are off. Empty keeps them in the report above. |
| Forward to us - accept email from | — | Who may forward payment notifications to us. Empty: only your account email. Filled in: exactly the addresses you type (up to 6). See Forward to Us below. |

### Core matching

| Setting | Plan | What it does |
| --- | --- | --- |
| Collection Payment Pairing | Starter | Matches incoming payments to outstanding invoices using reference numbers, amounts and customer data. The core of Pay2ERP — on by default. |
| Email Reports | Starter | Sends the run report after each processed source. Switched off, you only get a report when a payment needs your attention. On by default. |
| Logs in your mailbox | Starter | Writes Pay2ERP's log into `_Pay2ERP/LOGS` in your mailbox. On by default. |
| AI Company Name Parsing | Starter | Uses AI to identify and standardize company names from payment descriptions, so a payment can be matched to unpaid invoices by amount even without a payment reference. |
| AI Payment Reference Extraction | Starter | Reads the payment reference out of a bank notification when the rules cannot find it — for payments whose reference is written in free text rather than in a reference field. |
| Daily Export | Team | Emails an Excel of this month's processed payments to your account email every day, for accounting review and reconciliation. Off by default. |
| Pre-processing | Team | Lets Pay2ERP take its mail from the hidden queue that AutoSPAM fills, instead of your plain INBOX. Needs AutoSPAM with Pre-processing on. Bank folders you configured are always read directly. Off by default. |

The two AI settings only work when AI Mode is not Off.

### Document formats read

| Format | Plan | What it does |
| --- | --- | --- |
| Email Text | Starter | Process data from the email body text itself. |
| CSV Files | Starter | Process data from .csv attachments. |
| HTML | Starter | Process data from .html attachments. |
| Excel | Starter | Process data from .xls / .xlsx attachments. |
| PDF Files | Starter | Process data from PDF attachments. |
| Word | Starter | Process data from .doc / .docx attachments. |
| Scanned PDF Files | Starter | Process data from image-based (scanned or photographed) PDF attachments using OCR. |
| Images / Photos | Starter | Process data from .jpg, .jpeg and .png attachments using OCR. |
| Raster Images | Business | Process data from .gif, .tif, .tiff, .webp, .svg and .eps attachments using OCR. |

Bank statement files (MT940/MT942, CAMT.053, BAI2, OFX) are always read, whatever the format switches say.

## 📊 Reading the Report

One report per processed source. The subject starts with ✅ when everything went through, or tells you how many payments need a hand.

### ⚠️ Needs a hand

Failed payments come first, one card each, with everything you need to book it by hand: amount, reference, payer, the open invoices we found, why it did not match and where the email is now.

### ✅ What went through

A compact table of the payments recorded (or matched, in DEMO).

### 📈 The numbers

Tiles for this month and all time: emails read, paid, needing a hand, and total value.

## 📨 Forward to Us — No Mailbox Connection Needed

You do not have to connect a mailbox at all. In [BOTS4.me/bots](https://bots4.me/bots/) → Settings → Pay2ERP, click **Add Source** and add the **BOTS4.me Mailbox** — one click, nothing to connect, no password. Then forward your bank's payment notifications to **pay2erp@bots4.me**. In DEMO you get a preview by email; in LIVE the payments are recorded in your ERP for real. So we only need access to your ERP, never to your mailbox.

**Who may forward:** set it in Pay2ERP → Control → **Forward to us - accept email from**. Empty: only your account email address. Filled in: exactly the addresses you type (up to 6) — they replace your account address, so add it too if you also forward.

  Before anything is written to your ERP we verify that the email really came from your address (DKIM). When your mail provider does not sign outgoing mail, you confirm the email once with one click. Every forwarded email is deleted from our mailbox right after processing — after 7 days at the latest if it could not be processed. Use it while you evaluate us, or for good if you prefer never to share mailbox access.

In LIVE, Pay2ERP records payments only from banks it already knows. A payment email from a bank it does not know yet waits for your one-click confirmation; after that, the bank is remembered.

The same email forwarded twice is processed only once. With Demo Mode off, the sender gets a short receipt by email after each forwarded email: processed, or not processed and where to see why.

## 📬 Logs in Your Mailbox

- **Where:** every mailbox gets a LOGS folder inside the bot's own folder, for example _Pay2ERP/LOGS. Each bot keeps its own.
- **What:** the same rows as the Logs tab, one message per row. Nothing is sent by email — the rows are written straight into the folder.
- **Unread means it needs you:** only rows that need your decision arrive unread. All other rows, warnings included, arrive already read.
- **One-click buttons:** rows about an email carry the same buttons as the dashboard. A button that files the email is named after the folder it goes to, for example ALLOW or SPAM. A button opens a short confirm page, no login needed, and works for 7 days. The result arrives as a new row, with an undo button where one exists.
- **Decide from the log:** a row that needs your decision also shows the names of the email's attachments and its first few lines, so you rarely need to open the email itself.
- **Housekeeping:** the folder keeps the latest 100 rows for up to 30 days. The full log stays in your dashboard.
- **Safe by design:** genuine log messages exist only inside LOGS folders, never in your inbox, and the confirm page never asks for a password.
- **Switch:** Logs in your mailbox, in the bot's feature list on the Control tab. On by default from the Starter plan.
- **Payments without a mailbox:** rows from a bank API, an ERP source or the BOTS4.me Mailbox have no mailbox of yours to go to, so they appear only in the dashboard.

## ❓ Troubleshooting

| What you see | What it means |
| --- | --- |
| A payment was not recorded | No confident match was found — check that the reference number in the notification actually corresponds to an open invoice, and that the invoice is not already marked paid. The run report card says why. |
| A payment seems to be missing entirely | If the same bank transaction arrived through another connected source within 48 hours, Pay2ERP recorded it once and filed the second email with the processed ones. |
| Emails from my bank are not read | Teach the bank: move one of its emails into `_Pay2ERP/IMPORT`. Check it is not in `_Pay2ERP/DO_NOT_IMPORT`. |
| Company-name matching is not available | AI Company Name Parsing is included from the Starter plan and needs AI Mode not Off. Without it, payments without a payment reference wait for manual review. |
| No run report arrives | Check that *Send reports of matched payments to* holds the right address (empty means your account email), and *Send payments that need a hand to* if you use it. With *Email Reports* off, runs where everything went through send no email. |
| A scanned or photographed remittance advice was not read | Scanned PDFs and photos need the OCR-based formats, which are included from the Starter plan. |

## ❓ Frequently Asked Questions

💡 Folders starting with `_` (e.g. `_Pay2ERP`) are auto-created by the app — don't rename or delete them.

What payment sources are supported?

Bank notification emails (IMAP, Gmail, Outlook, Office 365) and the statement files attached to them (MT940/MT942, CAMT.053, BAI2, OFX), Wise and Revolut Business through their APIs (on request), bank lines read from your ERP (Odoo 14 or later, ERPNext, Zoho or Dolibarr), and emails forwarded to pay2erp@bots4.me.

What ERPs does it work with?

Odoo, ERPNext, Zoho (Books / Inventory), Dolibarr 23 and newer, Microsoft Dynamics 365 Business Central (online), QuickBooks Online, Xero and SAP Business One today — Odoo, ERPNext, Zoho and Dolibarr also as the bank input. On Business Central, Pay2ERP puts the payments into your cash receipt journal batch and you post them; on QuickBooks Online, Xero and SAP Business One it records each payment on the bank account you pick. Any other ERP with an API — SAP S/4HANA, Microsoft Dynamics 365 Finance / Sales, Oracle NetSuite and more — is connected on request. Until you post the batch, the paid invoices still show as open in Business Central. On Dolibarr a booked payment can only be removed by hand: open the invoice → Payments → the payment → Delete. Its bank line is removed with it — if the payment came from a bank line, enter that line again under Bank. A payment already reconciled with a bank statement must be un-reconciled first. Pay2ERP has no undo. Note: Dolibarr allows Delete only while the invoice is not classified as paid, and Pay2ERP closes every invoice it settles in full — so press Reopen on the invoice first. On ERPNext, Pay2ERP records each paid invoice as its own submitted Payment Entry. From a bank e-mail, statement file or Wise, it goes on the company bank account whose bank matches the payment, otherwise your default company bank account, with a comment on the invoice; cancel the Payment Entry in ERPNext to undo it. From an ERPNext Bank Transaction, it goes on that transaction's bank account and is reconciled with it. The integration user needs the Accounts User role — see the [ERPNext setup steps](https://bots4.me/guide-getting-connected/?erp=erpnext#erpnext-guide) and [ERPNext automation](https://bots4.me/erpnext-automation/).

What happens to a payment that cannot be matched?

The email stays where it arrived (or goes to `_Pay2ERP/MANUAL` when it came through `_Pay2ERP/IMPORT`) and the run report shows it with the reason — nothing disappears into a hidden folder.

Pay2ERP skipped an email that really was a bank notification. What now?

Move it into `_Pay2ERP/IMPORT`. Pay2ERP reads it on its next run and remembers the sender, so every future notification from that bank is read automatically. The skipped email is never moved or deleted in the meantime.

Does it handle one payment covering several invoices?

Yes. Pay2ERP searches combinations of your open invoices for the set that adds up to the amount paid.

How does the AI fallback work?

Rules run first, on every payment. AI is only called when the rules cannot extract a reference from a free-text notification — most payments never reach it.

Can I test without connecting my ERP?

Yes. In DEMO, Pay2ERP reads your real payment notifications and reports what it would do; once your ERP is connected it also matches real invoices, still writing nothing. First month free.

Does it work with AutoCASH?

Yes. Pay2ERP records the payment; AutoCASH stops reminding for that invoice the moment it does. With AutoCASH's *Hold reminders while payments are unprocessed* setting on, AutoCASH waits while Pay2ERP still has unprocessed payment notifications — retrying every hour, for at most 3 days — so customers who already paid are not reminded.

Does this use AI? We are not allowed to.

Set AI Mode to Off and no language model is called and nothing is sent to an AI provider. A bank API connection or a structured ERP statement line loses nothing at all — those fields already arrive labeled and are matched by rules alone. Only free-text notification emails in a layout the rules do not recognize need AI. If your compliance team needs it in writing, ask us and we will confirm it for your file.

How does payment matching work?

Pay2ERP extracts the payment reference (usually the invoice number) from payment notifications using 34 built-in patterns, then matches it to open invoices in your ERP by amount and reference.

## 🔒 What Pay2ERP Will Never Do

- Contact your customers — that is AutoCASH’s job, not Pay2ERP’s.
- Record a payment while in DEMO.
- Match a payment to an invoice without checking amount and reference against it first.
- Record the same bank transaction twice, even if it arrives through two different connected sources.
- Hide an unmatched payment from you — it stays where it arrived or in `_Pay2ERP/MANUAL`, and the report lists it.
- Change anything in your ERP beyond recording the payment against the matching invoice(s) and adding a short payment note to them.

### 📚 Additional Resources

  [← Back to Product](https://bots4.me/product/pay2erp/) [⚙️ Setup Dashboard](https://bots4.me/bots/) [🔌 Guide: Getting Connected](https://bots4.me/guide-getting-connected/) [📄 Odoo connector install guide](https://bots4.me/odoo-connector-install-guide/)

## Frequently asked questions

### How does BOTS4.me Pay2ERP match payments to invoices?

Pay2ERP matches payments to open invoices using concrete facts: amount, currency, value date, and the reference number your customer typed when paying. It ignores email wording unless the payment is in free-text format, where AI steps in only if automated rules cannot extract the details.

### Does BOTS4.me Pay2ERP work with free-text payment emails?

Yes. For free-text emails from banks, Pay2ERP first tries built-in reference and amount patterns across multiple languages. If these fail, AI extracts the details only after manual review, ensuring no unchecked payments are recorded.

### Which ERP systems does BOTS4.me Pay2ERP integrate with?

Pay2ERP integrates with 21+ ERPs, including Odoo (versions 13 to 19.3), SAP, QuickBooks, Xero, and others. It reads ERP bank lines directly from Odoo or other supported systems, bypassing email for these structured formats.

### Can Pay2ERP prevent duplicate payment records?

Yes. If a single bank transaction reaches Pay2ERP via multiple channels—such as an email notification and an ERP bank line—it is recognized as one payment and recorded only once, avoiding duplicates.

### What payment formats does BOTS4.me Pay2ERP support?

Supported formats include structured bank statements like MT940, CAMT.053, BAI2, OFX, direct API connections (Revolut, Wise), and ERP bank lines. Free-text emails are processed with fallback AI extraction when rules cannot match.

