28 apr

REST API


E-invoicing in Germany: How to implement the obligation with SAP Business One

One REST API (Representational State Transfer) is an interface style where system resources are accessed via HTTPS URLs and using the standard methods GET, POST, PATCH and DELETE read or modified. The exchange usually takes place as JSON, states are not held on the server, and each request contains all the information it needs to be processed.

Context

In the SAP Business One environment, the most important REST API is the Service Layer v2 under /b1s/v2/. It represents the business objects — items, Business Partners, Orders, Invoices, ProductionOrders — are provided as OData-v4 endpoints and responds in JSON. Typical tasks include connecting web shops, synchronisation with third-party systems, Python/Node.js microservices, and building B2B portals. From a developer's perspective, the authentication session-based via the login endpoint with set B1 SESSIONCookie; Requests are paginated to 20 records by default and must be over @odata.nextLink to be forwarded. In addition to the Service Layer, many Versino extensions such as DMS access or the Versino Financial Suite offer their own small REST endpoints for specific use cases.

Demarcation

A REST API differs from the older SOAP-Approach of the DI server with lower overhead, leaner payloads and no use of WSDL contracts. Compared to the UI API is it exclusively data and process-oriented — it does not influence the SAP interface. In the B1 context, REST does not automatically mean „Service Layer": B1if scenarios can also publish REST endpoints, and webshop connectors often offer their own REST routes above the Service Layer.


Humans and AI

SAP KI Vision: The Autonomous Enterprise

Hardly a week goes by without the announcement of more intelligent language models, new co-pilots or more powerful AI agents. Nevertheless, SAP CEO Christian Klein states in...
Crystal Reports for AI

Crystal Reports on AI

Anyone developing their own reports in SAP Business One quickly encounters the same problem: The B1 database schema is extensive, Crystal Reports has...
AI in the company

Why companies are hesitant about AI in ERP

Artificial intelligence in the ERP context raises high expectations, as significant productivity gains, far-reaching automation and more informed decisions are on the cards. Nevertheless ...
Predictive maintenance

Predictive maintenance: how to turn SMEs into smart factories

In today's intelligent world, the ability to solve problems before they even arise is no longer a futuristic scenario, but ...
RPA

RPA in the ERP environment: increasing efficiency through digital process assistants

Many ERP systems run processes on a daily basis that are necessary but do not add value. Employees spend valuable time processing orders ...
Generative AI in ERP

Generative AI in ERP: How LLMs are changing the role of ERP systems

With the advent of generative AI and large language models (LLMs), the role of ERP systems is changing fundamentally. Instead of ...
Wird geladen …