Skip to main content

Connect Guide | 1. Preparation for connecting Moss with Odoo

N
Written by Nils Schäfer

This is the first article in a guide that will walk you through the process of connecting Moss and Odoo.

If you follow this guide step by step, you will have successfully connected Moss and Odoo by the end.

Moss connects to Odoo via API.


Purpose of this article

This article guides you through the steps you need to take before connecting Moss and Odoo.


Checklist (before you connect)

Completing these steps before connecting ensures that your data can be imported and exported correctly from day one.

Before starting the connection process, ensure the following requirements are fulfilled:



Required permissions

The user connecting Moss to Odoo should have access to:

  • Settings

  • Accounting

  • Journals

  • Chart of Accounts

  • Vendors / Suppliers

  • Analytic Accounting

  • Payments

  • API Key Management

We recommend connecting Moss with an administrator account or a user with equivalent permissions.


Obtain your Odoo Base URL

Moss requires your Odoo Base URL to establish the connection.

To locate your Base URL:

  1. Open Odoo.

  2. Navigate to "Settings".

  3. Locate your database information or environment URL.

  4. Copy the full URL.

Example:


Create an API Key

Moss authenticates with Odoo using an API Key.

⚠️ Note: Odoo may only display the API key once. If the key is lost, create a new one.

How to create an API Key:

  1. Open 'My Preferences'.

  2. Navigate to 'Security'.


  3. Select 'Add API Key'. You may have to enter your Odoo password


  4. Give the key a recognizable name such as "Moss Integration" and select a duration. Keep in mind that the integration stops working when the key expires and must be renewed.

  5. Generate the Key with the click on “Generate Key.


  6. Copy and securely store the generated key safely.


Moss Purchase Journal

We recommend creating a Purchase journal exclusively for Moss exports. You can use one of your existing purchase journals instead, but then Moss imports might get mixed up with other purchasing workflows in Odoo.

All transactions (Credit Card Payments, AP Invoices, Employee Reimbursements) will get posted to the “Moss Purchase Journal” in Odoo.

Create your Moss Purchase Journal:

  1. Open Configuration - Journals

  2. Click “New” to create a new journal


    Select “Purchase Journal”

  3. Name the journal for example “Moss Purchase Journal” and define the number sequence for journal entries

  4. The journal saves automatically


Moss Bank Journal

All Moss payments (credit card payments, wallet payments for invoices and reimbursements) get created as bank journal entries in Odoo, auto-reconciled with the respective purchase journal entries of the expense

How to create a new bank journal

  1. Open 'Configuration' > 'Journals'

  2. Click “New” to create a new journal

  3. Select Bank

  4. Type in “Moss” and select “Add Moss”

  5. Confirm with click on “Connect”. The journal is now created.

  6. Once created, open your Moss Wallet Bank Journal and map an Outgoing Payments account or create a new one for your Moss payments




Moss Default Supplier

All Moss Credit Card Transactions can be posted against a single “Default Supplier” in Odoo. Alternatively, you can post transactions against the respective supplier accounts of the merchants you pay or apply a hybrid approach where only larger transactions are posted against specific suppliers while smaller expenses get posted against the single credit card supplier.

This account is also used to post Moss currency conversion fees or bank transaction fees if you pay invoices and reimbursements from your Moss Wallet.

How to create a default supplier

  1. Open 'Accounting' > 'Vendors'.

  2. Click on “New” to create a new Vendor account.

  3. Enter “Moss Default Supplier” as name. It saves automatically.


You have finished the preparations.

You are now ready to start connection Moss and Odoo.

Did this answer your question?