> For the complete documentation index, see [llms.txt](https://docs.bossithq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bossithq.com/stock/stock-suppliers/stock-supplier-orders/receiving-a-supplier-order/supplier-invoice-recognition.md).

# Supplier Invoice Recognition

This feature allows the system to automatically record supplier receipts to remove manual data entry.

{% stepper %}
{% step %}

### Receipt Creation and File Upload

When a delivery arrives, navigate to Stock > Supplier Orders and complete the following steps:

1. Open the relevant supplier order.
2. Click the **Create Receipt** available on the right side of the supplier list of order or click on the supplier order number to see the same option in the upper right-hand corner.
3. Enter the supplier's invoice number and any applicable receipt references. Update the delivery date.
   * This can be backdated as needed.
4. Upload the digital PDF or photo of the supplier invoice directly to the record by clicking on **Attachments**. A confirmation message will say “File Uploaded Successfully”.

<img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2FuSC1Kr9PDdvSwj1itX4W%2Funknown.png?alt=media&amp;token=718c0691-560b-4e7d-95fa-72f5bce5714d" alt="" height="199" width="556">

<img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2FWMeGV09y0mJTN4UvJlrL%2Funknown.png?alt=media&amp;token=ff335dd4-88f7-4dae-8573-9b4dd8c7ce9a" alt="" height="184" width="556">

<img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2FiHvJyxWPGYQqsK2Hukxm%2Funknown.png?alt=media&amp;token=9fb1011f-f9ae-41d1-af5e-371839aab469" alt="" height="197" width="556">
{% endstep %}

{% step %}

### Automated Data Extraction

Clicking the **AI Scan** button initiates the Optical Character Recognition (OCR) process. The system reads the uploaded document layout to extract the item names, unit pricing, and received quantities.

{% hint style="info" %}
If stock product names in the supplier document do not exactly match the stock product names in our system, the AI will attempt to identify the closest matching product based on name similarity, abbreviations, and common variations.&#x20;

For example: If the supplier document lists *Coca-Cola Zero Can 330ml* but the order contains *Coke Zero 330ml*, the system will recognise these as the same product.

**Please review any suggested matches before confirming the receipt.**
{% endhint %}

<img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2F1hYAhHsRgeHZS1rZ4y7I%2Funknown.png?alt=media&amp;token=ba756c4b-4f4e-4fbe-b0a9-4c0dea30ef11" alt="" height="223" width="604">
{% endstep %}

{% step %}

### Review and Discrepancy Verification

Click **Apply** to populate the extracted data onto the review screen.&#x20;

<img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2Fxr9DBv1aBClkFjIkYmdR%2Funknown.png?alt=media&amp;token=826de179-5261-46ff-92c7-69cdc82ebfaa" alt="" height="325" width="604">

The system applies specific indicators to the line items:

* **AI Tags**: Identifies data fields populated by the scanner.
* **Quantity Alerts**: Flags whether an item arrived short or over the original order volume.

{% hint style="info" %}
All fields remain fully editable for manual correction before finalisation.
{% endhint %}

<img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2Fp2W41kKEcbOtOLos3Bar%2Funknown.png?alt=media&amp;token=61191777-0f6f-4f14-b330-f30430685f36" alt="" height="275" width="556">

After verifying the data on the review screen, click **Book**. This action simultaneously updates live inventory counts and unit costs for dynamic stock products ([Stock Price Types](https://docs.bossithq.com/stock/stock-price-types.md#dynamic))
{% endstep %}
{% endstepper %}


---

# 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://docs.bossithq.com/stock/stock-suppliers/stock-supplier-orders/receiving-a-supplier-order/supplier-invoice-recognition.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.
