How to integrate WhatsApp with SAP Business One: options and steps
Connecting WhatsApp to SAP Business One means joining two APIs: Meta's Cloud API and SAP's Service Layer, with a middle layer between them. What you need on each side, the three ways to integrate them, the flow step by step, what Meta charges and the mistakes to avoid.
To integrate WhatsApp with SAP Business One you connect two APIs: the WhatsApp Business Platform Cloud API, which sends and receives the messages, and the SAP Business One Service Layer, which reads and creates the ERP documents. Between them sits a middle layer that receives Meta's webhooks, applies your business rules and calls SAP. You can buy that layer as a connector, get it inside a messaging platform, or have it built for you.
What do you need on each side to connect WhatsApp and SAP?
On the WhatsApp side
A business portfolio in Meta, an associated WhatsApp account and a phone number, real or virtual. With those you use the Cloud API to send and receive messages, and webhooks to learn about every incoming message and every status change.
On the SAP Business One side
The Service Layer: the application server that gives web access to the ERP through a REST API on OData. SAP Business One runs on SAP HANA or Microsoft SQL, on premise or in the cloud, and the integration signs in with an SAP user.
In the middle
A service that receives the webhooks, validates and transforms the data, keeps a work queue and logs every operation. This is where the rules live: which message creates an order, who approves it and what the customer is told.

What are the options for integrating them?
Packaged connector
A ready-made add-on for SAP Business One. It fits when your flows are standard, such as invoice notices or order status, and you accept what the product ships with. Check which version and which database it supports.
Messaging platform with integration
A shared inbox for several agents that also reads from or writes to SAP through the API. It fits when people handle the conversations and the ERP supplies the context: orders, deliveries, account status.
Custom integration
Your own service on top of the Cloud API and the Service Layer. It fits when the process is specific to you, with approvals or company-specific data, or when volume calls for fine control over queues and errors.
All three options use the same two APIs. What changes is who maintains the middle layer and how far you can adapt it. We recommend deciding with one question: does the flow you need already exist in a product, the way you run it today? If yes, buy it. If you have to bend the process to make it fit, build it.
How the flow works, step by step
- Step 1
Meta delivers the message
The customer writes and Meta sends a webhook to the integration's endpoint. The payload can be up to 3 MB.
- Step 2
The customer is identified
The integration looks the number up among the business partners in SAP. Store phone numbers in international format so the lookup does not fail.
- Step 3
A Service Layer session is opened
POST /b1s/v2/Login with CompanyDB, UserName and Password. The response carries a SessionId that goes with the calls that follow.
- Step 4
The document is read or created
GET /b1s/v2/Orders(1229) reads order 1229; POST /b1s/v2/Orders creates a new one. SAP answers with code 201 once the document is created.
- Step 5
The reply goes out on WhatsApp
Inside the 24-hour window you answer with a free-form message. Outside it you can only send an approved template.
- Step 6
The result is logged
Meta reports the status of every outgoing message by webhook. Store that status next to the SAP document so you can audit it.
How much does it cost to integrate WhatsApp with SAP Business One?
Meta, WhatsApp Business Platform documentation; pricing page updated September 30, 2026
The cost has three parts:
- Meta. It has charged per message since July 1, 2025, by category: marketing, utility, authentication or service. Service messages, meaning replies without a template, get 1,000 free per month per number; since October 1, 2026 they are charged from the 1,001st. The details are in our WhatsApp Business API pricing guide.
- SAP. Confirm with your SAP partner which license the integration user needs.
- The middle layer. A subscription if you buy a connector or a platform; a project plus its maintenance if you build it.
Ask for the proposal to include monitoring and support, not just development.
Which mistakes should you avoid?
- Treating the session as permanent. Service Layer sessions expire. When SAP answers "Invalid session or session already timeout", the integration has to log in again and repeat the call.
- Sending notices without a template. An invoice or a delivery notice usually goes out after the 24-hour window and needs an approved template. Review can take up to 24 hours, so create them before go-live.
- Neglecting template quality. Meta can pause a template because of recurring negative feedback or low read rates.
- Running without logs. Without a record of every webhook and every call to SAP, there is no way to know why an order was not created.
How we handle it at Hitos
At Hitos we design, build and maintain API integrations with SAP Business One through the Service Layer, with WhatsApp Business API and webhooks, and with custom connectors that stay monitored. When you also need to serve customers, we use Hitos Nexus: several agents on one WhatsApp number, a shared inbox with CRM, catalog, orders and payments, and AI that answers the first message and routes it with context. If the process does not fit a product, we solve it as custom software.
We work from Bolingbrook, Illinois, on site across the Chicago area and remotely in the rest of the United States and Latin America, in English and Spanish.
Sources (checked December 5, 2026)
- Meta, Pricing on the WhatsApp Business Platform, updated September 30, 2026.
- Meta, About the WhatsApp Business Platform.
- Meta, Webhooks and Templates.
- SAP Learning, course "Leveraging the SAP Business One Service Layer": architecture, logging in and out and basic operations.
