> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-version-release-notes/november-2026/utilities/import-scanned-documents-using-ocr/import-purchase-ocr.md).

# Import Purchase - OCR

Logic ERP has introduced **Import Purchase - OCR**, a new screen that turns scanned supplier bills into purchase vouchers. It reads the supplier, the bill number and date, the amounts and every item line, finds the matching **supplier account** and **items**, and saves one purchase voucher per bill. Whatever it cannot match, it asks you once; the supplier, and that supplier's items, are then remembered for the next bill. The screen is also available on the web.

***

### **Step 1: Open the screen**

* Navigate to **Utilities** and select **Import Scanned Documents Using OCR**.
* Open **Import Purchase - OCR**.

***

### **Step 2: Set up a configuration (once)**

* Click **Configuration** (supervisor login) and choose the **Purchase Voucher Configuration** the new vouchers follow and the **Tax Region**. Tick **Select Godown** to pick the godown; leave it unticked to use the purchase configuration's default godown.
* Choose how item lines are entered with **Line Amount**: **Taxable Value** (default) or **Quantity x Rate**, which keeps the supplier's rate and enters the difference down to the taxable value as a discount under the heading chosen in **Line Discount Goes To**. **Maximum Line Discount %** (default 50) guards against misread figures.
* **Allowed Difference in Bill Amount** sets how far a voucher may differ from the total printed on the bill.

***

### **Step 3: Scan, check and save**

* Pick your configuration, click **Scan Documents** and add your bill files.
* For a bill shown in red, click (or start typing in) **Mapped Supplier** and pick the account, then do the same in **Mapped Item** for each red line. Map the supplier first — items are remembered per supplier.
* Select a bill and click **View Totals** to see it worked out the way it will be saved.
* Click **Save**. Each bill is saved on its own, and a summary lists the new voucher numbers and the reason for any bill not saved.

***

### **What's new**

* **Supplier matching:** by your earlier answer, otherwise by GST number, then mobile, e-mail or PAN. When several accounts share that detail, the other details on the bill must narrow it to one. Suppliers mapped here are also recognised in **Import Journal Voucher Using OCR**.
* **Item matching:** by your earlier answer for that supplier, otherwise by the supplier's product code against your item codes, additional codes and barcodes.
* **Charges** printed on the bill — postage, courier, freight, packing and similar — go to the Freight, Handling or Postage heading of the purchase configuration, before or after tax as on the bill.
* **Line discounts:** with **Line Amount** = Quantity x Rate, each line keeps the printed rate and its discount goes to **Scheme (Rs)**, **Discount %** or **Scheme per Unit**. When the purchase configuration's heading does not fit, the new voucher alone uses it before tax (**Adjust Purchase Calculation for Line Discount**); your purchase configuration is not changed. If the purchase configuration charges tax on quantity × rate itself, the bill is entered at its taxable values instead and the summary says *Saved at taxable values*.
* **View Totals** (button, or the *Press here to view totals* cell) shows gross amount, discounts, charges, taxes and net amount before saving. Nothing is saved from it.
* **Amount check:** a bill is saved only when the voucher total is within **Allowed Difference in Bill Amount** of the total printed on the bill; otherwise the summary shows *The purchase works out to … but the bill total is … (difference …; allowed …).*
* **Typing amounts the scan missed:** with **Allow Manual Bill Values**, type a bill's Freight, Handling or Postage (it replaces the charge read for that heading), a Trade Discount before tax (spread over the items), a Cash Discount after tax or an Other Adjustment in the Bills list. With **Allow Manual Item Discounts**, type an item's Discount %, Scheme (Rs) or Scheme per Unit in the Items list — replacing the discount read for it, or added to it with **Add Manual Item Discounts to Read Discount**. Typed cells are shaded, and View Totals shows their effect before saving.
* **Size-wise bills:** a bill that prints a quantity under each size column (26, 28, 30 … or S, M, L, XL) is entered as one line per size, and the new **Bill Size** column in the Items list shows each line's size. Map the item once for a printed row and every line of the row goes to that item in its own size. Two rows printing the same name — two colours of one style, for example — can be mapped to different items; **Matched By** then shows *Picked for Row*.
* **Read Invoice Summary Only:** a new configuration option for bills that print a summary and then a date-wise detail of the same lines, and for bills scanned with their Original and Duplicate copies. Only the summary — or one copy — is read, with its own GST and the bill total, so the amount check uses the right total. With it ticked, GST rows printed under each line are not taken as item lines, and a service code (SAC) printed for a line is taken as its HSN when none is printed.

For the full step-by-step guide, [Click Here](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/utilities/import-scanned-documents-using-ocr/import-purchase-ocr.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-version-release-notes/november-2026/utilities/import-scanned-documents-using-ocr/import-purchase-ocr.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
