Skip to content

SAP Business One

Connect fyrn to SAP Business One to automate ERP workflows — manage business partners, create sales orders, and generate invoices through the Service Layer REST API.

PropertyValue
Typehttp
Authenticationbasic
CategoryFinance & Accounting
FieldTypeRequiredDescription
serverstringYesSAP B1 server hostname or IP
portnumberNoService Layer port (default: 50000)
company_dbstringYesCompany database name
usernamestringYesSAP B1 username
passwordstringYesSAP B1 password
ssl_verifybooleanNoVerify SSL certificate (default: true)

Authenticate with SAP Business One Service Layer and obtain a session cookie.

EndpointPOST /Login
MethodPOST

List business partners (customers, suppliers, leads) from SAP Business One.

EndpointGET /BusinessPartners
MethodGET

Retrieve a single business partner by CardCode.

EndpointGET /BusinessPartners('{CardCode}')
MethodGET

Create a new customer, supplier, or lead in SAP Business One.

EndpointPOST /BusinessPartners
MethodPOST

List sales orders from SAP Business One with OData filtering.

EndpointGET /Orders
MethodGET

Create a new sales order in SAP Business One with line items.

EndpointPOST /Orders
MethodPOST

List A/R invoices from SAP Business One.

EndpointGET /Invoices
MethodGET

Create a new A/R invoice in SAP Business One.

EndpointPOST /Invoices
MethodPOST
name: shopify-to-sap-b1
description: Sync Shopify orders into SAP Business One as sales orders
trigger:
type: webhook
event: shopify.order.created
steps:
- id: create-partner
connector: sap-business-one
action: create-business-partner
params:
CardCode: "C-{{ trigger.body.customer.id }}"
CardName: "{{ trigger.body.customer.first_name }} {{ trigger.body.customer.last_name }}"
CardType: "cCustomer"
EmailAddress: "{{ trigger.body.customer.email }}"
- id: create-order
connector: sap-business-one
action: create-order
params:
CardCode: "{{ steps.create-partner.result.CardCode }}"
DocDate: "{{ trigger.body.created_at | date: '%Y-%m-%d' }}"
DocumentLines: "{{ trigger.body.line_items | map: 'sku', 'quantity', 'price' }}"