AI Invoice Extract
Attach a PDF or photo to a draft vendor bill, press one button, and Anthropic's Claude reads the document and fills in the supplier, the dates, the lines and the totals.
What it does
One button on the bill
An Extract with AI button on any draft vendor bill. It reads the newest PDF, PNG or JPEG attached to that bill, so a scan or a phone photo works as well as a supplier PDF.
Supplier matching
The supplier is matched against your existing contacts first, by name, tax ID and bank account. Only when nothing matches is a new contact created.
Header fields
Invoice date, due date, supplier reference, payment reference and currency, each written only when the field is still empty.
Lines and taxes
Invoice lines with description, quantity and unit price, with taxes matched to the taxes configured in the company that owns the bill.
Nothing overwritten
Values an accountant already entered are left alone, and existing invoice lines are never modified, so a half-filled bill is safe to run through.
An audit note
Every run leaves a chatter note recording what was read and anything that looked doubtful, so the extraction can be checked afterwards.
Using it
- Open or create a draft vendor bill.
- Attach the supplier's PDF, PNG or JPEG.
- Press Extract with AI in the header.
- Review what was filled in, then confirm the bill as usual.
The button is available to anyone with Billing rights. Only Billing Administrators can see or change the API key.
The button sits next to Confirm, with the attachment in the preview pane.
Setup
Install
- Install the Python package
anthropicon the Odoo server. - Put the module in your addons path and update the Apps list.
- Install Wolfinne AI Invoice Extract. It pulls in Invoicing and Odoo's own invoice extraction module.
Configure
Open Accounting → Configuration → Settings and find AI Invoice Extraction:
- Anthropic API Key, stored masked and visible only to Billing Administrators.
- Model, the Claude model id used for extraction.
- Max output tokens and timeout, for cost and latency control.
- System prompt override, optional, for house-specific extraction rules.
Requirements
| Odoo | 19, with Invoicing and account_invoice_extract, which is an Odoo Enterprise module. |
| Python | The anthropic package on the Odoo server. |
| Account | An Anthropic API key. Model usage is billed by Anthropic, separately from this module. |
| Network | Outbound HTTPS from the Odoo server to the Anthropic API. |
Good to know
- Extraction is a suggestion, not a posting. A human still reviews and confirms the bill.
- Results depend on the model and on the quality of the document. Faint scans and unusual layouts read less reliably than a clean PDF.
- The module reads the most recently attached file, so re-attaching a better scan and pressing the button again is the way to retry.
- Taxes are matched within the company that owns the bill, so a multi-company database will not borrow another company's taxes.
- English source terms ship with German, Serbian Cyrillic and Serbian Latin translations.
- The API key is never included in log output, including on timeouts and auth failures.
Maintainer
Developed and maintained by Wolfinne IT, wolfinne.com.
Author: Bojan Nišević <bojan@wolfinne.com>
Support and customizations: hello@wolfinne.com
Claude and Anthropic are trademarks of Anthropic PBC. Odoo is a trademark of Odoo S.A. This module is an independent integration and is not affiliated with or endorsed by either. An Anthropic API key and an Odoo Enterprise subscription are required and are not included.
This module is provided as is, without warranty of any kind, express or implied, and its authors accept no liability arising from its use, as set out in sections 15 and 16 of the GNU LGPL v3 under which it is distributed. Extraction output is generated by a language model and can be wrong: the accountant remains responsible for reviewing every bill before confirming it, and for the accuracy of the accounting records that result. The full disclaimer is in the repository README.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 662 |
| Technical Name |
wolfinne_ai_invoice_extract |
| License | LGPL-3 |
| Website | https://wolfinne.com |
Please log in to comment on this module