Yes, you can automate supplier credit notes, including the match to the original invoice. An AI agent reads the credit note, finds the invoice, order line or return it belongs to in your ERP, checks the amount against what was invoiced, and prepares the offset. When the supplier gives no clear reference, the agent proposes a match and a person approves it.
Reading the document is the easy part. Any capture tool can pull a supplier name, a date and a negative total off a PDF. The work starts after that: which of the 14 open invoices from this supplier does a credit of 312.40 belong to, and is it a return, a price correction or a quarterly rebate? At Lleverage we think credit notes should be handled the way a good AP clerk handles them, by checking the ERP for the order, the receipt and the supplier balance before anything is booked. Our accounts payable agents do that, inside the ERP you already run.
This article covers why credit notes break standard invoice automation, how the matching works step by step, what happens when no match is found, and how the result lands in Business Central, SAP, Exact and AFAS. To see it on your own credit notes, book a demo.
Why do credit notes break standard invoice automation?
Invoice automation is built around the purchase order. An invoice carries a PO number, the lines match the order and the goods receipt, and the invoice is booked. Credit notes rarely follow that pattern, so they fall out of the flow and land on someone's desk.
The reasons repeat across the supplier bases we see at manufacturers and distributors:
- Many credit notes carry no PO number. They quote the supplier's own invoice number, a return authorisation, or nothing at all.
- Partial credits cover 4 of 50 flanges, or 1 line of a 12 line invoice, so they match part of a document.
- A price correction credits the difference per unit on a quantity that was right, so it matches no quantity on any receipt.
- A volume rebate for the quarter covers dozens of invoices and belongs to none of them.
- A return credit should follow a return shipment that may or may not be booked in your ERP yet.
- Some suppliers send an invoice with negative lines instead of a credit note. Both need the same treatment, and capture rules often handle them differently.
Each of these has a different right answer in the ERP, and a rule that only knows "match to PO" cannot tell them apart.
The delay shows up in supplier payments. According to the UK government's 2025 payment practices statistics, large businesses paid their suppliers in a median of 32 days. The same government report found that large manufacturers took longest, at 45 days. The report puts the share of invoices paid late, by number, at 15%. An invoice held while someone works out which credit belongs to it is one way a payment slips.
What kinds of supplier credit notes are there, and where does each one go?
| Credit note type | What it usually references | What it matches in the ERP | Common trap |
|---|---|---|---|
| Return of goods | Return number or original invoice | The return shipment and the original invoice lines | Credit arrives before the return is booked |
| Short delivery or damage | Original invoice, sometimes a delivery note | The invoice line and the goods receipt | The quantity was already corrected on the receipt |
| Price correction | Original invoice | The invoice line, for the price difference only | Booked as a return, so stock quantities go wrong |
| Rebate or bonus | A period, sometimes a contract | A rebate account, not an invoice | Applied to one invoice, so that invoice looks overpaid |
| Duplicate or wrong invoice | The invoice it cancels | The full invoice | The invoice was already paid, so a refund is due |
Knowing the type comes before the match. The agent reads the wording ("retour", "price adjustment", "bonus Q3"), the lines and the amounts, and checks them against what is open in your ERP.
How do you match a credit note to the right invoice, step by step?
The matching follows the order a careful AP clerk works in, for every credit note.
- Read the credit note. Supplier, date, credit number, every line with item, quantity, unit price and amount, any reference the supplier gives, and the total including VAT.
- Find the supplier in the ERP. By VAT number and bank details first, by name second, so a supplier with 2 entities is not mixed up.
- Look for a direct reference. An invoice number, a PO number, a return number or a delivery note. If the reference exists and the amounts fit, the match is found.
- Search the open items when there is no reference. The agent lists the supplier's posted invoices and open items, then narrows them by item, quantity, unit price and date. A credit for 4 units of a flange at 78.10 has few candidates.
- Check the amount against what was invoiced. A credit cannot exceed what was invoiced for that line. If it does, something is wrong, and the agent says what.
- Classify the credit. Return, quantity, price, rebate or cancellation, from the wording and the numbers together.
- Prepare the entry. A credit memo in the ERP, linked to the invoice it corrects, with the lines and the amount to apply.
- Decide who looks at it. A clear match inside your rules goes to your team as ready to post. Anything unclear goes to a person with the reason attached.
Capture tools stop before steps 4 and 6. Both need the reasoning a person applies when they say "this must be the March delivery, because that is the only invoice with that item at that price".
What happens when no matching invoice is found?
Some credit notes have no clear home. The supplier credits an amount with no lines, quotes an invoice number your ERP does not have, or sends a credit for a return nobody booked. These go to a person, and the agent sends what it found along with the case, so the decision starts from a short list.
That list holds the 2 or 3 invoices that fit best, with the reason each one fits and the reason the agent is unsure. It names the missing piece when there is one, such as "Return of 6 bearings credited, no return shipment booked", and that question goes to the warehouse. It also shows how earlier credits from this supplier were applied.
The request arrives in the Lleverage request inbox, or as a card in Microsoft Teams or Slack, with the credit note and the candidate invoices one click away. When the person picks the match, the agent carries on with it. When a reference is missing, the agent can draft the email to the supplier asking for it.
Over time the unclear cases get fewer. When a reviewer keeps applying the same supplier's credits the same way, that becomes part of the agent's instructions, with a person approving the change.
How do you post and offset a credit note in Business Central, SAP, Exact and AFAS?
Every mainstream ERP already knows how to book a credit against an invoice. The agent uses those standard routes, filling the same fields your team fills, so nothing in the ERP is customised and its own checks still apply. Our ERP integrations page lists the systems we work in.
Business Central. Microsoft's documentation for Business Central describes creating a corrective credit memo straight from the posted purchase invoice, or copying the invoice lines into a new credit memo with Copy from Document. You then apply it to the invoice on the Apply Vendor Entries page, with an amount to apply that can be smaller than the invoice. A credit memo can also apply to other posted invoices, for example when one return covers goods from 2 deliveries. A purchase allowance for damaged goods is posted as an item charge on the credit memo and assigned to the posted receipt, so the stock value stays right. See how our agents work in Business Central.
SAP. In SAP's logistics invoice verification, a credit memo that refers to a purchase order reduces the invoiced quantity, and SAP's documentation says it cannot exceed the quantity invoiced to date. When the quantity was right and the price was too high, SAP's own course material says to post the credit as a subsequent credit, which changes the value and leaves the invoiced quantity alone. Choosing between the 2 is the classification step above, made before anything is posted. More on how we connect in SAP.
AFAS. AFAS Profit's documentation describes a supplier credit note as a negative outstanding item next to the original invoice. The 2 are offset, so you pay only the difference, or the credit is set against an older unpaid invoice or the next one the supplier sends.
Exact. The agent works in Exact the same way it works in the other ERPs: it prepares the credit note for the supplier, linked to the invoice it corrects, through the fields your team uses. See our page on Exact Online.
In every system the account the agent uses decides what it can see and change. You set which actions need an approval before they run, and every step goes into an audit trail, as our platform controls describe. Releasing a payment is always a person's call.
Why do built-in ERP automation and OCR tools stop at capture?
ERP features and OCR tools handle the part with a fixed shape. They read the document, find the supplier and, when a clean reference is printed, link it to the invoice. Business Central fills a corrective credit memo from the invoice once someone has chosen the invoice.
Choosing the invoice is the step they leave to a person. A capture model can extract "Credit 312.40" reliably. It cannot decide that the 312.40 is the price difference on 40 units invoiced in March, to be posted as a subsequent credit in SAP. That needs the open items, the order history and the supplier's habits in view at once.
Many capture tools also treat a credit note as an invoice with a minus sign. That gets the total right and the booking wrong whenever the credit is a price correction or a rebate. We cover the same pattern for invoices in our comparison of invoice matching software, and for the exceptions that follow a match in three-way matching automation.
Trust in the result is built the same way for credit notes as for any back-office agent: supervised first, with every match reviewed, until the numbers show which kinds can go through on their own.
"It’s a matter of building trust in the organisation with these kinds of initiatives. You can’t just throw something like this over the fence." Cees Maaskant, General Manager, Xpol
What should you check before choosing a tool to automate supplier credit notes?
Bring last quarter's credit notes to every vendor conversation, especially the ones that took longest. Then ask:
- How does it match a credit with no reference? Ask to see it on 1 of yours. A tool that needs a printed invoice number handles only the simple cases.
- Can it tell a price correction from a return? In SAP, ask whether it posts a subsequent credit when the price was wrong. In Business Central, ask how it handles an allowance on a posted receipt.
- Does it stop a credit that exceeds the invoiced amount on a line, and say why?
- Do unclear cases reach the person who can answer, with candidates and reasons?
- Does it use your ERP's standard credit memo and application routes, with no custom fields or modifications?
- When your team resolves a case, does the next similar credit go faster, and can you see and change that rule?
- What does it measure? The useful count is credit notes applied to the right invoice. We make that argument for invoices in touchless rate vs correct rate.
Frequently asked questions
Can AI process supplier credit notes automatically?
Yes. An AI agent reads the credit note in any format, finds the supplier and the invoice, order line or return it belongs to in your ERP, and prepares the credit memo with the application to that invoice. Clear matches go to your team ready to post, or through on their own once you allow it. Credit notes with no clear reference go to a person with the likely candidates.
How do you raise a credit note against an invoice in your ERP?
In Business Central you create a corrective credit memo from the posted purchase invoice and apply it on the Apply Vendor Entries page. In SAP you post a credit memo against the purchase order, or a subsequent credit for a price correction. In AFAS the credit note is offset against the invoice as an outstanding item.
What if the supplier's credit note has no invoice reference?
The agent searches the supplier's posted invoices and open items by item, quantity, unit price and date, then checks the amount against what was invoiced. If 1 invoice clearly fits, it is matched. If several fit, a person gets the top candidates with the reasons, picks one, and the agent carries on.
How should supplier rebates be handled?
A rebate or bonus usually covers a period of purchases, so it belongs on the rebate account your controller chooses. Applying a rebate to one invoice makes that invoice look overpaid and hides the rebate from your reports. The agent recognises rebate wording and amounts and prepares them the way your team has defined.
Do we need to customise our ERP to automate credit notes?
No. The agent uses the standard credit memo and application routes in Business Central, SAP, Exact and AFAS, filling the fields your team fills today. The ERP checks the entry the same way it checks a person's work, and the connected account's permissions decide what the agent can change.
Start with last quarter's credit notes
Pull every supplier credit note from the last 3 months and sort them into 2 piles: the ones with a clear invoice reference and the ones somebody had to search for. The second pile is where the hours went, and it is the pile to test any tool on.
Then bring both piles to us. We will run an AP agent on them in your own ERP and show which credits it matches on its own, which it sends to a person, and why. See how procurement and invoices are handled against the order, or book a demo and we will set it up with your AP lead.



