Across Turkiye, tens of thousands of commercial businesses, retail groups, and Certified Public Accountant (SMMM and YMM) offices close monthly taxes, payrolls, and Uniform Chart of Accounts (TDHP 100 through 799) ledgers on TURMOB Luca (Luca MMP and Luca Koza), Zirve Yazilim (Zirve Finansman, Ticari, and Nova), ETA (ETA:V.8-SQL), Vega (VegaWin and Arctos), and Orka SQL. Finance leaders building a Luca, Zirve, ETA, and Vega accounting AI workflow encounter a sharp boundary between commercial pre-accounting and statutory general-ledger compliance. Connecting an assistant safely means respecting dynamic firm-period prefixes, database balance triggers, and sealed GIB e-Defter Berat months.
How Turkish commercial sub-ledgers and CPA statutory suites divide the work
Even inside multi-entity groups that run international ERPs like those in Connecting Oracle NetSuite, Odoo 19, and IFS Cloud to AI or warehouse and payroll satellites like those in Connecting Logiwa, FineWMS, and Kolay IK with ERP AI, local subsidiaries and external CPAs rely on specialized Turkish accounting engines:
- Luca MMP versus Luca Koza cloud split: backed by TURMOB and TESMER,
Luca MMPserves CPA statutory general ledgers (Yevmiye MaddesiandMahsup Fisi) via structured batch imports and UBL-TR XML feeds with no open public write API, whereasLuca Kozaprovides commercial SME inventory, AR/AP, and invoicing backed by a contract-gated REST JSON Web Service package. - Zirve Yazilim and ETA:V.8-SQL on Microsoft SQL Server: Zirve (part of Mikrogroup alongside desktop SQL and cloud
Zirve Nova) andETA:V.8-SQLstore company-and-year partitioned SQL Server databases mapping stock and current-account movements into double-entryTDHPaccounts (120,153,191,320,360,391, and600). - Vega (VegaWin and Arctos), Bilnex, and Orka SQL: Vega dynamically prefixes SQL tables by firm and period (such as
F0100TBLCARIandF0100D0002TBLSATFATBASLIK) behind two-stepBelgeBaslikEkleandBelgeHareketEkleservices, Bilnex maintains live balances via synchronousTr_SQL triggers, and Orka SQL publishes a modern OpenAPI 3 REST interface over annualORKA_0001_2026databases.
Five accounting and statutory traps that break naive AI integrations
- Violating sealed GIB e-Defter Berat periods: once a CPA signs and uploads monthly
XBRL-GLjournal and ledger files toedefter.gov.trand receives a cryptographicBeratreceipt, that month is legally immutable under the Tax Procedure Law (VUK). Any AI tool attempting a retroactive SQL update or backdated invoice edit creates an immediate audit violation instead of routing adjustments to current-period prior-adjustment accounts (671or681) or formal return invoices. - Orphaned headers and suppressed SQL triggers on bulk writes: inserting directly into Vega period tables skips
INDsequence allocation inBelgeBaslikEkle, and running bulk imports withoutFIRE_TRIGGERSsilently disables balance triggers in trigger-driven SQL suites. - Tax-calendar rate-limit storms (20th to 28th of every month): firing per-invoice synchronous calls against cloud accounting endpoints during peak VAT (
KDV), withholding (Muhtasar), and e-Defter filing week triggers throttling unless vouchers are aggregated into balanced dailyMAHSUPbatches. - Tempdb collation clashes and IEEE-754 withholding drift: joining legacy
Turkish_CI_AS(CP1254) columns against default SQL Server temporary tables throwsMsg 468without explicitCOLLATE DATABASE_DEFAULTclauses, while binary floating-point math on5/10,7/10, or9/10VAT withholding (KDV Tevkifati) produces 1-kurus Schematron rejections. - Mixing nominal VUK ledgers with inflation adjustment accounts (698, 648, 658): summing
TDHPinventory and fixed-asset accounts without separating VUK Repeated Article 298/A inflation restatement rows distorts gross margin answers.
A governed ontology blueprint for Turkish accounting suites
- Resolve dynamic firm-period prefixes and TDHP semantics once: map Vega
F{Firm}D{Period}tables, Zirve and ETA annual catalogs, and Orka or Luca Koza schemas inside one zero-copy enterprise business ontology with explicit nominal versus inflation-adjusted ledger filters. - Hard-lock sealed e-Defter months and stage mahsup drafts: enforce deterministic
Beratperiod locks, base-10DECIMAL(18,4)tax math, and human CPA sign-off before dispatching balanced vouchers through official REST or import interfaces.