Credit Note OCR API

4.8/5

(30+ reviews)

Credit note OCR API that links every credit to its invoice

Turn supplier credit notes and credit memos, PDF or scan, into structured JSON. Credit number, original invoice reference, line items, tax and total, each with a confidence score.

No credit card required

SOC 2 Type II & GDPR

Credit note OCR API reading document type, credit number, original invoice and line items from a supplier credit note into JSON

Trusted by finance and product teams at

Why supplier credits go unapplied

Credit notes look just like invoices, land in the same inbox and rarely say clearly which invoice they cancel. AP teams spot them, find the original invoice and key every line by hand.

Credit received

Credit note lands in the AP inbox.

Mistaken for a bill

Looks like an invoice, queued to pay.

Friction

Duplicate payments go out the door.

Invoice hunt

Original invoice searched by hand.

Friction

Credits sit unapplied for weeks.

Manual keying

Lines and tax typed in as negatives.

Friction

One sign error skews the ledger.

Credit applied

Finally netted, one credit at a time.

RESULT

[X] days before a credit is applied, and [X]% of credit notes queued for payment as if they were invoices.

See how Mindee fixes it

Credit details

document_type, invoice_number, date

Original invoice

reference_numbers, po_number

Supplier

supplier_name, supplier_address, supplier_company_registration

Customer

customer_name, customer_id, billing_address

Credited lines

line_items[].description, quantity, unit_price, total_price

Totals

total_net, total_tax, total_amount, taxes

response.json

{

"document_type": { "value": "credit_note" }, "invoice_number": { "value": "CN-2026-0087" }, "date": { "value": "2026-10-12" },

"reference_numbers": [ { "value": "INV-2026-1142" } ], "po_number": { "value": "PO-58213" },

"supplier_name": { "value": "Halden Office Supplies Inc." }, "supplier_address": { "value": "77 Harbor Blvd, Oakland, CA 94607" },

"customer_name": { "value": "Ridgeway Plumbing Supply" }, "customer_id": { "value": "C-20418" },

"line_items": [ { "description": { "value": "Ergonomic chair, damaged" }, "quantity": { "value": 4 }, "total_price": { "value": 756.00 } }, … ],

"total_net": { "value": 801.00 }, "total_tax": { "value": 66.08 }, "total_amount": { "value": 867.08 },

}

Ready to post, not just to read.

document_type returns credit_note, dates come back in ISO 8601, amounts as numbers, and every field carries a confidence score and its position.

Built for real supplier credits, not samples

Credit memos with negative totals, partial credits on a single line, a reason written in the margin. The model reads each credit as printed and keeps the link to its invoice.

Credit notes and credit memos from six suppliers flowing through Mindee into one schema

Any supplier, any credit layout

Every supplier formats its credit notes differently. They come back in the same schema as invoices, with no template to build per supplier.

AP queue where two invoices go to payment and a credit note is flagged as credit_note, not paid

Credits told apart from invoices

document_type returns credit_note, so a credit is never queued for payment as if it were a new invoice from the supplier.

Credit note matched to its original invoice through reference_numbers and netted to a new balance due

Linked to the original invoice

The original invoice number comes back in reference_numbers, so each credit can be matched and netted against the right invoice.

Four-page supplier PDF split into two invoices and one credit note, each with its document type

Mixed supplier PDFs split

Suppliers often send invoices and credit notes in one PDF. Mindee splits the file and returns each document with its own document_type.

PDF / JPEG / PNG / WEBP / TIFF / HEIC, Credit notes & credit memos, Partial & full credits, +50 languages / any currency, Scans & email attachments

Credit note OCR accuracy you can measure, field by field

Every field comes with a confidence score, so clean credits are applied automatically and unclear ones go to a reviewer. Test it on your own credit notes in the free trial.

94.6%

Field-level accuracy on header fields

Credit number, supplier, dates

96.5%

Accuracy on line items and totals

Quantity, price, tax

0.7s

Median time per credit note

Single page, synchronous call

A confidence score on every field

Set your own threshold. Fields above it flow straight to your systems; anything below lands in a review queue, with the exact spot on the credit note highlighted. Définissez votre propre seuil. Les champs au-dessus partent directement dans vos systèmes ; les autres rejoignent une file de vérification, avec leur emplacement exact mis en évidence sur votre credit note.

Auto-approve the credit notes you can trust Validez automatiquement les credit notes fiables

Send only real exceptions to a human

Document AI features, better than OCR

Prepare, classify and extract. Mindee delivers high-accuracy extraction for every document format, so you can automate workflows with speed and high reliability.

Prototype in minutes, go live with the API

Start with a no-code workflow to prove the value on your own credit notes, then move the same model into your product. Commencez par un workflow no-code pour prouver sa valeur sur vos propres credit notes, puis intégrez le même modèle dans votre produit.

What teams build with credit note OCR

