# OCR Barcode & QR Scanner for Labels and Invoices

> Extract text, barcodes, and key data from photos of labels and invoices into clean lists.

OCR Barcode & QR Scanner for Labels and Invoices is a free AI agent skill on Agensi by Nawaf Rayhan, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nawaf Rayhan](https://www.agensi.io/creators/nawaf-rayhan)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-12-05
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ocr-barcode-qr-scanner-for-labels-and-invoices
- Tags: automation, ocr, logistics, data-extraction, python

## What it does

- Scans images for barcodes and QR codes to get exact ID numbers
- Extracts specific data like tracking numbers and totals from shipping labels and invoices
- Processes entire folders of images at once to save time on manual uploads
- Identifies missing information by listing fields it could not find for you to check
- Works with common image formats including JPG, PNG, and WEBP

## Who it's for

- **Small business owners with paper invoices:** Stop typing data from bills into your spreadsheets by hand. Try: "Scan the invoices in my downloads folder and list the totals."
- **Logistics managers handling shipping labels:** Quickly pull tracking numbers and carrier info from photos of labels. Try: "Read this shipping label and tell me the tracking number."
- **Warehouse staff checking delivery receipts:** Verify proof of delivery and container seals without manual data entry. Try: "Extract the data from this photo of the delivery receipt."

## About this skill

If you have stacks of photos or scans of bills, labels, and receipts, this skill helps you get the data out without typing. It looks at your images, reads the text, and finds the important details like dates, tracking numbers, and totals.

### How it works
1. You give your AI agent an image or a folder full of images like invoices or shipping labels.
2. The skill runs a scan to find barcodes, QR codes, and printed text.
3. It identifies the type of document and picks out specific fields like the sender, recipient, and amounts.
4. You get back a clean table showing what it found and a list of any codes it scanned.

### Frameworks & tools
This skill uses Python scripts to run Tesseract for reading text and a barcode scanner for codes. It works with standard image files like JPG, PNG, and TIFF.

### Why this beats prompting it yourself
Standard AI chats often hallucinate numbers or miss small barcodes in images. This skill uses a two-pass cleaning process and dedicated barcode software to ensure the numbers match exactly what is on the page. It also handles entire folders at once, which a regular chat cannot do easily.

### Use cases
- Pulling tracking numbers and carrier names from a pile of shipping labels.
- Extracting dates and total amounts from digital photos of paper invoices.
- Reading container seal numbers and delivery receipts for warehouse records.
- Scanning QR codes and barcodes hidden inside complex document images.

### Known limitations
The text reading works best on clear, printed English documents. It may struggle with handwriting or very blurry photos.

## Requires

- Python
- Tesseract OCR

On Windows, install Tesseract from the UB Mannheim build; the default path is found automatically. Setup steps for Mac and Linux are in SKILL.md.

## Technical details

This skill uses a Python script (scan.py) to orchestrate Tesseract OCR and the zxing-cpp library. It performs a two-pass OCR process (raw and cleaned) and outputs structured JSON. It supports multiple document types (shipping_label, invoice, etc.) and can be configured for different languages via Tesseract language packs. All processing is local and requires Tesseract to be installed on the host system.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the OCR Barcode & QR Scanner for Labels and Invoices skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What kind of information can this skill pull from my photos?

This skill scans images of documents like shipping labels, invoices, and delivery receipts to extract important text and codes. It identifies specific details such as tracking numbers, dates, and total amounts, then organizes them into a clean list for you.

### What format will the extracted data be in?

You will receive a structured data file called a JSON, which is a common format for organizing information. It contains a table of the found fields, a list of every scanned barcode or QR code, and the full text from the image.

### Can I process many files at the same time?

Yes, you can give your agent a single image or a whole folder of images at once. The skill will scan every file in the folder and provide a summary showing the results for each one.

### Why should I use this instead of just asking my AI to read the image?

This skill is more accurate than standard AI chats because it uses a two-pass cleaning process and dedicated barcode software. It is specifically designed to match numbers exactly and avoid the common mistakes or hallucinations that general AI models often make with small text.

### Are there any types of documents this skill cannot read?

It works best with clear, well-lit photos of printed English documents. It may have difficulty reading handwriting, blurry images, or text that is not in English.

### How do I tell my agent to start the scan?

Simply provide your agent with the image file or the folder path and tell it what kind of document it is, such as an invoice or a shipping label. If you do not specify a type, the agent will try to determine the best category based on your description.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
