
SmartBill integration - SmartBill connector for Odoo 19
Invoice in Odoo, issue in SmartBill, see who paid.
Posted customer invoices go to SmartBill Cloud in the series you mapped, with the VAT names and units your SmartBill account really has. The SmartBill number and PDF come back to the Odoo invoice, a full credit note becomes a storno, and payments go both ways.
What it does
SmartBill is strict about three things: the series, the VAT name and the unit must match your account letter for letter. So the connector reads your VAT rates and series from SmartBill when you test the connection, and you map Odoo taxes, journals and units to them once. An invoice with a tax nobody mapped is stopped in Odoo with the tax named, before anything is sent.
A posted invoice goes to SmartBill with the client written on it (name, CIF, Reg. Com., address, e-mail), one line per Odoo line at its net unit price, and the VAT name and percentage. SmartBill gives it its number in your series; the series, number, public link and the PDF land on the Odoo invoice. Prefer to check them first? Send them as drafts (ciorne) and finalise in SmartBill.
A credit note that reverses a whole invoice is issued as that invoice's storno. A partial one goes as an invoice with negative quantities. Cancel an invoice in Odoo and, if you allow it, it is cancelled in SmartBill too.
Payments work both ways. A customer payment registered in Odoo is sent as a SmartBill receipt linked to the invoice, in the payment type you set per journal (Ordin plata, Card, Chitanta with its series). The other way, the connector asks SmartBill which invoices are paid and can register the payment in Odoo.
Who it is for
| Romanian companies that run sales, stock or projects in Odoo and issue their invoices in SmartBill. | |
| Accounting firms whose clients keep SmartBill as the invoicing system of record. | |
| Teams moving to Odoo that want to keep their SmartBill series and numbering. |
Key features
Screens from a test database connected to the built-in SmartBill demo account.
Your SmartBill account
E-mail, API token and the company CIF, exactly as on the Integrari page. Test connection loads the VAT rates and the series.
| The token is encrypted with a key kept in odoo.conf | |
| Calls are paced at 30 a minute, so SmartBill's 30 per 10 seconds is never reached |

VAT names, series and units
Odoo tax to SmartBill VAT rate (Normala 21%, Redusa 11%...), journal to series and payment type, Odoo unit to SmartBill unit (buc, ora, kg).

SmartBill number on the invoice
Series, number, payment status, unpaid amount and the public link, with the SmartBill PDF attached.

SmartBill columns in the invoice list
SmartBill number and status next to Odoo's own payment status.

Every call in the log
What was sent and what SmartBill answered, with SmartBill's errorText when it refuses something.

Dashboard
Waiting, created, updated and failed in the last 24 hours, and the last problem.

How it works
| 1 | Add account_sync_secret_key (a Fernet key) to odoo.conf and restart Odoo. |
| 2 | In SmartBill Cloud open Integrari -> API and copy the e-mail, the token and the CIF. |
| 3 | In Odoo open Accounting Sync -> Connections -> New, pick SmartBill, paste them and press Test connection. |
| 4 | Press Suggest VAT mapping, check it, then map each sales journal to a series and your units. |
| 5 | Press Dry run, then Sync now. Turn on Run on schedule when the first invoices look right. |
Settings
| SmartBill default invoice series | For journals without their own row. |
| SmartBill: issue as draft | Issue as ciorna in SmartBill, to be finalised there. |
| Attach the SmartBill PDF | Download the PDF onto the Odoo invoice after issuing. |
| Cancel in SmartBill | Cancel the SmartBill invoice when it is cancelled in Odoo. |
| SmartBill: save clients | Save the client in the SmartBill client list (saveToDb). |
| SmartBill default payment type | For payments from journals without their own type. Chitanta needs a receipt series. |
| Register SmartBill payments in Odoo | Register the payment when SmartBill says an invoice is paid. |
Check before going live
| Issue one test invoice, one storno and one receipt and compare them in SmartBill Cloud before switching the schedule on. | |
| Every invoice issued through the API, drafts included, counts toward your SmartBill subscription's document allowance. | |
| e-Factura (SPV) follows your SmartBill account settings; this module does not send anything to ANAF. | |
| The client's CIF and address are what SmartBill prints and sends: keep them right on the Odoo contact. |
FAQ
Do I need anything from SmartBill support?
No. The e-mail and token from the Integrari page and the company CIF are enough.
What happens when an invoice is already issued?
It is not changed from Odoo. Issue a credit note; a full one becomes a storno.
Is an invoice ever issued twice?
Each posted invoice is sent once and linked to SmartBill's series and number. SmartBill's API has no search by our reference, so if an answer is lost mid-call the job stops with a timeout message: check SmartBill before you press Retry.
Can I try it first?
Yes. Demo mode talks to a pretend SmartBill account inside the module.
Does it import SmartBill invoices into Odoo?
No. Invoices go from Odoo to SmartBill; payment status comes back.
Compatibility
Odoo 19.0, Community and Enterprise, on premise and odoo.sh. Needs the Accounting Sync Base module (installed automatically). Built from the SmartBill API reference (OpenAPI file) published at api.smartbill.ro in November 2026.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 3883 |
| Technical Name |
mdv_smartbill_connector |
| License | OPL-1 |
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