
Beds24 API V2 and Odoo 19
Your Beds24 bookings in Odoo, with a sales order for every guest.
New, changed and cancelled Beds24 bookings come into Odoo with the guest, the stay, the channel and the Beds24 invoice items. Each one gets a sales order you can invoice. Prices, minimum stay and availability go back to Beds24 from Odoo.
What it does
Create an invite code in Beds24 (Settings, Marketplace, API), paste it on the account in Odoo and press Connect. Odoo swaps the code for a refresh token once and renews the 24-hour token by itself after that. Your properties and rooms are read, and every room gets an Odoo service product you can replace with your own.
Bookings come in with the guest, arrival and departure, nights, adults and children, the channel (booking, airbnb, direct and so on), the channel reference, price, deposit, commission and the Beds24 invoice items. Each booking gets a sales order: one line per Beds24 charge, or the room nights when there are no charges. Confirmed bookings confirm the order, requests stay quotations, owner blocks get no order at all.
When a guest changes dates, the order follows. When a booking is cancelled in Beds24, its order is cancelled. If you already posted the invoice, Odoo leaves the order alone and puts a warning on the booking instead, so you decide what to do with the money.
Guests are matched by email, then phone, but only among the contacts of the company that owns the Beds24 account. Two companies in one database never share guests by accident.
Who it is for
| Guest houses, B&Bs and small hotels that run their channels through Beds24 and invoice in Odoo | |
| Holiday apartment managers with several Beds24 properties in one account | |
| Bookkeepers who want each stay as a sales order instead of retyping it |
Key features
Screenshots from an Odoo 19 test database. Beds24 answers come from a test stand-in shaped like the published Beds24 API V2, not a live account.
One Beds24 account
Invite code or read-only long life token, the scopes Beds24 granted, the credits left in the current 5 minute window, and the order options. Properties and rooms sit on tabs below.
| Connect, Import Bookings, Read Calendar and Reload Properties in the header |

Bookings list
Every Beds24 booking with guest, property, room, dates, nights, channel, price and its order. Filters for arriving today, departing today, upcoming, cancelled and bookings without an order.

The booking
Stay, guest, amounts and the Beds24 invoice items. Read Again fetches the booking from Beds24; Cancel at Beds24 is an administrator button with a confirmation.

Guest messages
Read the booking messages and write back from Odoo. Beds24 passes the reply on through the channel where the channel allows it.

Sales order per booking
The order shows the Beds24 booking, channel, arrival and departure, with the charges as lines.

Rooms as products
Each Beds24 room with its units, guests and the Odoo product used on order lines.

Room calendar
Price, units available, minimum and maximum stay and restrictions as Beds24 holds them.

Send rates and availability
Pick rooms and dates, tick what to change: price, minimum stay, units available, or a restriction such as closed or no check-in. Odoo reads the calendar back afterwards.

Booking calendar
Who sleeps where this month, coloured by room.

API log
Every call with its status, duration and the Beds24 credits it used. Tokens are never logged.

How it works
| 1 | Create an invite code in Beds24 under Settings, Marketplace, API, with the scopes you need. |
| 2 | Connect the account Beds24, Configuration, Accounts: paste the code and press Connect. |
| 3 | Check the rooms each room has an Odoo product; untick properties you do not want. |
| 4 | Import bookings press Import Bookings, or turn on the 30-minute schedule. |
| 5 | Add the webhooks paste the two addresses into Beds24 so changes arrive within a minute. |
Settings
| Access | Invite code (read and write) or long life token (read only) |
| Create Sales Orders | One order per booking, lines from the Beds24 charges or the nights |
| Confirm Orders of Confirmed Bookings | Requests and inquiries stay quotations |
| Tax on Imported Lines | Empty keeps the Beds24 amounts as they are |
| Pricelist and Sales Team | Used on the new orders |
| First Import | Arrivals from this many days ago; later imports read only what changed |
| Calendar Days to Read | How far ahead Read Calendar looks |
| Scheduled Sync | Every 30 minutes, as the user you choose |
| Webhook addresses | Booking webhook (version 2) and inventory webhook, each with a secret |
FAQ
Do I need a Beds24 API key?
No. Beds24 API V2 works with an invite code you create in your own account. Odoo exchanges it once for a refresh token.
Can Odoo cancel a booking in Beds24?
Only when an administrator presses Cancel at Beds24 and confirms. Nothing is cancelled at Beds24 automatically.
What happens to a cancelled booking that I already invoiced?
The order stays as it is and the booking shows a warning, so you can refund or keep a cancellation fee yourself.
Does it use many Beds24 credits?
Imports ask only for bookings changed since the last run, and webhooks fetch one booking at a time. The account form shows the credits left.
Are the webhooks safe?
Beds24 does not sign webhooks, so each address carries a long random secret. Odoo only takes the booking ID from the call and reads the booking again from Beds24.
Can I use a long life token?
Yes, but it is read only: bookings and calendars come in, nothing goes back.
Compatibility and support
Odoo 19 Community and Enterprise. Needs Sales. Beds24 API V2 with an invite code or a long life token from your own Beds24 account.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $25Odoo 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