Odoo Spendesk integration

Spendesk Connector

Spendesk integration - Spendesk connector for Odoo 19

What it does

What finance prepared in Spendesk, booked in Odoo.

You create an API key in Spendesk (Settings, Integrations, Manage API access) and paste its client ID and secret. "Test connection" gets an access token and reads your cost centers. With an organisation-level key, put the Spendesk company ID on the connection and it reads just that entity.

Each run asks Spendesk for payables ready for export and reads them one by one. A supplier invoice for 100.00 EUR net at 20% VAT on account 606400, cost center Marketing, becomes a draft vendor bill with one line on the Odoo account 606400, your 20% purchase tax and the Marketing analytic account, with the PDF attached. Credit notes become vendor credit notes. Card payments become bills, or journal entries against the Spendesk wallet account if you prefer.

When a booking is done, Spendesk is told with the payable version, so the payable leaves its export queue. A payable that cannot be booked yet (a VAT rate with no Odoo tax, an account code that does not exist, a currency that is not active) waits with the reason, and Spendesk keeps it ready for export.

Settlements still in state "created" are read too. For every payable already booked they pay, a payment is registered from the Spendesk wallet journal and reconciled with the bill, and the settlement is marked exported.