SAP Business One API: what you can do and how to use it with AI agents
SAP Business One exposes its data and documents through the Service Layer, a REST API based on OData, in addition to the older DI API. Mid-size companies and SAP partners who connect e-commerce, CRM and logistics to the ERP use it. Access is through a Business One user and a session opened on the Service Layer of the company's installation.
What the SAP Business One API offers
Business partners
Customers, suppliers and contacts.
Items and stock
Item records, warehouses and balances.
Sales documents
Quotations, orders, deliveries and invoices.
Purchase documents
Purchase orders and goods receipts.
Finance
Journal entries, incoming and outgoing payments.
Queries
OData queries and saved queries.
How to access the SAP Business One API
- With your company’s credentialsLogin to the Service Layer with the company database, and a Business One username and password, which opens a session. Permissions follow that user's authorizations in SAP.
- The Service Layer runs on the company's own infrastructure, so expose it securely.
- Use a dedicated user with minimal authorizations.
- Tax and financial documents should go through approval.
What an iTeam agent does with the SAP Business One API
B2B customer order in the ERP
The agent checks an order received by email and posts it as a draft in SAP for sales to approve.
Availability in the conversation
A salesperson asks in Teams whether an item is in stock, and the agent checks the warehouses and replies.
Supplier chasing payment
The agent looks up the payable in finance and tells the supplier the expected payment date.
Credit limit
Before releasing an order, the agent checks the customer's open balance and limit and alerts finance.
From the credential to the agent at work, with approval
Create an integration user in SAP
The SAP partner creates the user with minimal authorizations and confirms access to the Service Layer.
Store it in the iTeam vault
User, database and the Service Layer address stay in the vault, with network access approved by IT.
Test with approval
Documents start as drafts and are posted only after human approval.
Ready-made AI teams that use SAP Business One
Questions about the SAP Business One API
Is the SAP Business One API free?
The Service Layer is part of SAP Business One. The use of users and licenses follows the contract with your SAP partner.
Do I need to code to use the SAP Business One API with iTeam?
Not necessarily. The deployment team sets it up with your SAP partner, and iTeam uses the Service Layer documentation.
Service Layer or DI API?
The Service Layer is REST and better suited to modern integrations. The DI API is older and runs locally.