Import by AI reads a vendor invoice from a PDF or a photo and fills a new purchase with its vendor, warehouse, date and lines. You check every match before anything is added, and nothing is saved until you save the purchase.
Before you start
- Import by AI needs a plan that includes the AI assistant. It isn't available on the Basic plan.
- The items on the invoice must exist under Items. The AI matches invoice lines to your items; it doesn't create items.
- Have the invoice as a PDF, PNG, JPEG or WebP file. A PDF can have up to 8 pages, and each page or image can be up to 8 MB.
Read an invoice with AI
- Go to Purchases → Purchase Documents and select New Purchase.
- Open the actions menu at the top and choose Import by AI.
- Choose the invoice file. Mitoni shows "Reading invoice…" while the AI reads it.
- The Matching Preview opens. Check and correct the matches as described below.
- Select Import to Purchase. The lines, vendor, warehouse and date are copied into the new purchase.
- Check the purchase and select Save.
To stop while the invoice is being read, close the window and confirm Yes, cancel import.
Check the matches in the Matching Preview
The Matching Preview shows what the AI read next to what it matched in Mitoni.
- Date — the invoice date. Change it if needed.
- Tax Calculation — whether the invoice prices are Prices include tax or Prices exclude tax. Purchase prices in Mitoni include tax, so with Prices exclude tax Mitoni adds each line's tax to the price.
- Matched Vendor — the vendor found by name. The badge Invoice Vendor shows the name printed on the invoice. Choose another vendor, or add a new one, if the match is wrong or empty.
- Matched Warehouse — filled only when the invoice names a warehouse exactly as it is called in Mitoni, shown with the Invoice Warehouse badge. Otherwise choose the warehouse.
Each invoice line shows the Invoice Item text, the Matched Item, the Vendor SKU, your SKU, Qty, Unit, Price, Discount %, Tax % and Total. Mitoni matches items by the vendor's SKU first, then by your SKU or barcode, then by name. Use Pick Item to choose the right item for a line marked No matching item, and correct any quantity or price.
The footer counts Matched and Unmatched lines and compares the Computed total with the Invoice total printed on the invoice.
Import to Purchase becomes available when a vendor and a warehouse are chosen and every line has a matched item and a quantity above 0.
Check the totals before you import
If the computed total differs from the invoice total by more than 1% (and more than €0.05), the preview shows a warning that the totals don't match. The usual causes are:
- The wrong Tax Calculation setting. Switch between Prices include tax and Prices exclude tax and compare the totals again.
- A misread quantity or price on one line.
- A delivery charge or other cost on the invoice that isn't an item line. Record it as an additional cost after saving. See Add delivery and other costs to a purchase.
What happens next
Import to Purchase only fills the purchase form. Stock, item cost and the vendor balance change when you select Save on the purchase, exactly as for a purchase you entered by hand. See Record a purchase when goods arrive.
You can also send an invoice photo to the AI assistant in the chat. See Read invoices and receipts from photos.
Troubleshooting
Import by AI isn't in the actions menu. Import by AI is offered only on a new purchase. Start a new purchase with New Purchase.
"Choose a vendor, a warehouse, and a matched item for every line to continue." At least one of these is missing. Pick the vendor and warehouse at the top and use Pick Item on every line without a match.
"Could not read this invoice. Try a different file." The file is unreadable, for example a blurred or cut-off photo. Take a sharper photo of the whole invoice or use the PDF.
"No invoice was found in the attached file". The file doesn't show a readable purchase invoice. Check that you picked the right file and that the invoice is legible.
"Too many pages (max 8)". Split the PDF and import each part into its own purchase, or enter the remaining lines by hand.
"Page 2 is too large (max 8MB)". Reduce the resolution of the photo or PDF page and try again.
"AI is not configured for this platform". The AI provider for Mitoni isn't set up. This isn't caused by your file; contact Mitoni support.
"The AI service rejected the request, so nothing was read". The problem is with the AI service, not your file. Try again later, and contact Mitoni support if it keeps happening.
Import by AI shows an error on the Basic plan. Invoice import needs a plan that includes the AI assistant. Upgrade your plan, or enter the purchase by hand.
