OpenMeter Connector - Usage Based Billing, Metered Billing Invoices from OpenMeter
by Modvanta https://modvantaapps.tech$ 48.86

OpenMeter and Odoo 19
Metered usage from OpenMeter, invoiced from Odoo.
Your product sends usage events to OpenMeter; your accountant invoices in Odoo. This module reads the usage of each customer per meter for a period and prepares one draft invoice per customer, with the products and prices you set in Odoo. It only reads from OpenMeter.
What it does
Pick where your OpenMeter runs: OpenMeter Cloud, Kong Konnect Metering & Billing in the US, EU, AU, ME or IN region, or your own server over https. Paste a server-side API token and press Test Connection.
Load Meters lists your meters with key, aggregation and event type. Tick Bill It on the ones you invoice and pick the product. A unit price on the meter overrides the product price, and Divide By turns raw usage into billed units: with 1,000, 1,250,000 tokens become 1,250 units of "AI tokens (per 1,000)".
Load Customers brings your OpenMeter customers with their subjects. Each one is matched to the Odoo contact with the same email in the same company, or created with its billing address if you allow it.
Bill Last Month opens the usage run of the previous month. Read Usage asks OpenMeter for each billed meter, grouped by customer, for exactly that period; usage that belongs to no known customer is listed apart so nothing is lost. Create Draft Invoices makes one draft per customer with one line per meter. Nothing is posted or sent by itself.
Who it is for
| SaaS and API companies that price by usage and keep their books in Odoo | |
| AI products that bill by tokens, requests or seats counted in OpenMeter | |
| Teams moving from flat plans to pay as you go who want invoices they can check first |
Key features
Screenshots from an Odoo 19 test database. The OpenMeter answers come from a test stand-in shaped like the OpenMeter API v3 specification, not a live account.
Meters mapped to products
The account holds the deployment, region or address and the token (visible to Odoo administrators only). Each meter can be billed with a product, a unit price and a divisor.
| A self-hosted address must be a public https address; local and private addresses are refused |

Customers matched to contacts
OpenMeter customers with their key, email and subjects, each linked to an Odoo contact.

A usage run per period
Usage and billed quantity per customer and meter with the estimated amount. Usage without a known customer shows in a warning so you can load the customers again before invoicing.

Invoiced periods
An invoiced run links its draft invoices. The same period cannot be invoiced twice; Reset works only once its invoices are cancelled.

A normal Odoo draft invoice
One line per meter with the period in the label, the product's taxes and accounts, ready to check and post.

Usage per customer and meter
All usage lines in a pivot table by customer and meter.

Usage by month
The billed quantity month after month.

All usage runs
Each period with its state and the number of invoices.

Invoicing settings
Sales journal, the time zone OpenMeter uses for period boundaries, creation of missing customers and the monthly run.

How it works
| 1 | Connect Usage Billing, Configuration, OpenMeter Accounts: deployment, token, Test Connection. |
| 2 | Meters Load Meters, tick Bill It and pick the products. |
| 3 | Customers Load Customers and check the contacts. |
| 4 | Bill Bill Last Month, Read Usage, Create Draft Invoices. |
| 5 | Post check the drafts and post them as usual. |
Settings
| Deployment / Konnect Region / Self-hosted API Address | Where your OpenMeter API runs |
| Bill It / Invoice Product | Which meters go on invoices, and as what |
| Unit Price / Divide By | Override the product price; bill per 1,000 units |
| Usage Time Zone | The time zone of the period boundaries |
| Create Missing Customers | New contacts for customers that match nobody |
| Monthly Usage Run | Prepare last month's drafts on the 1st |
FAQ
Does Odoo send anything to OpenMeter?
No. It lists meters and customers and queries usage. It does not send events or change prices in OpenMeter.
Which OpenMeter works?
OpenMeter Cloud, Kong Konnect Metering & Billing (US, EU, AU, ME, IN) and self-hosted OpenMeter with API v3.
Can I price per thousand tokens?
Yes. Set Divide By to 1000 on the meter and use a product priced per thousand.
What if a customer has usage but no contact?
The run lists it as usage without a known customer, and Create Draft Invoices asks you to map every customer first.
Are invoices posted automatically?
No. Runs only make drafts; you check and post them.
Compatibility and support
Odoo 19 Community and Enterprise. Needs Invoicing.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $49| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 940 |
| Technical Name |
mdv_openmeter_connector |
| License | OPL-1 |
| Website | https://modvantaapps.tech |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module