The same API powers very different products. Here is where it usually starts.

Rated 4.8/5 by developers and operations teams

4.8

on G2

4.9

on Capterra

quote

Mindee is a software that helps us to convert all of our physical business data like bills, invoices, warranty cards, calendar, recipts received to us into a digital documents that can be stored in our drive and can be uploaded in different type of Excel sheets so that all the updates can be maintained and a proper analytics of transactions can be kept by the financial team

on G2

quote

Excellent. In addition to their great product, the sales team has always been proactive on how they could help us leverage the maximum results from their product. It was like having an additional product manager on our side

on Capterra

quote

Mindee works reliably and delivers good performance. The OCR data is accurate, and the API is stable. It works like a charm.

on Capterra

FAQ about Mindee's Credit Note OCR API

Can't find what you're looking for? Our team answers within one business day.

About credit note OCR À propos de l’OCR pour les credit note

What is a credit note (or credit memo)?

A credit note, called a credit memo in the US, is a document issued by a seller to reduce or cancel the amount a customer owes on an invoice. It is issued after returned goods, a pricing or billing error, a damaged delivery or a discount granted after invoicing. A credit note usually references the original invoice and shows the amount credited, including the tax adjustment (VAT, GST or sales tax). Mindee extracts the supplier and customer details, the credit note number and date, the referenced invoice number, the line items and the credited amounts, and returns them as structured JSON.

What’s the difference between a credit note and a debit note?

A credit note reduces the amount owed: the seller issues it to the buyer, for example after a return or an overcharge. A debit note works the other way. It is typically issued by the buyer to request a credit from the seller, for example after returning goods, or in some cases by the seller to increase the amount due after an undercharge. For example, if a customer returns $500 of goods, the buyer may send a debit note to the supplier, who then issues a $500 credit note. Mindee identifies the type of document and extracts its amounts, so each document is recorded correctly in your accounts.

Can Mindee tell a credit note apart from an invoice?

Yes. Credit notes often look very similar to invoices, with the same supplier, layout and logo, and the difference sometimes comes down to a title or a minus sign. If an AP workflow mistakes a credit note for an invoice, the supplier ends up being paid instead of being credited. Mindee automatically identifies credit notes, even when they arrive in the same email inbox or file as invoices, and returns the amounts with the correct sign. Your AP team can then route them to the right workflow and record them correctly.

How do you match a credit note with the original invoice?

Most credit notes reference the invoice they correct, usually by its invoice number. Mindee extracts this reference along with the supplier, amounts and line items, so you can automatically find the original invoice in your ERP or accounting software, such as QuickBooks, Xero or Sage, and apply the credit to it. If the invoice is still unpaid, you pay only the net amount. If it has already been paid, the credit is deducted from the next payment or recorded as a refund to request. Credit notes that don’t reference an invoice, or reference one that can’t be found, are flagged for review instead of being forgotten.

About Mindee

Is my data secured and protected during the conversion process?

Yes, your data is highly secured and protected during the entire conversion process. As an enterprise-grade OCR solution, Mindee takes data privacy very seriously. Here are the key security measures in place:

  • Certified compliance: Mindee's infrastructure is SOC 2 Type II certified and fully GDPR compliant, ensuring strict industry standards for data protection.
  • Encryption: All documents and extracted data are fully encrypted both in transit (during the API call) and at rest.
  • Data localization: You have control over where your data is processed, with the option to host and process your data on either EU or US servers.
  • Strict privacy: Mindee respects data confidentiality. Your processed documents are not shared with third parties, and your private data is not used to train global AI models.

In short, your sensitive documents are processed in a secure, isolated environment and remain completely under your control.

Is Mindee's OCR API free to use?

We provide a 14 days free trial so you can fully test any of our OCR models — no credit card required. After this, we offer different pricing tiers depending of the volume of pages processed and the features you might need. See the pricing page for more information.

What file formats are supported for JSON conversion?

The supported document formats are:

  • PDF (application/pdf) – While technically a document format rather than an image, it is natively supported for all extraction models.
  • JPEG / JPG (image/jpeg)
  • PNG (image/png) – Must be non-animated.
  • WebP (image/webp)
  • TIFF / TIF (image/tiff) – Both single-page and multi-page TIFFs are supported and processed similarly to PDFs.
  • HEIC (image/heic) – Apple's High-Efficiency Image Container format.

‍

📌 Important technical limitations to keep in mind:

To ensure the OCR pipeline runs smoothly and successfully returns your JSON, make sure your files adhere to the following constraints:

  • Maximum file size: 100 MB per file.
  • Maximum page count: Up to 200 pages per document.
  • File state: The files cannot be encrypted, and PDFs must not be password-protected.

Ready to stop keying credit notes?

Send your first credit note to the API in minutes, with a full team of engineers dedicated to document processing behind it.

14-day free trial

No credit card required