
NetSuite integration - NetSuite connector for Odoo 19
Odoo and NetSuite, kept in step over REST web services.
Customers, vendors and items move both ways. Confirmed sales orders and posted invoices go to NetSuite, orders taken in NetSuite come into Odoo as quotations, and each invoice shows its NetSuite status and amount remaining.
What it does
Every record goes to NetSuite as an upsert by external ID: PUT /record/v1/customer/eid:ODOO-1-C42, for example. If an answer from NetSuite is lost and the connector sends the same record again, NetSuite updates the one it already has. You do not get a second customer or a second invoice.
Listings use SuiteQL with bound parameters and the last modified date, so a run reads only what changed. A customer created by a sales rep in NetSuite appears in Odoo on the next run if you set Customers to both ways.
Invoices carry the customer, Odoo's number in Other Reference, one item line per Odoo line with quantity, rate and amount, and a NetSuite tax code where you mapped one. Foreign currency invoices need their currency mapped to a NetSuite currency ID, which the test fills in for you.
Sales orders work both ways. Orders confirmed in Odoo go to NetSuite; orders entered in NetSuite come into Odoo as quotations with their customer and items, and keep their NetSuite status.
Who it is for
| Companies running NetSuite for finance and Odoo for sales, eCommerce, inventory or field work. | |
| NetSuite subsidiaries or acquisitions that run Odoo and report into a NetSuite parent. | |
| Teams moving off NetSuite step by step who need both systems in sync for a while. |
Key features
Screens from a test database connected to the built-in NetSuite demo account.
TBA or OAuth 2.0
Token-based authentication with HMAC-SHA256, or OAuth 2.0 client credentials with your certificate (PS256 or ES256). NetSuite stops new TBA integrations from release 2027.1, so OAuth 2.0 is there when you need it.
| Consumer key and secret, token ID and secret and the private key are encrypted with a key kept in odoo.conf | |
| Each request is signed on its own exact URL; an OAuth 2.0 token is reused for its hour |

Direction per record type
Customers, vendors, items, sales orders and invoices each have their own switch, direction and interval. Vendors and sales orders start switched off.

NetSuite status on the invoice
The NetSuite status and the amount remaining are read back. When NetSuite reports an invoice paid in full, the payment can be registered in Odoo on the journal you choose.

A NetSuite column in the invoice list
Open or paid in NetSuite, next to Odoo's own payment status.

NetSuite orders as Odoo quotations
An order typed in NetSuite arrives with its customer, items, quantities, rates and the web order reference, ready to deliver from Odoo.

Every push and pull in the log
One line per record with the body sent and the answer. A rejected record shows NetSuite's own error detail and code.

Mappings you can check
Which Odoo record is which NetSuite record, grouped by type, with the NetSuite internal ID.

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 NetSuite enable REST web services and token-based authentication (or OAuth 2.0), create an integration record and a role with REST web services and the record permissions you need. |
| 3 | Create an access token for that user and role (TBA), or upload your certificate in OAuth 2.0 Client Credentials Setup and note the certificate ID. |
| 4 | In Odoo open Accounting Sync -> Connections -> New, pick NetSuite, enter the account ID and the credentials, press Test connection, then Map currencies. |
| 5 | Set the subsidiary ID on OneWorld accounts, map taxes if you use tax codes, press Dry run, then Sync now. |
Settings
| NetSuite account ID | From Setup -> Company -> Company Information. Sandboxes look like 1234567_SB1. |
| NetSuite authentication | Token-based authentication (TBA) or OAuth 2.0 client credentials. |
| NetSuite external ID prefix | External IDs are prefix-company-type-id. Use another prefix per Odoo database. |
| NetSuite subsidiary ID / location ID | Sent on customers, vendors, items and transactions when set. |
| NetSuite item type for goods / services | Non-inventory item for sale, service item or inventory item. |
| NetSuite tax code required | Refuse lines whose Odoo tax has no NetSuite tax code. Off lets NetSuite apply its own tax settings. |
| Register NetSuite payments in Odoo | Register the payment when NetSuite reports an invoice paid in full. |
Check before going live
| Run one customer, one item, one sales order and one invoice against your sandbox account first and compare them in NetSuite. | |
| Check the item record types your account uses for goods and services; the REST record names differ by item type. | |
| With SuiteTax or legacy tax, decide whether NetSuite or the tax code mapping sets the tax, and confirm the totals match. | |
| Addresses are sent when a customer is first created only, because REST web services do not update subrecords. | |
| Item prices are not sent: NetSuite keeps them in a price matrix; the rate on each order and invoice line is what moves. |
FAQ
Does it need a Python library?
No. It uses requests and cryptography, both already required by Odoo.
Can I try it without a NetSuite account?
Yes. Demo mode talks to a pretend NetSuite account inside the module.
Will a retry create duplicates?
No. Writes are upserts by external ID, so a resend updates the same NetSuite record.
Does it import NetSuite invoices into Odoo?
No. Invoices go from Odoo to NetSuite and their status comes back. Sales orders and master data come both ways.
Several NetSuite accounts?
Yes, one connection per Odoo company.
Compatibility
Odoo 19.0, Community and Enterprise, on premise and odoo.sh. Needs Sales and the Accounting Sync Base module (installed automatically). Built from the NetSuite Help Center pages for REST web services, TBA and OAuth 2.0 as published in November 2026.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 4175 |
| Technical Name |
mdv_netsuite_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