28 apr

Xform / XSLT in B1if


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

in the integration Framework for SAP Business One (B1ifare Xform and XSLT the central tools for data transformations. XSLTExtensible Stylesheet Language Transformations) is the standard by which XML messages are converted into other XML-, JSON- or transferred to text structures. Xform is the B1if's own graphical editor, which constructs XSLT transformations via drag-and-drop between source and target schemas and stores the generated XSLT code.

Context

A typical B1if flow takes an inbound message (e.g. a ZUGFeRD XML order or a Shopware JSON order), transforms it via XSLT into a B1i internal format and further into a SAP Business One DI Import XML or a Service Layer JSONXform allows you to link source and target fields, define conditions (e.g., only provide if a mandatory field is filled), build loops over rows (DocumentLines), and insert constants. The transformation runs as an atom in the scenario and benefits from variables, context data, and the BizStore. Direct XSLT writers often use the Xform editor only for the framework and finalise in the Source editor, because complex XPath expressions, templates, and parameters are difficult to map in the graphical view.

Demarcation

XSLT in B1if is not a substitute for database scripts or SQL queries; it operates on XML structures, not directly on tables. Compared to more modern format converters (e.g., JSONata, Camel Data Format), XSLT is expressive but less readable and more difficult to debug. Xform provides a pragmatic entry point but cannot map the complexity of every conceivable transformation – at a certain point, manual XSLT becomes necessary. For new developments on the BTP side, many partners switch to SAP Integration Suite with Groovy/JavaScript scripts, but retain B1if for scenarios close to the client.


ReAct and RLEF

ReAct and RLEF: How Artificial Intelligence Learns from Real Mistakes — and What Automated Bank Reconciliation in SAP Business One Has to Do with It

This is the fourth instalment in a series on this blog dealing with AI fundamentals in conjunction with SAP Business One...
Service Layer AI as a transactional layer

SAP B1 10.0 FP2608: Service Layer AI as a transactional layer

The SAP Business One Service Layer has previously served predominantly as a passive data provider: applications requested data via OData, each ...
Process Reward Model

Process Reward Models: Why a correct result does not yet prove a correct method

This series continuously examines individual AI basic terms and methods such as the Process Reward Model. The previous episode has ...
Test-Time-Compute-Scaling

Test-Time Compute Scaling: Why a Smaller AI Model Can End Up Winning — and What Supplier Comparison in SAP Business One Has to Do With It

This is a continuation of the series on this blog, which deals with Artificial Intelligence in combination with SAP Business One...
RLHF

RLHF and reward models: AI hype or what the approval process in SAP Business One has to do with it

Key takeaways: The article covers the application of artificial intelligence in the context of SAP Business One and fundamental AI topics. Thanks to ...
AI Webinar

AI – Answers from SAP Business One – without SQL, without IT ticket

Live webinar on 30 July 2026, 14:00–14:30 | Live demo via Microsoft Teams | Duration: 30 minutes „How were the sales...".
Wird geladen …