Dataflöden att planera i er Litium-integration mot affärssystemet
Peter Nilsson
En kund loggar in i er kundportal en tisdagsmorgon och lägger en order till ett avtalat pris. Två dagar senare kommer fakturan från affärssystemet med ett högre belopp. Ekonomi skickar en kreditfaktura, sälj ringer kunden och ber om ursäkt och IT går igenom loggarna för att se vilket importjobb som kördes senast.
Sådana incidenter ser ut som tekniska fel när de först dyker upp. Ett schemalagt jobb fallerade, en kö blev full, ett fält mappades fel. När ni spårar dem bakåt är grundorsaken ofta ett styrningsbeslut som aldrig fattades: båda systemen hade ett värde för samma fält, och ingen hade skrivit ner vilket som skulle gälla.
Att planera en ERP-integration med Litium innebär att behandla varje dataobjekt som ett beslut om ägande och aktualitet. Pris, lagersaldo, artikelgrunddata, kundposter och orderstatus behöver var och en ett källsystem, ett krav på aktualitet och en konfliktregel. Fatta besluten före utvecklingen, eftersom koden bara kan upprätthålla de regler den får.
Vad flyttas mellan Litium och affärssystemet, och hur ofta?
Litium sköter webbutiken, kundinloggningen, självserviceportalen och ordermottagningen. Litium PIM håller det berikade produktinnehållet, som säljtexter, tekniska attribut, bilder och dokument. Affärssystemet är fortsatt källsystem för artikelnummer, grunddata, prislogik, lagersaldo och fakturor. PIM står för produktinformationshantering och ger produktteamen en plats där de kan förbereda och publicera innehåll utan att ändra affärssystemets kommersiella poster.
Schemalagda batcher passar data som ändras i planerade omgångar. Direktanrop eller uppdateringar vid ändring passar tidskritiska flöden, men om varje attribut skickas via direktanrop kan webbutiken bli långsam och återhämtningen efter ett avbrott i affärssystemet svårare. De åtta flödena nedan är exempel från avgränsningsarbete. Kom överens om era egna servicenivåer för vart och ett.
Agree each cadence during scoping. Ask who creates and approves a value, who needs it in the portal and how late it can arrive before it causes a business problem. A catalogue update can usually wait longer than an order acknowledgement or a stock change on a fast-moving item.
Who owns each data object when Litium and the ERP disagree?
A campaign price goes live in Litium for two weeks while the ERP still holds the customer's annual price list. Checkout shows the promotion, but the ERP later invoices the standard rate. A fast connection moves both figures; it cannot decide which was commercially valid. Defining how to divide responsibility between e-commerce and the business system before launch closes that gap.

The Litium ERP integration overview lists synchronised objects including customers, account structures, price lists, discounts, inventory, orders, delivery status and invoices. Technical coverage does not settle ownership. A field-level ownership matrix names the authoritative system for each attribute; a conflict rule specifies what happens when another system holds a different value.
| Conflict | Authoritative source | Rule to write down |
|---|---|---|
| Campaign price in Litium against ERP price list | Campaign price in Litium within its validity dates, ERP price otherwise | Who creates campaigns and when they expire |
| ERP stock balance against available stock | ERP for on-hand stock, available stock calculated after reservations | Which reservations and returns count in the calculation |
| Credit terms edited in a customer portal | ERP | Portal edits go to the ERP as approval requests for finance review |
| Product name in PIM against description in the ERP | PIM for marketing text, ERP for article base data | Field-level matrix agreed before build |
| Order status in Litium against status in the ERP | ERP after posting | Litium shows the last received status with its timestamp |
Before go-live, keep the ownership matrix, temporary override rules and an operational view of stale or rejected records together. Log each override with the field, old and new values, date and approver. That record helps staff resolve a disputed price or credit hold without guessing which change took precedence.
Live updates do not eliminate disagreement. Warehouse reservations, returns and regional allocation can make an accurate on-hand balance different from the quantity available to sell. Define the calculation as carefully as the update frequency.
How does an order travel from checkout to invoice without a duplicate?
Order handling turns integration gaps into manual work. Customer-specific prices, negotiated discounts, product assortments and permissions need to carry from checkout into the ERP as confirmed by the buyer. The diagram shows four stages: checkout and order capture in Litium, posting to the ERP, acknowledgement and status updates, and invoicing.

