Extract data from documents
Use case: Extract structured data from invoices, POs, and PDFs
Invoices, purchase orders, delivery notes and scanned contracts arrive as PDFs and photos, not structured data, which means someone on your team is retyping totals, line items and dates into your accounting or ERP system by hand. Webanto's chat endpoint runs Qwen3.6, a multimodal reasoning model that reads the document image directly, no separate OCR step, and returns the fields you ask for as JSON, ready to insert into a database or push to an accounting API. Because Qwen reasons before it answers, extraction on messy scans and multi-column layouts is noticeably more reliable than a plain vision-OCR pipeline, though the output still needs a schema check before it touches financial records.
What to expect
Line items, totals, dates and vendor details pulled into JSON without manual retyping.
Multimodal reading means scanned PDFs and phone-camera photos of paper invoices work the same as clean digital exports, with no separate OCR tool in the pipeline.
Reasoning before answering tends to handle unusual layouts, rotated tables, multi-currency line items, better than template-matching OCR, though results still vary by document quality.
One API call replaces a manual data-entry step, freeing that time for exception handling instead of routine typing.
How to set this up
- 1
Get a Webanto AI API key from the dashboard and store it as WEBANTO_API_KEY — never hardcode it in the extraction script.
- 2
Define the JSON schema you want back (vendor, invoice number, date, line items, subtotal, tax, total) and write it into the system prompt as an explicit example, not just a description.
- 3
Convert each document page to an image (PNG or JPEG) if it isn't already — Qwen accepts image content blocks alongside text in the same POST /api/v1/chat request.
- 4
Set max_tokens with headroom for reasoning: Qwen emits internal reasoning tokens before the visible JSON, so a 3-page invoice needing roughly 4,000 total tokens (about 2 credits at 2,000 tokens per credit) should request at least 1,500-2,000 max_tokens, or the response can come back empty.
- 5
Parse the JSON response and validate it against your schema — types, required fields, plausible ranges — before writing to your database. Treat the model's output as untrusted input, the same as any external API response.
- 6
Log any document that fails schema validation to a review queue rather than silently dropping it or guessing at missing fields.
- 7
Track credits consumed per document type in your usage dashboard so you can catch a format change, such as a new vendor's invoice layout, that starts inflating token counts.
Products that power this use case
Frequently asked questions
Do I need a separate OCR tool before sending documents to the API?
No. Qwen3.6 is multimodal, so you send the document image, or a page rendered to an image, straight in the chat request alongside your extraction prompt. It reads the text in the image itself rather than relying on a pre-processing OCR pass.
Can I trust the extracted totals for accounting entries without checking them?
No. Treat this as a first-pass extraction, not a source of truth. Schema-validate every field, sanity-check totals against each other, and route anything with financial or legal consequences through a human review step before it posts to your books. LLM extraction reduces retyping; it doesn't replace review for high-stakes data.
Why did I get an empty response back?
This is almost always a max_tokens problem. Qwen is a reasoning model — it spends tokens thinking before it writes the visible answer, and if max_tokens is too small the whole budget gets used on reasoning with nothing left for output. Raise max_tokens and retry.
What document formats work?
Anything you can render to an image: PDF pages, scanned TIFFs, JPEG photos of paper documents, PNG screenshots. Multi-page PDFs need to be split into per-page images before the request; there is no native multi-page-PDF upload.
How much does extracting a typical invoice cost?
A short single-page invoice with a handful of line items runs roughly 1,500-2,500 total tokens including reasoning, or about 1 credit at 2,000 tokens per credit. Longer multi-page purchase orders with many line items cost proportionally more as page count and text density go up.
Other use cases
Let shoppers search your catalogue with a photo
Shoppers who spot a product in the wild, on someone else's feed, or on a competitor's site rarely know the right keywords to find it in your catalogue. Visual search closes that gap: a shopper uploads
Find near-duplicate images in a large media library
Large media libraries accumulate redundancy fast — the same product shot re-exported at a different crop, a stock photo uploaded twice under different filenames, a banner re-saved at a lower compressi
Reverse image search against your own image library
Reverse image search answers a narrower question than catalogue browsing: given one photo someone just handed you — a screenshot, a competitor's product shot, a customer's snapshot of a damaged item —
Related resources
Webanto for B2B Services & Agencies: lead nurturing and client retention
IndustryConsultancies, agencies, SaaS vendors, and professional service firms sell high-value, long-cycle services where the decision involves multiple stakeholders and the sales cycle can be 3-12 months. The highest-value clients are those who renew, expand, and refer. Most still rely on a generic 'nurture' sequence that treats every lead the same and a 'client success' process that lives in the account manager's head. Webanto connects the CRM, proposal tool, and delivery platform so lead nurturing, proposal follow-up, onboarding, and expansion sequences reference the exact services discussed, the stakeholders involved, and the client's industry — while giving every partner and client-facing team member a single view of the relationship.
Webanto vs AWeber: which email marketing tool should you choose?
ComparisonWebanto and AWeber both make email marketing approachable, but they sit at different eras of the category. AWeber is a veteran email tool known for simplicity, reliable autoresponders, responsive support, and a free plan for up to 500 subscribers — a comfortable starting point for beginners and solo creators. Its automation is straightforward and its pricing is contact-based. Webanto is built on a durable workflow engine with flat per-plan pricing, unlimited sends, native Shopify and WooCommerce sync, and a unified email, social, and content model. AWeber is the stronger choice if you want a simple, well-supported tool with a free tier for a small list. Webanto is the better choice once you need deeper automation, native store integration, and flat pricing that does not climb with your contact count.
Webanto vs Substack: business marketing or a paid newsletter?
ComparisonWebanto and Substack overlap on email but aim at opposite users. Substack is a free-to-start publishing and newsletter platform for writers, monetising through a percentage cut of paid subscriptions, with built-in discovery, a clean writing experience, and minimal marketing automation. Webanto is a business marketing platform with flat per-plan pricing, automation, native Shopify and WooCommerce sync, and a unified email, social, and content model. Substack is the stronger choice if you are an individual writer who wants the simplest path to a paid newsletter and audience discovery. Webanto is the better choice if you are a business that needs automation, segmentation, store integration, and social plus content, rather than a writer-focused subscription network.
Designing an Effective FAQ Page for Your Website
BlogMaster your FAQ page with smart design tips 📄✅
CRM Integration
ServiceIncorporating AI into Your Website Design: Pros and Cons
BlogAI in web design: a game-changer or a risk? Weigh in! 🤖⚖️
Ready to try it?
Start a 14-day free trial on any paid plan. Cancel before it ends and you won't be charged.

