Software+AICase study 06
06 · Invoices and inventory Web portal · Android app · one API

Paper invoices, captured as rows

Distributors still receive supplier invoices as photographs of paper. Re-typing them delays the price on the shelf. Factorr gives the warehouse an Android app and the office a web portal. An operator frames the table, the service reads each cell, and a reviewer confirms the lines before inventory and the spreadsheet export change.

Django Android app JWT API Tesseract OCR Operator review Spreadsheet export
A supplier invoice with cells framed, beside the reviewed line items
Frame, read, confirm. The rows on the right are a sample of the shape, not a scanned invoice. Web and Android, one API
2 surfacesA web portal for the office and an Android app for the floor, on one JWT API
Cell by cellThe operator sets the box and the scale. OCR reads the crop, not the whole page
A person checksEvery invoice is assigned to an operator before it is trusted
Books outBuy invoices, sell invoices, and inventory export to spreadsheets

01 · Why the whole page is the wrong crop

Read the cell, then let a person confirm it

A full-page read of a photographed invoice scrambles quantities and totals as soon as the camera is off-axis. Factorr stores a process for each table: scale, an angle, and the box (center, width, height). The API crops to that box and reads the cells with Tesseract. The angle is recorded. Applying the rotation is not built yet, so the operator straightens the page in the cropper before submitting. A reviewer then checks the lines. Quantity, unit price, discount, tax, and the line total are all fields a person can correct.

Four steps: capture, frame the table, read each cell, confirm and export
Four steps. Capture, frame, read, confirm. Prices update from the confirmed lines, and the books export from there.

02 · A sample line

What the reviewer actually sees

These rows are examples of the data shape. They are not a scanned invoice, and they do not carry a confidence score. Pick one.


          

03 · After the review

Inventory, prices, and the accountant's file

More than one marketplace

Each marketplace has its own catalog, invoices, and users. The API is authenticated with JWT, and the same contract serves the app and the portal.

Capture where the goods arrive

The Android app talks to the same API as the website, so a photo does not have to wait for a desktop scanner.

Prices follow the latest invoice

A command copies the latest confirmed unit prices onto the inventory. The shelf price is a decision after that, not a silent overwrite.

Spreadsheets for the books

Separate exports cover buy invoices, sell invoices, and inventory, over a chosen range of ids.

Work with Software+AI

Still keying paper invoices by hand?

We build the capture, the review screen, and the export to match the paper you actually receive.