Protocol analysis, data extraction and production-ready APIs for the Arabic store accounting app إدارة حسابات المحل (package: fouadaljarbany.manag.manag_my_stor)
إدارة حسابات المحل (Store Account Management) keeps daily sales, purchase invoices, inventory movements, customer and supplier balances, cashier transactions, and employee activity on a single Android device, syncing to the cloud when online. We convert that structured, per-store ledger into authorized REST APIs so ERP systems, e-invoicing platforms, tax portals, and analytics stacks can consume the same data without re-keying it.
إدارة حسابات المحل identifies each merchant by phone number; on login, the cloud backend restores the entire shop dataset. We mirror this into an /auth/phone + OTP flow that returns a signed token scoped to shop_id. Multi-branch owners get a listing endpoint to enumerate every branch and its employee roster, useful for franchises moving onto a centralized ERP.
Invoice records carry header (customer/supplier, date, cashier, payment method), line items (SKU, qty, unit price, discount, tax), and totals. Our /invoices endpoint supports pagination, PDF re-rendering with the shop logo, and Bluetooth-printer payload export — directly reusable for ZATCA-compliant XML generation with embedded PDF/A-3.
Products searchable by name or QR scanner map to /products, /stock-movements, and a /expiry-alerts stream. Merchants who enable the optional 2-months-before-expiry warning, or the configurable low-stock threshold, produce event streams that downstream replenishment engines and dead-stock analytics can subscribe to.
Receivables and payables are tracked per counterparty. Our /contacts and /statements endpoints surface balance aging, last-payment date, and the original SMS/WhatsApp reminder template used by the shop owner — enabling unified dunning workflows across a group of stores.
Every withdrawal, deposit, expense category, and salary payment is a ledger row tied to a cashier session. We normalize them into an OpenFinance-style /transactions feed (amount, currency, category, counterparty, running balance) so SME finance teams can reconcile daily tills against bank statements.
The app lets shop owners grant per-employee access to invoices, inventory, or reports. We expose that RBAC matrix plus an audit log (who/when/what) through /employees and /audit-events, which plugs into SOC2-style review cycles and internal-control reporting for larger franchise owners.
The matrix below summarizes the primary data domains we have extracted from إدارة حسابات المحل during past integration work. Granularity describes the smallest retrievable unit; "typical use" indicates the downstream scenarios we most often build for.
| Data type | Source screen / feature | Granularity | Typical downstream use |
|---|---|---|---|
| Sales & return invoices | Invoice module (sales, purchase, return) | Per invoice / per line item, with tax lines | ZATCA e-invoicing submission, revenue analytics, loyalty engines |
| Inventory & SKU master | Product catalogue + QR barcode scanner | Per SKU; barcode, cost, price, expiry, min-stock | Replenishment, dead-stock reports, catalogue syndication |
| Stock movements | Purchases, sales, adjustments, returns | Per movement, time-stamped, with source doc | FIFO/LIFO costing, shrinkage monitoring, audit trails |
| Expiry & low-stock alerts | Optional early-warning module | Per SKU, per threshold event | Automated reorder, shelf-life compliance, FMCG dashboards |
| Customers & suppliers | Counterparty ledger | Per entity, with aging buckets | Credit scoring, collections, supplier risk review |
| Cashier / expense ledger | Safe, expenses, withdrawals, deposits | Per transaction, per cashier session | Bank reconciliation, SME cash-flow dashboards |
| Employee & RBAC | Team module with scoped permissions | Per employee, per permission flag | Internal controls, payroll, shift analytics |
| Reports & KPIs | Daily / weekly / monthly / annual reports | Per period, per branch, with logo overlay | Owner dashboards, tax-authority submissions, investor reporting |
Context: a SAR 375K+ turnover shopkeeper already using إدارة حسابات المحل must integrate with ZATCA's Fatoora portal before the 30 June 2026 wave deadline. We read invoice headers/lines from the app, build the required XML with UUID, cryptographic stamp, and sequential numbering, embed a PDF/A-3, and push to Fatoora via HTTPS. Involved data: sales + return invoices, tax lines, customer VAT number. This maps OpenData → national e-invoicing rail.
Context: a growing retailer is migrating from إدارة حسابات المحل to Daftra, Qoyod, Wafeq, Mezan or Zoho Books. Instead of re-keying thousands of invoices, we expose /invoices, /contacts, and /stock-movements and run a one-way replication job. This reuses the cloud-restore dataset and preserves full history, a classic OpenData portability use case.
Context: a franchise owner runs 6–20 shops, each on a separate phone running إدارة حسابات المحل. We build a central backend that polls every shop_id, merges inventory and sales, and produces a consolidated P&L. Data involved: shop roster, daily sales aggregates, expense lines. Maps cleanly to an OpenFinance "multi-account" API shape.
Context: the app already lets owners send manual reminders to debtors via SMS or WhatsApp. We wrap /contacts + customer balance into a scheduled job that fires templated messages through the WhatsApp Business API, with configurable aging buckets (30/60/90 days). Involved data: customer ledger, overdue balances, preferred channel.
Context: a MENA fintech lender wants a real read of SME cash flow before extending micro-loans. With merchant consent, we stream /transactions (sales, expenses, cashier movements) and /inventory turnover KPIs into the lender's risk engine. This mirrors OpenBanking-style "account information service provider" flows but on retail operations data rather than bank statements.
POST /api/v1/mahal/auth/phone
Content-Type: application/json
{
"phone": "+9665XXXXXXXX",
"country": "SA",
"device_id": "android-4f3a...",
"otp_channel": "sms"
}
// 200 OK
{
"shop_id": "mahal_8812",
"access_token": "eyJhbGciOi...",
"refresh_token": "rt_19f4...",
"branches": [
{"branch_id": "br_1", "name": "Main Store"},
{"branch_id": "br_2", "name": "Warehouse"}
],
"scopes": ["invoices:read","inventory:read","transactions:read"]
}
GET /api/v1/mahal/invoices
?shop_id=mahal_8812
&type=sale
&from_date=2026-04-01
&to_date=2026-04-30
&page=1&page_size=100
Authorization: Bearer <ACCESS_TOKEN>
// 200 OK (excerpt)
{
"data": [{
"invoice_id": "inv_40021",
"uuid": "9f2d3a8e-...-b7",
"sequence": 4021,
"issued_at": "2026-04-03T11:42:11+03:00",
"customer": {"name":"Ali M.", "vat":"3000XXXXXX00003"},
"lines": [
{"sku":"8901234567890","qty":2,"unit_price":15.00,
"tax_rate":0.15,"tax_amount":4.50}
],
"totals": {"subtotal":30.00,"tax":4.50,"grand":34.50},
"pdf_a3_url": "https://cdn.example.com/inv_40021.pdf"
}],
"next_page": 2
}
POST https://your-erp.example.com/hooks/mahal
X-Mahal-Signature: sha256=3f7c...
Content-Type: application/json
{
"event": "inventory.alert",
"shop_id": "mahal_8812",
"branch_id": "br_1",
"kind": "expiry_60d",
"sku": "8900000123456",
"name": "Yogurt 200g",
"expiry_date": "2026-06-20",
"current_stock": 38,
"min_stock": 24,
"generated_at": "2026-04-22T07:05:00Z"
}
// Retry policy: exponential back-off up to 24h
// Verify X-Mahal-Signature with HMAC-SHA256(secret, body)
For Saudi Arabia we follow ZATCA's e-invoicing rules — Phase 1 (generation, live since December 2021) and Phase 2 (integration with the Fatoora portal, rolled out in waves through 2023–2026). Every ZATCA invoice we generate carries a UUID, cryptographic stamp, sequential number, and embedded PDF/A-3, as mandated by the Wave 24 regulations targeting SAR 375K+ turnover taxpayers. For UAE merchants, output formats are aligned with FTA VAT and emaraTax. Personal data handling respects the Saudi Personal Data Protection Law (PDPL, fully enforceable from September 2024) and, where a merchant serves European customers, the GDPR principles of minimization and purpose limitation.
Integrations only activate after the shop owner authorizes the scope — we implement explicit consent screens listing invoices, inventory, transactions, and contacts as separate toggles. Refresh tokens are revocable at any time, OTP logs are retained for 90 days, and we strip employee national IDs from API responses unless the merchant explicitly opts in. This keeps the studio aligned with a least-privilege, authorized-access model rather than bulk scraping.
The pipeline stays intentionally simple so SME shopkeepers can audit it end-to-end:
/invoices, /inventory, /transactions, /contacts).All stages are observable: every token issuance, every invoice export, and every webhook delivery is logged with a correlation ID, so a shopkeeper can trace who pulled which invoice when — a requirement we keep in mind for PDPL and ZATCA audits.
إدارة حسابات المحل is positioned squarely at the Arabic-speaking SME retail segment: single-branch grocery stores, mini-markets, mobile phone accessory shops, fashion boutiques, pharmacies, and small wholesalers across Saudi Arabia, the UAE, Egypt, Jordan, Iraq, and North Africa. The user is typically the owner-operator who manages the till during the day and checks reports in the evening, plus one to five staff with scoped access. Because the app is Android-only and works offline, it also lands well in markets where high-end POS hardware is uncommon. Integration demand comes from three directions: merchants migrating to full ERP, accountants consolidating multiple shop files for a client, and fintechs underwriting SME loans who want real operations data rather than just bank statements.
Screens referenced during our protocol analysis. Click any thumbnail to enlarge.
Merchants and accountants rarely live inside a single tool. The apps below appear repeatedly alongside إدارة حسابات المحل in MENA SME retail integration projects. We list them here to explain where our connectors slot in — not to rank or critique any of them. Teams searching for those names often land on the same transaction/invoice/inventory consolidation questions we solve for إدارة حسابات المحل.
Cloud accounting suite for MENA SMEs across 50+ industries. Holds sales, purchase, inventory, and HR data; a frequent destination when a shop outgrows a phone-only ledger. Users typically want a unified transaction export between Daftra and إدارة حسابات المحل.
Saudi-based cloud accounting (launched 2016) with invoicing, inventory, and payroll. Integrates with Salla, Zid, and Jisr for web orders and GOSI. Cross-export of invoices from إدارة حسابات المحل into Qoyod is a common migration.
UAE-founded cloud accounting platform (Series A, $7.5M). Holds ledger, VAT returns, and bank feeds (Saudi Awwal Bank, Al Rajhi, HSBC, Wio). Shopkeepers often pair Wafeq's bank side with إدارة حسابات المحل's till side.
Saudi-developed accounting platform designed around local regulations. Focuses on compliance and Arabic-first UX; a natural landing pad for a small shop moving from a single-phone ledger to a multi-user cloud book.
Global accounting suite, FTA-approved in the UAE, with Arabic support. Holds invoices, bills, inventory, and banking; often receives exports from Arabic SME ledgers via CSV or API bridges like the one we build for إدارة حسابات المحل.
FTA-approved ERP popular with UAE SMEs, with strong multi-warehouse inventory. When a retailer grows into multiple branches, we often bridge إدارة حسابات المحل data up into FirstBIT for consolidated reporting.
Another Arabic Android-first store accounting app (package com.ahmedelshazly2020d.sales_managers). Directly comparable feature set; owners sometimes keep both apps on separate branches and want consolidated reporting.
POS-focused Android app for small shops. Holds product master, receipt journal, and cashier shift data. Teams integrating MicroPOS with ZATCA often reuse the same invoice-to-XML pipeline we build for إدارة حسابات المحل.
India-origin SME accounting & invoicing app with a large footprint in South Asia and growing MENA reach. Similar offline-first architecture; useful reference when designing sync and reconciliation flows for Arabic shops.
Arabic desktop/cloud retail systems (DEXEF in Egypt, Wazen in Saudi) targeting larger shops and chains. Owners often consolidate data from إدارة حسابات المحل branches upward into DEXEF or Wazen for group-level financials.
We are an independent technical studio specializing in App interface integration and authorized API integration. Our team combines mobile reverse engineering, payments, and SME accounting experience. For MENA retail work, we pay close attention to ZATCA, FTA, and the Saudi PDPL; for OpenFinance work, we lean on experience with ISO 20022, OAuth 2.0, and FAPI profiles.
Ready to turn إدارة حسابات المحل data into connected APIs? Share the target app name and your requirements and we will scope an engagement.
Engagement models: fixed-scope source delivery (from $300) or hosted APIs billed per call.
What do you need from me?
How do you handle ZATCA Phase 2 specifically?
Is this authorized data access?
إدارة حسابات المحل (literally "shop account management") is an Arabic-first Android app by developer fouadaljarbany (package fouadaljarbany.manag.manag_my_stor). The product positions itself as a shopkeeper's smart partner, bundling sales, purchases, invoices, customer and supplier ledgers, inventory with barcode scanning, an expense/cashier module, and employee permissions into a single phone-installed tool.
This page is a technical integration overview prepared by an independent studio; it is not affiliated with or endorsed by the developer of إدارة حسابات المحل.