All guides · API quickstart · Last checked: Odoo module version 1.0, November 2026: requests and bill reading tested against our live API (first release; tell us how it works for you)
- 1. Create an accountSign up in a minute and get $5 of free credit. Already a customer? Sign in.
- 2. Make an API keyIn your account, open AI API and press Create key. Keys start with
dgk_. Keep yours secret. - 3. Follow the steps belowCopy each block, paste your key where it says
dgk_your_key_here.
What it does
| Where | What it does |
|---|---|
| Vendor bills: Read with Datagram AI button | Reads the attached PDF, scan or phone photo and fills in the vendor, bill number, dates, currency and lines. It adds a note if the totals don't match. Select several draft bills in the list and use Action → Read bills with Datagram AI to do them all at once. |
| Any record: Action (⚙) → Ask Datagram AI | Summarize, list open questions and next steps, translate the latest message, draft a reply, or ask your own question about a contact, invoice, quotation, purchase order, lead, task, ticket and more. Post the answer as an internal note or put it straight into an email. |
| Products: Action → Write sales description with Datagram AI | Writes the sales description from the name, category, variants and your notes, in the language you use Odoo in. Works on many products at once. |
For Odoo 17, 18 and 19, Community and Enterprise, self-hosted or hosted by us. Odoo Online (odoo.com's own hosting) doesn't allow outside modules.
What it costs
The module is free (open source, LGPL-3). Each use is paid from your Datagram AI credit by the tokens it uses: reading a typical one-page bill costs about $0.0002, so a thousand bills cost about 20 cents. Odoo's own bill scanning is paid per document with Odoo credits.
1. Install the module
Download the module (datagram_ai.zip)
- On your server (recommended): unzip it into your Odoo addons folder, so that you have
…/addons/datagram_ai/__manifest__.py, and restart Odoo. Then Apps → Update Apps List, search for Datagram AI (remove the "Apps" filter) and press Activate. - Odoo.sh: add the
datagram_aifolder to your project's repository, push, then activate it under Apps. - Hosted by us? Just ask: we install it for you.
Scanned PDFs: the module turns the first page into a picture with pdftoppm. Most Linux servers have it; if not, install poppler-utils (Debian/Ubuntu: sudo apt install poppler-utils). Photos and digital PDFs work without it.
2. Connect your account
- Make an API key for Odoo in your account under AI API (new accounts get $5 of free credit).
- In Odoo: Settings → Datagram AI, paste the key and press Save and test. You should see "Connected".
Leave the API address as https://api.datagram.net/v1 unless we gave you the address of your own private Mac. The models can be changed there too; the default, Gemma 4 26B, reads both text and pictures and is quick (about 4 seconds per bill).
3. Read a vendor bill
- Accounting → Vendors → Bills → New (or upload the PDF there, or forward bills to your bills email alias, as usual).
- With the PDF or photo attached, press Read with Datagram AI.
- Check what it filled in and the note in the chatter, then confirm the bill as usual. It never confirms or pays anything itself.
- Fields you already filled in are left alone. If the bill already has lines, they're kept as they are.
- The vendor is matched by tax ID, then email, then name. A new vendor isn't created for you: the note tells you to pick or create it.
- If the bill's tax rate matches one of your purchase taxes, it's used on the lines. If not (common with US sales tax), the tax goes on its own line, so the total still matches.
Privacy
Completely private and secure. Only the bill or record you work on is sent, only when you press a button, encrypted (HTTPS), and only to our own Macs in our own datacenter, never to a public AI service. Your documents, bills and financial information are used only to produce the answer, then discarded: they are never stored on our servers, written to a log or used for training. All we keep is how many tokens each request used, for billing. With Managed Odoo Hosting, your Odoo and the AI are in the same building.
If something goes wrong
"Your Datagram API key was not accepted"
Copy the key again from your account under AI API into Settings → Datagram AI. Keys start with dgk_.
"Could not reach Datagram AI"
Your Odoo server must be able to make HTTPS requests to api.datagram.net. Check its firewall or proxy.
"This PDF is a scan with no text in it"
Install poppler-utils on the Odoo server (see step 1), or attach the bill as a photo (JPG or PNG).
I don't see "Ask Datagram AI" on quotations, leads or tickets
It's added for the apps installed when the module was installed. After installing new apps, go to Apps, open Datagram AI and press Upgrade.
"Your Datagram AI credit has run out"
Add credit in your account under AI API. Credit never expires.
Questions
Do I need Odoo Enterprise?
No. The module works on Odoo 17, 18 and 19, Community and Enterprise, self-hosted or hosted by us. It can't be installed on Odoo Online (odoo.com hosting), which doesn't allow outside modules.
Is my accounting data stored?
No. Only the bill or record you work on goes to our own Macs to produce the answer; it is never written to a log or database or used for training. We keep only token counts for billing.
What does reading a bill cost?
The module is free. Reading a typical one-page bill costs about a fiftieth of a cent (about $0.0002), PDF or photo, paid from your Datagram AI credit. Asking about a record or drafting a reply costs about the same.
Does it replace Odoo's own bill scanning?
It does the same job: fill in a vendor bill from the PDF or photo. Odoo's own digitization is paid per document with Odoo credits; this one is paid per use from your Datagram credit and runs on private hardware.
Can you host Odoo for us too?
Yes: Managed Odoo Hosting from $49 a month, with backups, updates and monitoring. On our hosting, Odoo and the AI are in the same building. We also move companies from QuickBooks to Odoo.