AI Sales Order Capture: Customer PO PDF to Sales Order
by Viyug Infotech https://viyuginfotech.com$ 108.47
Customer purchase orders in, checked sales orders out
PDF, scan, photo, spreadsheet or plain e-mail: the app reads the customer, PO number, dates, ship-to and lines, maps the customer's item codes to your products, checks prices against your pricelist and flags duplicate POs. You review it next to the original and create or confirm the order with one click. Clean text orders are read locally at no AI cost, the rest goes to your own AI provider.
Your own AI key, no creditsLearned item codesPrice checkDuplicate PO checkE-mail inbox per team
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Order entry is still typing
Customers send POs in their own layout with their own item codes. Somebody retypes them, looks up every code, checks the price and hopes the PO was not already entered last week.
Without it
- Lines retyped from PDFs and e-mails
- Customer item codes looked up in a spreadsheet
- Wrong prices noticed when the invoice is disputed
- The same PO entered twice
- Vendor-bill OCR does nothing for sales orders
With AI Sales Order Capture
- Draft order read in seconds, weak spots highlighted
- Item codes learned per customer, used every time after
- Price differences to your pricelist flagged per line
- Duplicate PO numbers stopped before an order exists
- Works on Community and Enterprise, your own AI account
How it works
From the customer's file to your sales order in five steps.
Receive
E-mail alias per sales team, drag and drop on the list, or bulk upload. PDF, image, CSV, Excel or the e-mail text.
Read
Clean text orders are read locally. Scans and odd layouts go to your AI provider and come back as checked structured data.
Match
Customer by sender e-mail, tax ID or name. Products by learned customer code, your code or barcode, then a flagged guess.
Check
Price against the pricelist, quantity against the customer's history, units, line totals, duplicate PO number, delivery address.
Order
Review beside the original, then create the quotation or create and confirm. The original PDF goes along.
Workflow walkthrough
Fourteen steps on fictional demo data, from the customer's PDF to the confirmed order.
Your customer sends a purchase order
A PDF from the buyer's ERP, a scan, a photo, a spreadsheet or just an e-mail with the lines typed in. Item codes are the customer's own, prices are what they expect to pay.

Give each sales team a PO inbox
Type an alias on the PO Capture tab of a sales team. Every order file mailed to it becomes a capture for that team. Signature logos are ignored, several attachments become several captures.

All incoming orders in one list
Queued, to review, order created, failed: customer, PO number, dates, amount, how many products were found and what needs a look.

Or drop files on the list
Drag PDFs, images, CSV or Excel files from your desktop or mail client onto the list. They are queued and read straight away.

Bulk upload with team and customer
The upload screen takes many files at once. Pick the sales team, and the customer when you already know it.

Review next to the original
Read fields on the left, the original document on the right. Customer found by the sender's e-mail, PO number, requested delivery date and the ship-to matched to the customer's warehouse address.

Every line checked
Customer item codes mapped through the learned table, a guess from the description flagged, the customer's price compared with your pricelist and a quantity far above the customer's usual order called out.

Scans and photos through your AI
Images and scanned PDFs go to the vision model of your own AI provider. Low-confidence fields are listed on top, the unknown ship-to address is marked to be created with the order.

Pick the product once
A code nobody has seen yet? Choose the product on the line. It is remembered for this customer and found by itself on the next order.

Duplicate POs stopped
The same customer PO number on an existing order or another capture is flagged before anyone creates a second order.

One click to the sales order
Create the quotation, or create and confirm in one go. Customer reference, delivery address, requested date and the original PDF in the chatter.

The item code table grows by itself
Customer, their code and description, your product, how often it was used. Edit, add or import codes whenever you like.

Decide how much is automatic
Local reading or AI, price taken from your pricelist or the PO, tolerance, unknown customers and addresses, and whether orders are created or even confirmed without a person.

Nothing gets lost
Provider down or not set up yet? The document waits with the reason and a Retry button. AI requests are retried after 2, 4 and 8 minutes.

