EXPENSE MANAGEMENT · CORPORATE FINANCIAL GOVERNANCE

Smart Business Expense Management & Corporate Governance.

Tadbir Enterprise v3.2 is an enterprise financial operating system for multi-office organizations — replacing spreadsheets with double-entry ledgers, AI receipt OCR, proactive fraud detection, corporate card controls, Saudi ZATCA Phase 2 e-invoicing, and GAAP cash flow intelligence.

36/36
Unit Tests Verified
Phase 2
ZATCA Compliant
Dual Mode
Corporate & Personal
GAAP
Cash Flow Intelligence
tadbir_enterprise_v3.2 · terminal GAAP & ZATCA
Closing Close
20 Min
▼ 95% from 7 days
Audit Risk
0.00%
▲ 100% ZATCA 2
Direct Savings
18%
▲ Leakage stopped
Active Tenant: Riyadh HQ (RYD-01)
AI Receipt OCR: Active (ocr_service.py)
Fraud Interception: SHA-256 Chained Hash
Tadbir Enterprise v3.2 · Certified SOP 36/36 tests passed
Transformation Matrix التحول المالي

The Corporate Dilemma & Proven Transformation

Case Study: Before adopting Tadbir, XXXX Corporation Ltd. (operating headquarters in Riyadh and an operations branch in Jeddah with 45 staff members) suffered from spreadsheet chaos, lost tax deductions, invisible project losses, and a 7-day month-end close.

Operational Metric Before Tadbir (Legacy) With Tadbir Solution Net Business Impact
Expense Filing Speed 45 min / employee / week 15 sec AI OCR scan 95% reduction in admin time
Month-End Reconciliation 7 business days 20 minutes dual-pane matching Immediate closing of books
Tax Compliance Manual Word/Excel templates Native ZATCA Phase 2 TLV QR 100% audit-ready, 0 penalties
Budget Variance Tracking Discovered months later Real-time visual alert badges 18% direct discretionary savings
Fraud / Duplicate Checks Zero detection capability AI anomaly & off-hours engine Elimination of illicit claims
🏢

Multi-Tenant Offices

Isolate branch ledgers (Riyadh HQ, Jeddah Branch) with distinct VAT registration numbers, SAR operational currencies, and regional oversight.

🛡

Granular RBAC Matrix

Enforce 6 primary roles (Superadmin, Admin, Manager, Accountant, User, Viewer) and 4 boolean flags (can_add, can_edit, can_delete, only_view).

⚡

Dynamic Budget Caps

Set spending ceilings per department and subcategory with real-time visual badges: Under Budget (<80%), Near Limit (80%-99%), and Over Budget (>100%).

🔒

20-Min Inactivity Logout

Dual-layer session monitoring (client-side listeners + server-side middleware) terminates idle sessions after 1,200s with non-persistent session cookies.

Smart Automation الأتمتة والذكاء

Dual Workspaces & AI Receipt OCR Automation

Seamlessly toggle between multi-office corporate financial governance and a 100% confidential personal wealth ledger with zero cross-tenant data leakage.

ACTIVE TENANT: RIYADH HQ (RYD-01) Multi-Office Tenancy Enabled
Corporate Branches & POs

Governs regional branch allocations, project P&L accounts, and multi-line purchase orders.

Saudi ZATCA 2 Invoicing

Issues bilingual client tax invoices with cryptographic 15% VAT Tag-Length-Value QR stamps.

Dual-Pane Bank Recon

Direct reconciliation with corporate bank statements (XXXX Corporate Bank, XXXX Main Account).

Project Margin Analytics

Real-time margin tracking per engagement with continuous double-entry ledger posting.

ACTIVE TENANT: PRIVATE WEALTH LEDGER Zero Cross-Tenant Leakage Active
Personal Household Ledger

Track housing rent, groceries, family subscriptions, and healthcare expenditures in total confidence.

Monthly Savings Goals

Establish wealth accumulation targets, personal investments, and discretionary spend limits.

Private Compensation Logs

Maintain personal compensation and dividend logs completely isolated from corporate accounting teams.

Cryptographic SQL Isolation

Enforced by hard SQL filter: (mode = 'personal' AND created_by = user_id).

AI Receipt OCR & General Ledger Auto-Coding
ocr_service.py
XXXX COMMERCIAL STORE (مكتبة XXXX التجارية)
Branch: Olaya St., Riyadh, KSA
VAT ID: 300055210800003 · 2026-09-10 14:32
Office Ultra HD Monitor 27" 4K 1,600.00 SAR
USB-C Thunderbolt Dock 400.00 SAR
Subtotal (Excl. VAT) 2,000.00 SAR
VAT @ 15% 300.00 SAR
TOTAL PAID 2,300.00 SAR
✓ Extracted & GL-Coded in 1.4 seconds
Merchant Identified: XXXX Commercial Store
Invoice Date: 2026-09-10
Net Subtotal: 2,000.00 SAR
15% VAT Split: 300.00 SAR
GL Account Categorization: 6100 · IT Equipment & Hardware
Fraud Risk Score: 0.02 (Low Risk / Passed Audit)
Field Controls & Cards البطاقات والميدان

Corporate Cards Workstation & Mileage Calculator

Eliminate uncontrolled capital leakage with dynamic spend ceilings, 1-click emergency freeze controls, and automated field mileage reimbursement.

TADBIR VIRTUAL
•••• •••• •••• 8842
Cardholder
Staff Consultant (XXXX)
Monthly Cap
8,000.00 SAR