First, the customer confirms the basket in Litium after the agreed price and stock checks. Litium stores the order in a durable queue, which retains a message until it can be processed, and assigns a unique external order identifier. The connector validates the message and posts the sales order to the ERP using that identifier. The ERP returns its order number and status; Litium records the acknowledgement and its timestamp. After fulfilment, the ERP posts the invoice and sends its status to the portal.
The identifier matters when a network timeout hides a successful ERP posting. A retry uses the same identifier so the ERP can recognise the existing order rather than create another one. If the ERP rejects an unknown article or blocked credit account, route the exact error to a named person for correction and replay. E-commerce order management also needs to preserve the line prices and discounts agreed at checkout.
Public-sector invoicing needs particular attention. According to the European Commission guide to e-invoicing in Sweden, suppliers to the public sector must send e-invoices for all contracts signed after 1 April 2019. Contracting authorities must be able to receive and process e-invoices that follow the European standard EN 16931, both above and below EU procurement thresholds, using Peppol BIS Billing 3. SFTI recommends Peppol for the Swedish public sector and its suppliers. A PDF attached to an email does not meet the structured electronic invoicing requirement, so pass customer references, tax details and order lines to the ERP or invoicing service.
EDI, dealer-portal and manually entered orders can use the same durable queue, with validation appropriate to each channel before posting. They still need consistent duplicate protection, rejection handling and status tracking.
The ERP systems we connect to Litium
Check the ERP version before designing its connector. Each platform has its own data model, supported interfaces, authentication and posting rules. As a Litium Premium Solution Partner, we build solutions from the Function Library: developed and tested functions and integrations at three levels, standard, adaptation and customer-unique, with scope and price defined before development starts.
We integrate Litium with Microsoft Dynamics 365 Business Central, Microsoft Dynamics 365 Finance & Operations, Monitor, Jeeves, Pyramid and Pengvin. Business Central is often well suited to a fixed-price integration. The other systems start with an analysis of the installation, because each one is set up differently. The guide to Microsoft Business Central integration describes its standard commercial flows.
Confirm the exact production version, its supported API, database view or file interface, and whether the vendor will support it throughout the planned operating period. Check what changes during upgrades, particularly endpoints and authentication. These findings determine feasible update frequencies and error handling as well as connector scope. If the business runs another ERP, complete an interface analysis before setting a fixed price or delivery schedule.
What conditions decide your integration timeline?
An incomplete article number can stop the first import. An unsettled price rule can leave a finished connector waiting for approval. Resolve data quality and ownership questions early, then use these checks to scope acceptance testing.
| Factor | Why it changes the project | Check before you start |
|---|---|---|
| Item master quality in the ERP | Duplicate or incomplete article numbers stop the first import | Count duplicates and missing units in a sample |
| Number of price lists and negotiated prices | Each price rule needs its own test case | Count price lists and customers with negotiated prices |
| Stock locations and reservation logic | Determines how available stock is calculated | Document locations, reservation rules and the authoritative stock value |
| ERP interface type (API, database view or file) | Sets achievable freshness and error handling | Confirm the supported interface, version and update behaviour |
| Order channels (web, EDI, dealer portal, manual) | Each channel needs validation and a status path | List channels and their order-acceptance rules |
| Regulated invoicing, such as public-sector buyers | Requires structured invoice data | Confirm the invoice channel, format and required fields |
| User adoption | Portal users need time to learn the flow | Agree a pilot group and training plan before launch |
Test order acceptance by channel. Web and dealer-portal orders need agreed price and stock checks, EDI needs structured-data validation and manual orders need the same commercial rules. Statistics Sweden reports that in 2025, 31 per cent of Swedish enterprises with at least 10 employees sold through web sales and 11 per cent through EDI, while EDI accounted for 15.5 per cent of total turnover against 10.8 per cent for web sales.
Decide how the storefront behaves during an ERP outage. Versioned APIs or an integration layer with durable queues can separate the two systems' availability. Specify which catalogue and price values Litium may retain, whether orders may wait and how retries restart. Set distinct acceptance criteria for catalogue updates, stock freshness and order acknowledgement; stale stock has a different consequence from delayed product enrichment. Record enough change history to explain which value a buyer saw and when.
Include a pilot and portal-user training in the schedule. A technical go-live is the start of adoption, not proof that the new order flow works for everyone.
What does this approach ask of you, and when is a simpler setup enough?
Assign an ERP owner to sign off field ownership, a commerce owner to decide campaign and portal rules and a person accountable for data quality after launch. Otherwise, the conflict rules you wrote during the project tend to erode as prices, teams and processes change. When the storefront and ERP disagree, those owners need a way to decide which value stands.
Budget for monitoring, bug fixing, version follow-up and compatibility across upgrades. Through Glanser Care, we take functional and compatibility responsibility for the solution as a whole when Litium or the ERP releases a new version, without issuing a new upgrade quote.
A full integration is not always warranted. A small catalogue with infrequent price changes may need only a scheduled file import. If an older ERP has no supported interface or upgrade plan, settle the ERP roadmap first. If the product master is unstable, finish that data or PIM work before connecting live transactions. A portal publishing static product sheets may not need an ERP connection at all; a content site can launch first and gain transactional flows later.
If your organisation falls under Sweden's Cybersecurity Act (2025:1506), which implements the NIS2 Directive and entered into force on 15 January 2026, integration monitoring also supports incident reporting. Under Article 23 of the NIS2 Directive, entities in scope must give an early warning within 24 hours of becoming aware of a significant incident, followed by an incident notification within 72 hours.
What should you ask a Litium integration supplier?
Ask which system owns each field and whether the supplier provides a written ownership matrix before development. A supplier who arrives with a ready ownership matrix has usually dealt with pricing and stock conflicts before. Push for specific rules: who owns standard and campaign prices, and what happens when both change on the same day? Vague promises of automatic two-way synchronisation leave your staff to resolve those questions during testing.
Next, ask what happens to orders and stock if the ERP is unavailable for a full day, and who receives rejected-order alerts. Look for a durable queue, external order identifiers and a named escalation contact. Have the supplier walk through a rejected order, from error to correction and confirmed ERP posting.
Finally, ask who handles compatibility when Litium or the ERP is upgraded and whether an upgrade triggers a new quote. Put the answers in writing so you can compare responsibility after go-live as well as initial delivery scope.
Frequently asked questions about Litium ERP integration
Does Litium have a ready connector for every ERP?
No. Each ERP exposes its own data model, endpoints and authentication rules. We have integrated Litium with Business Central, Finance & Operations, Monitor, Jeeves, Pyramid and Pengvin, and Business Central is often well suited to a fixed price. Other installations need analysis before scope and price can be fixed.
Which data object should a Litium ERP integration start with?
Start with products and prices so article numbers and price rules are reliable at checkout. Connect orders next and test retries and rejection alerts. Then add stock updates and invoice status, allowing time to test how each affects the buying journey.
How do customer-specific prices and agreements stay in step?
The ERP owns standard price lists and negotiated customer agreements, sending customer-specific prices to Litium on a schedule or on change. Temporary campaign prices take precedence in Litium within agreed validity dates; the ERP price applies after expiry.
How long does a Litium ERP integration take to deliver?
A dependable estimate follows an ERP inventory. Item master quality, the number of price lists, stock reservation rules and the available interface affect the timeline as much as connector development.
Start your integration plan with the ownership decisions. Our whitepaper on ERP-first integration strategy explains how to decide which system owns each data object before the build begins.
On our ERP and integrations page you can see how we work with each ERP and how we scope a data flow, its owner and its price before development starts.

Om Peter Nilsson
Peter Nilsson skriver om integrationer och produktinformation, med fokus på hur affärssystem, PIM och webb kan dela samma data utan dubbelarbete.

Er kundportal i Business Central behöver tydliga dataregler
En kundportal ovanpå Business Central får köparnas förtroende först när det är tydligt vilket system som äger varje post. Så delar ni ansvaret för priser, lager, inloggningar och ordrar och inför portalen stegvis.
Peter Nilsson
Byt Litium-partner utan att tappa era ERP-integrationer
Plattformen och produktdatan ligger kvar när ni byter Litium-partner. Det som måste flyttas är kunskapen om hur varje integration beter sig, och den här guiden visar hur ni lämnar över den steg för steg.
Peter Nilsson
Så väljer ni Litium-partner utan att betala för mycket
Offerterna ser rimliga ut tills ni läser antagandena. Så jämför ni Litium-partner utifrån ansvar för integration, produktdata och förvaltning, och undviker kostnader som dyker upp efter lansering.
Kenneth Lyngshede