What is inside
Everything between "PO received" and "order confirmed".
PO inbox per sales team
An e-mail alias on each sales team. Order attachments become captures, several files become several captures, logos in signatures are skipped, a mail without a file is read from its text.
Drop, upload, Excel
Drag and drop on the captures list, a bulk upload screen with team and customer, CSV and Excel order files with the header row found by itself.
Local reading first
Text PDFs, e-mails and spreadsheets whose lines add up are read on your server without an AI call. Anything else goes to the AI.
Your AI, your key
Scans and photos use the vision model of the AI connection: OpenAI, Anthropic Claude, Azure OpenAI or any OpenAI-compatible endpoint, also self-hosted.
Customer and ship-to
Customer by sender e-mail, tax ID, name or a known customer name in the text. The ship-to is matched to the customer's addresses or created as a delivery address.
Learned item codes
A table of customer item codes to your products per customer. Filled every time an order is created, editable, and always tried first.
Fallbacks that say so
Without a learned code: your internal reference, barcode, exact name, then a guess from the description that is flagged for a check.
Price and quantity checks
Customer price against your pricelist with a tolerance, quantities far from the customer's usual order, unknown units, lines that do not add up.
Side-by-side review
The original PDF or image next to the read fields and editable lines, with confidence per field and per line and a list of what to check.
Duplicate PO check
Same customer and PO number on an order or another capture. Duplicates never turn into orders by themselves.
One click, or none
Create the quotation, or create and confirm. Optional: quotations created automatically, or confirmed only when every check passes.
Queue, retries, cost
Background queue with retries after 2, 4 and 8 minutes, the reason for every failure, tokens and cost per document, the monthly AI budget.
Choose how much to automate
| After reading | What happens |
|---|---|
| Wait for review (default) | A person opens each capture, fixes what is flagged and creates the quotation or the confirmed order. |
| Create the quotation | When the customer and every product are found and the PO is not a duplicate, the quotation is created. A person confirms it. |
| Confirm when every check passes | The order is also confirmed, but only with a known customer, a PO number, confidence above your threshold, no price or quantity flag, no guessed product and no warning. Otherwise it stays a quotation. |
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Pay per document credits | None: local reading or your own AI account | Prepaid credits or one fixed provider |
| Customer item codes | Learned per customer and used first | Match by your code or name only |
| Price check against your pricelist | Yes, per line with a tolerance | Rare |
| Quantity check against order history | Yes | No |
| Duplicate PO detection | Yes, orders and captures | Rare |
| E-mail inbox per sales team | Yes | Upload only |
| CSV and Excel orders | Yes | PDF and images only |
| Clean PDFs without AI cost | Yes, local reading | Every page sent to the AI |
| Review next to the original with confidence | Yes, per field and per line | Varies |
| Delivery address matched or created | Yes | Usually not |
| Create and confirm in one click, guarded automation | Yes | Quotation only |
| Retry queue, tokens and cost per document | Yes | Rare |
Setup in 5 steps
Install
Install the app. The AI Connection Layer comes with it.
Connect AI
Optional for clean text orders: in Settings, AI Connection, choose the provider, paste your API key and pick a vision model.
PO inbox
Open a sales team, PO Capture tab, type an alias such as orders.
Rules
Sales, PO Capture Settings: reading mode, price source and tolerance, automation level.
First order
Drop a customer PO on the Captured POs list and review it.
Your data and your provider
- Orders read locally never leave your server. Scans and orders that need the AI are sent to the provider you configure in the AI connection settings; choose one that fits your data protection needs, or a self-hosted model.
- You pay your provider directly. The app shows tokens and an estimated cost per document from the prices you enter.
- What the app reads is a proposal. Accuracy depends on the document and the model, so review before you confirm.
What you need
This app is built on AI Connection Layer, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
AI Connection Layer
Technical name ai_llm_base
One shared AI connection for all Viyug AI apps: provider, API key, request log and budget in one place.
- Anthropic, OpenAI, Azure OpenAI or any endpoint that speaks the OpenAI chat format
- API key stored in system parameters and shown only to administrators; you supply the account
- Request log with app, purpose, model, tokens, estimated cost, duration and status
- Monthly budget per company: new requests stop with a clear message once it is reached
- Validated JSON answers, retried once with the validation error
- Privacy switch for personal data, off by default



Frequently asked questions
Does this overlap with the Enterprise document digitization?
No. The Enterprise digitization reads vendor bills, receipts and similar documents for accounting. This app reads purchase orders your customers send you and turns them into sales orders. Both can run side by side.
Do I need an AI account?
Not for clean text PDFs, e-mails and spreadsheets whose lines add up: they are read locally. Scans, photos and unusual layouts need the AI connection with your own key, or a self-hosted model through an OpenAI-compatible URL.
How are customer item codes handled?
First the learned table for that customer, then your internal reference or barcode, then an exact product name, then a guess from the description that is shown as Guessed. When you create the order, the products on the lines are remembered for the customer's codes.
Which price ends up on the order?
By default your pricelist price, with any difference to the customer's price flagged on the line. You can switch to honour the price printed on the PO.
What about scanned PDFs?
Their pages are rendered to images and sent to a vision model. Rendering and local reading of PDFs use the poppler tools on the server (pdftoppm, pdftotext). Without them, upload scans as images.
Does it work with several companies and sales teams?
Captures and item codes belong to a company and follow multi-company rules. Salespeople who see only their own documents see their captures and the unassigned ones from the e-mail inbox.
Need help or a change?
Questions about setup, a layout that is not read well, or a feature you need? Use the Contact Vendor button on this page and describe what you see. Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Related apps
Release notes
Initial release
- E-mail inbox per sales team, drag and drop, bulk upload, CSV and Excel
- Local reading of text orders, AI reading of scans through the shared AI connection
- Customer, ship-to and product matching with learned customer item codes
- Price, quantity, unit, arithmetic and duplicate PO checks
- Side-by-side review, one-click create or confirm, guarded automation, retry queue and cost log
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Sales (sale_management) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2550 |
| Technical Name |
viyug_ai_order_capture |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module