Instant Emergency Card Freeze

Linked to branch Riyadh HQ and allocated for cloud subscriptions. If suspicious activity occurs or a card is misplaced, managers freeze charges with one click.

Status: Active & Operational

Field Travel Mileage Reimbursement Calculator

Calculated Travel Reimbursement:
420 km × 1.20 SAR/km → Linked to Client Project Account
504.00 SAR
Regulatory Compliance الفوترة الإلكترونية

Saudi ZATCA Phase 2 E-Invoicing & Approvals

Generate bilingual client tax invoices compliant with Zakat, Tax and Customs Authority requirements featuring cryptographic Tag-Length-Value (TLV) QR codes.

TAX INVOICE
Invoice #: INV-2026-0089
فاتورة ضريبية
موافقة لهيئة الزكاة والضريبة والجمارك
Seller / المورد: XXXX Corporation Ltd.
VAT # / الرقم الضريبي: 310123456700003
Branch: Riyadh Headquarters (Olaya Tower)
Buyer / العميل: XXXX Client Corp
VAT # / الرقم الضريبي: 300987654300003
Issue Date: 2026-09-10 14:30:00 AST
Description / البيان Qty Rate (SAR) Total (SAR)
Enterprise Advisory Consultancy (Phase 1) 1 2,000.00 2,000.00
Subtotal (Excl. VAT) / المجموع الفرعي 2,000.00 SAR
VAT @ 15% / ضريبة القيمة المضافة 300.00 SAR
Grand Total / الإجمالي الكلي 2,300.00 SAR
Status: PAID • Auto GL Posted: Dr. Cash / Cr. Consulting Revenue
✓ ZATCA Phase 2 Validated
Scannable via Official ZATCA App
TLV Structure (zatca_util.py):
[1] Seller: XXXX Corporation Ltd.
[2] VAT No: 310123456700003
[3] Timestamp: 2026-09-10T14:30:00Z
[4] Total: 2300.00 SAR
[5] 15% VAT: 300.00 SAR
Base64: ARVYWFhYIENvcnBvcmF0aW9uIEx0ZC4CDzMxMDEyMzQ1NjcwMDAwMwMUMjAyNi0wOS0xMFQxNDozMDowMFoEBzIzMDAuMDAFBjMwMC4wMA==
Governance & Reconciliation المطابقة والرواتب

Dual-Pane Bank Matching & Official Salary Certificates

Compress 7-day month-end closings into 20 minutes with a Live Variance Engine, and generate digitally sealed bilingual salary verification certificates.

Dual-Pane Statement Matching (XXXX Corporate Bank Account)
Live Variance Engine
Bank Statement Debits/Credits IBAN SA441000...
Tadbir General Ledger Vouchers Corporate Ledger
Target Statement Balance vs. Reconciled GL:
Check the matching vendor transaction above to balance
Live Variance
48,000.00 SAR
TADBIR VERIFIED
XXXX CORPORATION LTD.
Commercial Registration: 1010892014 • Riyadh, Kingdom of Saudi Arabia
TADBIR-CERT-04-SALARY
Date: 2026-09-10

CERTIFICATE OF SALARY & EMPLOYMENT CONFIRMATION

شهادة راتب وتثبيت وتأكيد العمل الرسمي

This is to certify that the employee (National ID: 1082910291) is employed full-time at XXXX Corporation Ltd. as Senior Enterprise Consultant since March 1, 2023. Monthly compensation entitlements:

Remuneration Pillar Arabic Label Amount (SAR)
Basic Monthly Salary الراتب الأساسي 14,000.00
Housing Allowance بدل سكن 3,500.00
Transportation Allowance بدل مواصلات 1,500.00
Total Gross Monthly Remuneration إجمالي الراتب الشهري 19,000.00 SAR
Digital Verification Hash: 7c29a8f40b21...91b0
Cryptographically signed via authorized corporate e-seal.
[AUTHORIZED E-SIGNATURE]
Director of Human Capital & Operations
Financial Reports & Deployment التقارير والنشر

GAAP Cash Flows, Saudi WPS & cPanel WSGI Deployment

Direct-method cash flows, general ledger voucher chaining, Wage Protection System payroll exports, and zero-downtime Phusion Passenger production deployment.

General Ledger (Double-Entry)

Continuous double-entry ledger with automatic voucher IDs (VOU-00001), entry dates, debit/credit accounts, and live running balance calculation.

GAAP Statement of Cash Flows

Direct-method categorization across Operating Activities (collections & suppliers), Investing Activities (assets), and Financing Activities.

Project P&L Intelligence

Real-time margin tracking per engagement, aggregating client revenues against allocated expenses to flag margin erosion immediately.

Saudi WPS SIF Payroll Export

Generates encrypted Salary Information Files (SIF) compliant with the Saudi Ministry of Human Resources Wage Protection System for direct bank submission.

Production Deployment Script (cPanel / CloudLinux)

# ========================================================
# Tadbir Production Deployment Script (cpanel_deploy.sh)
# ========================================================
cd ~/public_html/tadbir
source ~/virtualenv/tadbir/3.10/bin/activate
pip install -r requirements.txt --quiet
python3 -c "import app; print('App syntax verified')"
touch tmp/restart.txt
echo "Tadbir Enterprise successfully deployed with zero downtime."

SOP Verification & Test Suite Certification

Verified against active codebase. Tadbir Enterprise v3.2 is fully certified for corporate governance.
36 / 36 Unit Tests Passed (100%)