Reading, sorting and drafting, handled by AI
AI is good at turning messy input (a PDF, an email, a question) into tidy data. Odoo is good at keeping that data correct. Together they remove hours of typing.
Supplier, date, reference, lines and totals read from the PDF and entered as a draft for checking.
Each message sorted by topic and urgency, then created in the right place in Odoo.
An answer drafted from your products, prices and past replies, ready to send or edit.
Website descriptions and translations written in your style for many products at once.
People stay in charge. AI prepares drafts and suggestions; nothing is posted, sent or paid until someone on your team approves it, in Odoo or with one tap on Telegram.
From an emailed PDF to a draft bill
The most requested AI workflow, step by step.
-
Collect the invoices
Suppliers keep emailing their invoices to one address, such as bills@yourcompany.com. n8n checks that mailbox and picks up each new PDF.
-
Let AI read the PDF
The text is taken from the PDF and given to the AI model with strict instructions and a fixed structure for the answer, so the result is always the same shape.
Instructions to the AI modelYou read supplier invoices for an accounting team. Return only the fields in the schema. Use only values printed on the invoice; if a value is missing or unclear, return null for it. Dates as YYYY-MM-DD. Amounts as numbers without currency symbols.Structure of the answer (JSON schema){ "type": "object", "properties": { "vendor_name": { "type": "string" }, "vendor_vat": { "type": ["string", "null"] }, "invoice_number": { "type": "string" }, "invoice_date": { "type": "string" }, "currency": { "type": "string" }, "lines": { "type": "array", "items": { "type": "object", "properties": { "description": { "type": "string" }, "quantity": { "type": "number" }, "unit_price": { "type": "number" } } } }, "total": { "type": "number" } }, "required": ["vendor_name", "invoice_number", "invoice_date", "lines", "total"] } -
Check the answer before using it
The supplier is matched in Odoo by tax number or name, and the lines must add up to the printed total. Anything that does not match is flagged instead of guessed.
-
Create a draft bill with the PDF attached
The bill is created as a draft through Odoo's API, the original PDF is attached and a note explains where it came from.
POST /json/2/account.move/create{ "vals_list": [{ "move_type": "in_invoice", "partner_id": 12, "ref": "INV-88231", "invoice_date": "2026-11-18", "invoice_line_ids": [ [0, 0, { "name": "Customizable Desk (White, Custom)", "quantity": 10, "price_unit": 120.0 }], [0, 0, { "name": "Customizable Desk (Black, Custom)", "quantity": 4, "price_unit": 845.0 }] ] }] }Attach the original PDF and leave a notePOST /json/2/ir.attachment/create { "vals_list": [{ "name": "supplier-invoice-INV-88231.pdf", "raw": "<base64 of the PDF>", "res_model": "account.move", "res_id": 60 }] } POST /json/2/account.move/message_post { "ids": [60], "body": "Draft prepared by the AI bill reader from an emailed PDF. Please check.", "attachment_ids": [510], "subtype_xmlid": "mail.mt_note" }
The result in Odoo: a draft bill with vendor, reference, date and lines filled in, and the original PDF beside it for checking. -
Ask a person to confirm
The accountant gets a Telegram message with the supplier, amount and a link. They check the draft against the PDF and click Confirm in Odoo.

The complete workflow in n8n, with the AI model and the answer structure attached to the AI step.
Your choice of AI
The workflows work with OpenAI, Anthropic Claude or Google Gemini through your own account, or with an open model running on your own server when data must not leave it.
Costs you can see
You pay the AI provider directly for what you use. Each workflow records how many documents it handled, so the cost per bill or email is clear.
Less typing, same control
No more typing supplier invoices or copying emails into Odoo.
The original document sits next to the draft, with a note of where it came from.
Totals are checked; anything unclear is flagged, never invented.
Common questions
How accurate is it?
Clear, typed PDFs are read reliably; poor scans and handwriting less so. That is why every result is a draft and the totals are checked before a person confirms it.
Is our data used to train the AI?
Business API accounts from the major providers do not train on your data by default. For full control, an open model can run on your own server.
Does Odoo Enterprise not do this already?
Enterprise includes its own document digitisation with credits. This approach also works on Odoo Community, with the AI provider you choose, and for any document or email, not only bills.
