How Bay Order reads a purchase order
Supported formats
| Format | Notes |
|---|---|
| Email body | Plain text such as "10x SKU-001, 5x SKU-002" works. |
| Text PDFs and scanned or photographed PDFs. Scans are read with AI vision. | |
| Word (.docx) | Text and tables. |
| Excel (.xlsx) | Every row is read. |
| Images (.jpg, .png, .gif, .webp) | A clear photo of a paper PO works. |
| Text (.txt) | Read as is. |
No templates are needed. Every buyer can keep their own layout.
File limits and safety checks
Bay Order checks every attachment before reading it:
- Size: up to 10 MB per file. Larger files are skipped.
- Real file type: the type is verified from the file's contents, not from its name. A program renamed to
.pdfis rejected. - Virus scan: each file is scanned. If a file can't be verified, it's blocked to be safe.
If one attachment can't be read, Bay Order still processes the email body and the other attachments, and adds a note to the PO. The first attachment is saved with the PO so you can open it during review.
What the AI extracts
- Header: company, contact, shipping address, requested delivery date and notes
- Each line: product name, the buyer's SKU or code, quantity, unit, the buyer's price (for reference only) and line notes
- Confidence: a score for the whole PO and for each line. Lines with low confidence are flagged for you to check.
Your documents are processed under commercial terms that don't allow the AI provider to train models on them.
How products are matched
For each line, Bay Order tries these methods in order:
- Exact SKU match
- Exact name match, including names this customer has used before
- Close match against this customer's own order history
- AI check: for a close candidate, AI is asked only a yes-or-no question, "is this the same product?"
If none of these works, the line stays Product not mapped and you pick the product yourself. Bay Order remembers your choice for that customer next time. If two lines in the same PO point to the same variant, they're merged and their quantities added together.
When an email isn't a PO
If the AI decides an email isn't a purchase order, for example a newsletter or a "thank you" reply, it's saved under Ignored emails rather than deleted. You can recover it if it really was a PO.
When the AI is temporarily unavailable
Bay Order keeps retrying in the background, and the PO appears once it has been read. You never see a half-empty PO.
Related articles
Last updated
Was this page helpful? Email us