← All integrations
Shopify → SAP Business One

Shopify SAP Business One integration

Last updated:

In short

This integration posts each paid Shopify order into SAP Business One as a Sales Order or A/R Invoice against a matched Business Partner. SAP item master and warehouse stock sync back to Shopify to prevent overselling, deliveries become Shopify fulfillments with tracking, and refunds post as A/R Credit Memos through the Service Layer.

Closing the loop between storefront and B1 warehouse

Shopify runs the storefront: the catalogue, the checkout, the paid order, the refund, the customer who expects a tracking number. SAP Business One runs the business behind it: the item master, the warehouse stock, the Business Partner, the Sales Order that becomes a Delivery and an A/R Invoice, the numbers your finance team closes on.

Between the two sits a gap that someone usually fills by hand - copying orders into B1 every morning, checking stock in two places, emailing tracking numbers, keying credit memos for returns. The integration works in both directions: orders and refunds flow into B1 as the right documents against the right Business Partner, while item master, pricing, stock, and fulfillment status flow back out to Shopify. Nobody re-types an order, and the storefront stops selling stock the warehouse cannot ship.

Documents, Business Partners and stock in each direction

Shopify object / eventBecomes in SAP Business OneNotes
Paid orderSales Order or A/R InvoiceDocument flow, numbering series, and payment posting agreed to your process
Customer (B2B / invoice)Business Partner (CardCode)Matched by email or VAT ID; anonymous B2C routed to a generic webshop BP
Line items (SKU)Document rows against Item masterShopify SKU matched to B1 ItemCode; unmatched SKUs quarantined, not guessed
Shipping & discountsFreight and discount rowsShipping mapped to a freight/expense line, not folded into an item
Tax linesSAP tax code per rowDomestic 19% / 7%, EU OSS, reverse-charge, third-country export
Refund / returnA/R Credit MemoReverses the original rows and tax codes, dated to the refund
- (reverse) Item master & price listShopify product / variant / priceB1 stays master for pricing where you want it
- (reverse) Warehouse stockShopify inventory levels per locationPer-warehouse quantities, optional safety-stock buffer
- (reverse) Delivery / goods issueShopify fulfillment + trackingMarks the order fulfilled and pushes the tracking number

The Shopify order id is stored on the B1 document (typically a user-defined field) so the link survives and the same order is never posted twice.

ItemCodes, CardCodes and Service Layer sessions

A generic connector app or a hand-written Service Layer script gets a demo order through and then lets the hard cases leak into your ERP:

Posting through the Service Layer, week after week

Shopify order, refund, and customer events arrive by webhook, with scheduled reconciliation as a safety net. They are validated, matched against B1 master data, and written through the Service Layer as the agreed documents. Stock, pricing, and fulfillment status flow back on their own cycles.

Before any document is created, the pipeline looks up the Shopify order id in the B1 user-defined field. If a Sales Order or Credit Memo already carries it, the retry moves on to the next missing step instead, so a dropped session halfway through an order never leaves a second Business Partner or a duplicate document behind. Order and customer data is handled only on AWS infrastructure in the EU, which keeps the personal data in your web orders inside the EU.

We carry monitoring, alerting and incident response, plus the watch on Shopify API-version deprecations and B1 upgrade changes, with an SLA attached. Nobody in your team has to babysit the sync.

Orders per week where re-keying into B1 stops making sense

If you process a handful of web orders a week and rekey them into B1 in ten minutes, a manual process works, and you will hear that from us too. Automation earns back its cost when order volume makes manual entry a daily drain on someone’s time, when overselling or stale pricing is costing you money, when B2B invoicing and returns make document handling error-prone, or when you run multiple warehouses or sales channels that all have to agree with the same B1 stock.

Frequently asked questions

Do you connect through the Service Layer or the DI-API?
By default we use the SAP Business One Service Layer, its OData v4 interface, because it is the supported path for on-premise and B1 Cloud landscapes and handles concurrent sessions cleanly. Where a landscape only exposes the DI-API, or a specific document action is unavailable over the Service Layer, we bridge through it. We agree the access path and a dedicated service user with your B1 partner or admin up front.
Will every Shopify shopper become a Business Partner in B1?
Only if you want that. Uncontrolled Business Partner creation is the fastest way to pollute a B1 database. We usually match returning buyers by email or VAT ID to an existing CardCode, route anonymous B2C checkouts onto a single generic webshop Business Partner, and create a dedicated BP only for B2B or invoice customers. The matching and dedup rules are agreed once and enforced by the pipeline.
Which document does a Shopify order become - a Sales Order or an A/R Invoice?
It depends on your fulfillment and accounting process. Stores that pick and ship from B1 usually want a Sales Order, then a Delivery and A/R Invoice as the goods leave. Stores that treat a paid web order as final often post straight to an A/R Invoice with an Incoming Payment. We map the correct document flow, numbering series, and posting logic to how your finance and warehouse teams work.
How do you keep stock in sync without overselling?
SAP Business One stays the source of truth for inventory. We push available quantities per item and warehouse to the matching Shopify inventory levels on a short cycle and on stock-changing events, so the storefront reflects what B1 can ship. Multi-warehouse setups are mapped to Shopify locations, and we can hold safety-stock buffers so a race between two orders does not push you negative.
What happens after a B1 upgrade or a Shopify API deprecation?
We deal with it before it reaches your order desk. The pipeline runs on EU-hosted infrastructure that we monitor, so a Service Layer behaviour change after a B1 patch, or a retired Shopify API version, triggers our alerts and gets fixed under the contract. You have an SLA and one responsible contact rather than a script on someone's laptop.
// scoping request

Need this integration built and permanently operated? Tell us which systems connect and what data has to move. Fixed-price scoping quote within 48 hours.

We reply within one working day. No newsletter, no sales sequence.