FruxonDocs

SAP Business One

Access business partners, sales orders, invoices, inventory, and accounting data from SAP Business One

The SAP Business One integration connects your agents to SAP's Service Layer API for managing business partners, sales orders, invoices, inventory, and more.

Prerequisites

You need:

  • Service Layer Base URL — The URL of your SAP Business One Service Layer (e.g., https://your-server:50000/b1s/v1).
  • Company Database Name — The SAP Business One company database to connect to.
  • Username and Password — SAP Business One credentials with the required permissions.

Setup

  1. Open your agent in Agent Studio
  2. In the Integrations panel, click Add Integration Config
  3. Select SAP Business One from the integration list
  4. Give the config a display name (e.g., "SAP B1 - Production")
  5. Enter the configuration parameters:
    • Base URL — Your SAP Service Layer URL
    • Company DB — The company database name
  6. For authentication, enter your SAP username and password (Basic Auth)
  7. Save the agent revision

Using in Your Agent

  1. In an Agent Step, attach SAP Business One tools from the tools panel
  2. The agent uses your integration config for all SAP API calls
  3. Tools are referenced as sap_business_one.get_orders, sap_business_one.create_invoice, etc.

Available Tools

Business Partners

ToolDescriptionAction Type
get_business_partnersList business partnersReadOnly
get_business_partner_by_keyGet a specific business partner by codeReadOnly
create_business_partnerCreate a new business partnerIrreversible
update_business_partnerUpdate an existing business partnerReversible

Inventory

ToolDescriptionAction Type
get_itemsList items/inventoryReadOnly
get_item_by_keyGet a specific item by ItemCodeReadOnly
get_stock_availabilityCheck stock availability across warehousesReadOnly

Sales

ToolDescriptionAction Type
get_ordersList sales ordersReadOnly
create_orderCreate a new sales orderIrreversible
get_quotationsList sales quotationsReadOnly
create_quotationCreate a new sales quotationReversible
get_delivery_notesList delivery notesReadOnly

Finance

ToolDescriptionAction Type
get_invoicesList A/R invoicesReadOnly
create_invoiceCreate a new A/R invoiceIrreversible
get_purchase_ordersList purchase ordersReadOnly
create_purchase_orderCreate a new purchase orderIrreversible
get_journal_entriesList journal entriesReadOnly

Activities

ToolDescriptionAction Type
get_activitiesList activities (tasks, meetings, calls, notes)ReadOnly
create_activityCreate a new activityReversible

On this page