SAP Business One Purchasing
SAP Business One is an enterprise resource planning (ERP) solution designed for small and midsize businesses by SAP SE. The ballerinax/sap.businessone.purchasing connector exposes the purchasing (A/P) documents of SAP Business One — purchase requests, quotations, orders, goods receipts, returns, invoices, and landed costs — through the SAP Business One Service Layer (OData) API. Authentication uses the Service Layer session protocol, with automatic re-login when a session expires.
Key Features
- Create, read, update, close, and cancel purchasing documents across the full A/P cycle
- Raise purchase requests and purchase quotations
- Manage purchase orders and goods receipt POs (purchase delivery notes)
- Process A/P invoices, credit notes, and down payments
- Handle purchase returns, goods return requests, and correction invoices
- Manage landed costs and landed cost codes for import postings
- Work with purchase tax invoices
Actions
The connector exposes a single client for all purchasing (A/P) operations against the SAP Business One Service Layer.
| Client | Actions |
|---|---|
Client | Purchase requests & quotations; purchase orders & delivery notes; A/P invoices, credit notes & down payments; purchase returns & goods return requests; correction purchase invoices & reversals; landed costs & landed cost codes; purchase tax invoices |
See the Action Reference for the full list of operations, parameters, and sample code for each client.
Documentation
-
Setup Guide: How to prepare an SAP Business One installation with the Service Layer component enabled and obtain the connection details required by the connector.
-
Action Reference: Full reference for all clients — operations, parameters, return types, and sample code.
-
Example: Learn how to build and configure an integration using the SAP Business One Purchasing connector, including connection setup, operation configuration, and execution flow.
How to contribute
As an open source project, WSO2 welcomes contributions from the community.
To contribute to the code for this connector, please create a pull request in the following repository.
Check the issue tracker for open issues that interest you. We look forward to receiving your contributions.