Skip to content
Naditu
Get started

Connecting Nebim V3 and Nebim ERA data to AI

How to connect Nebim V3, Nebim ERA, and Nebim Uretim to AI agents: Integrator REST traps, OrderLineID joins, store stock, and safe write gates.

Naditu4 min read

Apparel, footwear, optics, and omnichannel retail groups across Turkiye and international store networks run store operations, merchandising, and manufacturing on Nebim V3, Nebim Uretim, and the newer cloud-based Nebim ERA platform. Teams planning a Nebim V3 and Nebim ERA AI rollout face an architectural split right away. Nebim ERA introduces built-in catalog and segmentation assistants for unified retail, while core financial, wholesale, warehouse, and factory records continue to live inside Nebim V3 on Microsoft SQL Server. Giving Claude, ChatGPT, or internal operations agents accurate visibility across both worlds requires combining read-only SQL ontology views with disciplined Nebim V3 Integrator write gates.

How Nebim V3 and Nebim ERA split retail and back-office responsibilities

In Nebim's hybrid retail model, Nebim ERA runs on AWS around a unified single-basket, single-customer, and single-inventory design for physical stores and e-commerce, whereas Nebim V3 remains the legally compliant ERP system of record for accounting, purchasing, cost centers, and GİB e-documents (e-Fatura, e-Arsiv, e-Irsaliye, e-Defter, and e-Envanter Defteri). Starting with release 26.4.1, V3 ships dedicated transfer programs that send products, barcodes, prices, and expense cards to ERA while pulling back omnichannel sales, returns, and customer profiles.

Just like the industrial ERP suites we examined in Connecting Logo Tiger and Netsis ERP to AI safely, neither Nebim V3 nor Nebim Uretim ships a native Model Context Protocol (MCP) server for cross-system operational queries today. And on the ERA side, external PaaS webhooks, WebSockets, and marketplace modules roll out in phases across the product roadmap. A company-wide AI assistant therefore has to bridge V3 SQL databases, the IIS-hosted Nebim V3 Integrator API, and store inventory feeds under one explicit contract.

Four Nebim V3 data and API traps that break ungrounded AI agents

Pointing a raw Text-to-SQL prompt or a naive REST wrapper directly at a Nebim V3 installation triggers silent failures across four documented areas:

  1. Variant matrices and the OrderLineID fulfillment chain: Nebim V3 separates master definitions in NebimV3Master from company databases and NebimV3EventLog. Every apparel or footwear SKU expands across color and dimension keys such as ItemDim1Code (size) and ItemDim2Code (length or drop). An omnichannel order progresses from order line to reservation, dispatch order, shipment, and invoice along OrderLineID, while release 24.10.1 splits negative-stock validation across movement-specific sp_ValidateItemInventory procedures. Querying raw stock tables without subtracting active store and e-commerce reservations overstates sellable inventory.
  2. False-positive Connect replies in Nebim V3 Integrator: external programs talk to IntegratorService over IIS using either stateful session paths (/(S(<session-id>))/IntegratorService/POST) or stateless Token headers. Calling IntegratorService/Connect (ModelType = 1) can return Connection Created Successfully with HTTP 200 even when login credentials are invalid. Every agent connector must call GetUserInfo immediately after connecting to verify CompanyCode, OfficeCode, StoreCode, and WarehouseCode, and must reconnect cleanly when idle IIS sessions drop.
  3. Ten documented ModelTypes versus 235 runtime enum models: official Integrator PDFs describe 10 base models (1 through 8 for login, customers, products, orders, and invoices, plus 32 for RunQuery and 33 for RunProc). Live installations expose enum values from 0 through 234 covering store transfers (59), wholesale dispatch orders (84), warehouse inner transfers (109), proposals, and installment payments. Posting an unverified payload or hitting an unlicensed movement triggers runtime blocks introduced in 18.4.1.
  4. Platform security certificates, .NET 9 upgrades, and KVKK encryption: from release 19.10.1 onward, SQL Server access requires the NebimPassport.pass security certificate. Release 24.10.1 encrypts retail personal data and enforces KVKK and IYS consent codes (expanded to dual SMS codes in 25.10.1), while release 25.10.1 migrates IIS web applications to .NET 9 and sunsets legacy SOVOS (FIT) e-document adapters in favor of active integrators such as eFinans, Edoksis, Dogan e-Donusum, and Uni-Dox.
Retail personal data, store-level sales, and wholesale margins in Nebim V3 require role-scoped masking and KVKK consent boundaries before any prompt runs.

Why analytical reads belong on SQL views while writes belong on IntegratorService

Using IntegratorService/RunQuery for every ad-hoc analytical question forces merchandise planners to pre-register every query inside V3 and consumes concurrent Office User or Store User seats from the company's license pool. Conversely, writing orders, store transfers, or invoices directly into V3 SQL tables bypasses campaign engines, Yeni Nesil OKC fiscal slip matching, and mandatory UBL-TR invoice extensions such as BillingReference on purchase returns.

Answer cross-store sell-through and manufacturing WIP questions over read-only SQL views, and dispatch approved mutations exclusively through Nebim V3 Integrator.

A practical architecture for Nebim V3, Nebim Uretim, and Nebim ERA

Retailers and manufacturers running Nebim can deploy trustworthy AI assistants in weeks without migrating off their existing V3 databases:

  • Model color-size variants and available-to-promise stock once: define sellable inventory, store replenishment, and Nebim Uretim work-order progress inside a zero-copy enterprise business ontology so every assistant uses identical ItemDim and OrderLineID math.
  • Enforce store, office, and KVKK masking at query time: strip encrypted personal fields and restrict branch managers to their authorized OfficeCode and StoreCode scopes automatically.
  • Gate every Integrator write behind human sign-off: validate session state via GetUserInfo, check required UBL-TR fields deterministically, present a clear diff to the planner, and post approved cards or slips through IntegratorService/POST. For multi-company groups that also run commercial accounting or e-invoicing on Uyumsoft, Mikro, or DIA, see Connecting Uyumsoft, Mikro, and DIA ERP to AI.

Sources

  1. Nebim V3 ERP Integration with External Systems, Nebim
  2. Nebim V3 Integrator Community Reference (ModelType 0-234), Open-source documentation on GitHub
  3. GIB e-Fatura, e-Arsiv and e-Irsaliye Technical Guides, Turkish Revenue Administration (GIB)

More on ERP data for AI: How to get ERP, CRM and plant data into a shape an AI assistant can use: undeclared links, status codes, and data that lives in several systems.

Keep reading

Follow what we ship.

New connectors, product updates and what we learn rolling AI out in enterprises, sent to your inbox.

Book a demo

Tell us where to reach you and we will reply with times.