{
  "master_coa_template": [
    {
      "code": "1000",
      "name": "Cash on Hand",
      "type": "asset",
      "subtype": "cash",
      "is_system": true,
      "control_key": "CASH"
    },
    {
      "code": "1010",
      "name": "Cash at Bank",
      "type": "asset",
      "subtype": "bank",
      "is_system": true,
      "control_key": "BANK"
    },
    {
      "code": "1020",
      "name": "Mobile Wallet (bKash/Nagad)",
      "type": "asset",
      "subtype": "wallet",
      "is_system": true,
      "control_key": "WALLET"
    },
    {
      "code": "1100",
      "name": "Accounts Receivable (AR)",
      "type": "asset",
      "subtype": "receivable",
      "is_system": true,
      "control_key": "AR_CONTROL"
    },
    {
      "code": "1105",
      "name": "AR Control",
      "type": "asset",
      "subtype": "control",
      "is_system": true,
      "control_key": "AR_SYSTEM_CONTROL"
    },
    {
      "code": "1200",
      "name": "Inventory",
      "type": "asset",
      "subtype": "inventory",
      "is_system": true,
      "control_key": "INVENTORY"
    },
    {
      "code": "1300",
      "name": "Prepaid Expenses",
      "type": "asset",
      "subtype": "current_asset",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "1500",
      "name": "Fixed Assets",
      "type": "asset",
      "subtype": "fixed_asset",
      "is_system": true,
      "control_key": "FIXED_ASSETS"
    },
    {
      "code": "1510",
      "name": "Accumulated Depreciation",
      "type": "asset",
      "subtype": "contra_asset",
      "is_system": true,
      "control_key": "ACCUM_DEPRECIATION"
    },
    {
      "code": "2000",
      "name": "Accounts Payable (AP)",
      "type": "liability",
      "subtype": "payable",
      "is_system": true,
      "control_key": "AP_CONTROL"
    },
    {
      "code": "2005",
      "name": "AP Control",
      "type": "liability",
      "subtype": "control",
      "is_system": true,
      "control_key": "AP_SYSTEM_CONTROL"
    },
    {
      "code": "2100",
      "name": "VAT/Tax Payable",
      "type": "liability",
      "subtype": "tax",
      "is_system": true,
      "control_key": "TAX_CONTROL"
    },
    {
      "code": "2105",
      "name": "Tax Control",
      "type": "liability",
      "subtype": "control",
      "is_system": true,
      "control_key": "TAX_SYSTEM_CONTROL"
    },
    {
      "code": "2200",
      "name": "Salaries Payable",
      "type": "liability",
      "subtype": "current_liability",
      "is_system": true,
      "control_key": "SALARIES_PAYABLE"
    },
    {
      "code": "2300",
      "name": "Deferred Revenue (Advance Billings)",
      "type": "liability",
      "subtype": "deferred",
      "is_system": true,
      "control_key": "DEFERRED_REVENUE"
    },
    {
      "code": "2400",
      "name": "Loans Payable",
      "type": "liability",
      "subtype": "long_term_liability",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "3000",
      "name": "Owner's Capital",
      "type": "equity",
      "subtype": "capital",
      "is_system": true,
      "control_key": "OWNERS_CAPITAL"
    },
    {
      "code": "3100",
      "name": "Retained Earnings",
      "type": "equity",
      "subtype": "retained_earnings",
      "is_system": true,
      "control_key": "RETAINED_EARNINGS"
    },
    {
      "code": "3200",
      "name": "Drawings",
      "type": "equity",
      "subtype": "drawings",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "3900",
      "name": "Opening Balance Equity",
      "type": "equity",
      "subtype": "system_equity",
      "is_system": true,
      "control_key": "OPENING_BALANCE_EQUITY"
    },
    {
      "code": "4000",
      "name": "Product Sales Revenue",
      "type": "revenue",
      "subtype": "operating_revenue",
      "is_system": true,
      "control_key": "PRODUCT_REVENUE"
    },
    {
      "code": "4100",
      "name": "Service Revenue",
      "type": "revenue",
      "subtype": "operating_revenue",
      "is_system": true,
      "control_key": "SERVICE_REVENUE"
    },
    {
      "code": "4200",
      "name": "Discounts Given",
      "type": "revenue",
      "subtype": "contra_revenue",
      "is_system": true,
      "control_key": "DISCOUNTS_GIVEN"
    },
    {
      "code": "4300",
      "name": "Other Income",
      "type": "revenue",
      "subtype": "other_income",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "5000",
      "name": "Cost of Goods Sold (COGS)",
      "type": "expense",
      "subtype": "cogs",
      "is_system": true,
      "control_key": "COGS"
    },
    {
      "code": "5100",
      "name": "Salaries & Wages",
      "type": "expense",
      "subtype": "operating_expense",
      "is_system": true,
      "control_key": "SALARIES_EXPENSE"
    },
    {
      "code": "5200",
      "name": "Rent Expense",
      "type": "expense",
      "subtype": "operating_expense",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "5300",
      "name": "Utilities",
      "type": "expense",
      "subtype": "operating_expense",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "5400",
      "name": "Marketing",
      "type": "expense",
      "subtype": "operating_expense",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "5500",
      "name": "Bank Charges",
      "type": "expense",
      "subtype": "financial_expense",
      "is_system": true,
      "control_key": "BANK_CHARGES"
    },
    {
      "code": "5600",
      "name": "Depreciation",
      "type": "expense",
      "subtype": "non_cash_expense",
      "is_system": true,
      "control_key": "DEPRECIATION_EXPENSE"
    },
    {
      "code": "5700",
      "name": "Miscellaneous Expense",
      "type": "expense",
      "subtype": "operating_expense",
      "is_system": false,
      "control_key": null
    },
    {
      "code": "5900",
      "name": "Rounding Adjustment",
      "type": "expense",
      "subtype": "system_adjustment",
      "is_system": true,
      "control_key": "ROUNDING_ADJUSTMENT"
    }
  ],
  "plans": [
    {
      "id": "plan_trial",
      "name": "Starter Trial (14 Days)",
      "price_monthly": 0,
      "price_yearly": 0,
      "currency": "BDT",
      "max_users": 3,
      "max_branches": 1,
      "max_invoices_month": 50,
      "features": [
        "Auto-Seeded COA & GL",
        "CRM Pipeline",
        "Multi-line Invoicing",
        "Email Notifications"
      ],
      "status": "active"
    },
    {
      "id": "plan_basic",
      "name": "Basic Growth",
      "price_monthly": 2500,
      "price_yearly": 25000,
      "currency": "BDT",
      "max_users": 10,
      "max_branches": 2,
      "max_invoices_month": 1000,
      "features": [
        "Auto-Seeded COA & GL",
        "CRM & Lead Conversion",
        "Recurring Subscriptions",
        "BGTel SMS + SMTP Alerts",
        "6 Core Reports"
      ],
      "status": "active"
    },
    {
      "id": "plan_pro",
      "name": "Business Pro",
      "price_monthly": 6500,
      "price_yearly": 65000,
      "currency": "BDT",
      "max_users": 35,
      "max_branches": 10,
      "max_invoices_month": 10000,
      "features": [
        "Full Double-Entry GL Engine",
        "All 12 Financial Reports",
        "Multi-Branch Cost Centers",
        "bKash / SSLCommerz / Stripe",
        "AI Cash-Flow Predictor",
        "Fixed Assets & Depreciation"
      ],
      "status": "active"
    },
    {
      "id": "plan_enterprise",
      "name": "Enterprise Unlimited",
      "price_monthly": 15000,
      "price_yearly": 150000,
      "currency": "BDT",
      "max_users": 999,
      "max_branches": 100,
      "max_invoices_month": 500000,
      "features": [
        "Unlimited Multi-Branch & Users",
        "Custom Domain Mapping",
        "Maker-Checker GL Posting Queue",
        "Dedicated SLA & Audit Exports",
        "Multi-Currency FX Engine",
        "Full REST API + Webhooks"
      ],
      "status": "active"
    }
  ],
  "tenants": [
    {
      "id": "ten_softshore",
      "name": "Demo Company",
      "subdomain": "demo",
      "custom_domain": "billing.softshore.tech",
      "plan_id": "plan_enterprise",
      "status": "active",
      "currency": "BDT",
      "timezone": "Asia/Dhaka",
      "tax_id": "BIN-004928172-0101",
      "vat_rate": 15,
      "email": "info@softshore.tech",
      "phone": "+8801710328545",
      "address": "House: 336, Road: Afroza Begum Sorok, Block: G, Bashundhora R/A, Dhaka, Bangladesh",
      "logo_url": "",
      "onboarding_completed": true,
      "notification_types": [
        "email",
        "sms"
      ],
      "settings": {
        "notification_types": [
          "email",
          "sms"
        ],
        "invoice_prefix": "INV-SS",
        "quote_prefix": "QT-SS",
        "brand_color": "#156a83",
        "smtp_host": "mail.softshore.tech",
        "smtp_port": 587,
        "smtp_from": "no-reply@softshore.tech",
        "sms_gateway_url": "https://apipro.bgtelsms.com/onetomany",
        "sms_acode": "30000075",
        "sms_api_key": "00694cc4892224ee3eefffed2330becadcb8cade",
        "sms_sender_id": "KidLand",
        "gateways": {
          "bkash": {
            "enabled": true,
            "merchant_no": "01710328545"
          },
          "sslcommerz": {
            "enabled": true,
            "store_id": "softshore_live"
          },
          "stripe": {
            "enabled": true,
            "pub_key": "pk_live_softshore"
          },
          "paypal": {
            "enabled": false
          }
        },
        "dnd_enabled": false,
        "dnd_start_hour": 22,
        "dnd_end_hour": 7,
        "require_gl_queue_approval": false,
        "reminder_days_before": [
          7,
          3,
          1
        ],
        "overdue_days_after": [
          1,
          3,
          7
        ],
        "invoice_template": {
          "layout_style": "softshore_official",
          "document_title": "INVOICE",
          "company_display_name": "Demo Company",
          "logo_url": "",
          "show_logo": true,
          "header_address": "House: 336, Road: Afroza Begum Sorok, Block: G, Bashundhora R/A, Dhaka, Bangladesh",
          "header_email": "info@softshore.tech",
          "header_website": "www.softshore.tech",
          "header_phone": "+880 1710328545",
          "primary_color": "#156a83",
          "secondary_bg_color": "#dbf1f8",
          "border_accent_color": "#219fc4",
          "bill_to_heading": "BILL TO:",
          "table_column_mode": "description_amount",
          "col_description_label": "DESCRIPTION",
          "col_amount_label": "AMOUNT",
          "min_table_rows": 6,
          "show_previous_due": true,
          "previous_due_label": "PREVIOUS DUE",
          "total_label": "TOTAL",
          "show_discount_row": true,
          "discount_label": "DISCOUNT",
          "show_vat_row": false,
          "vat_label": "VAT / TAX",
          "total_pay_label": "TOTAL PAY AMOUNT",
          "note_heading": "Note:",
          "notes_list": [
            "All the amounts are in Bangladeshi Taka",
            "The amount is VAT & Tax Included"
          ],
          "show_payment_to": true,
          "payment_to_heading": "Payment To",
          "bank_account_name": "Softshore Technology",
          "bank_account_no": "2052820500001",
          "bank_name": "BRAC Bank Limited",
          "bank_branch": "Gulshan Branch, Dhaka",
          "bank_swift_code": "BRAKBDDH",
          "payment_mode_note": "Suitable transaction mode could be possible.",
          "show_prepared_by": true,
          "prepared_by_heading": "Prepared By",
          "prepared_by_name": "Zulfiker Ahmed",
          "prepared_by_designation": "Manager, Account Operations",
          "prepared_by_company": "SoftShore Technology",
          "prepared_by_email": "zulfiker@softshore.tech",
          "prepared_by_website": "www.softshore.tech",
          "footer_disclaimer": "This is a computer-generated invoice and doesn't require any signature",
          "footer_underline": true
        }
      },
      "created_at": "2026-01-10T08:00:00.000Z",
      "invoice_template": {
        "layout_style": "softshore_official",
        "document_title": "INVOICE",
        "company_display_name": "Demo Company",
        "logo_url": "",
        "show_logo": true,
        "header_address": "House: 336, Road: Afroza Begum Sorok, Block: G, Bashundhora R/A, Dhaka, Bangladesh",
        "header_email": "info@softshore.tech",
        "header_website": "www.softshore.tech",
        "header_phone": "+880 1710328545",
        "primary_color": "#156a83",
        "secondary_bg_color": "#dbf1f8",
        "border_accent_color": "#219fc4",
        "bill_to_heading": "BILL TO:",
        "table_column_mode": "description_amount",
        "col_description_label": "DESCRIPTION",
        "col_amount_label": "AMOUNT",
        "min_table_rows": 6,
        "show_previous_due": true,
        "previous_due_label": "PREVIOUS DUE",
        "total_label": "TOTAL",
        "show_discount_row": true,
        "discount_label": "DISCOUNT",
        "show_vat_row": false,
        "vat_label": "VAT / TAX",
        "total_pay_label": "TOTAL PAY AMOUNT",
        "note_heading": "Note:",
        "notes_list": [
          "All the amounts are in Bangladeshi Taka",
          "The amount is VAT & Tax Included"
        ],
        "show_payment_to": true,
        "payment_to_heading": "Payment To",
        "bank_account_name": "Softshore Technology",
        "bank_account_no": "2052820500001",
        "bank_name": "BRAC Bank Limited",
        "bank_branch": "Gulshan Branch, Dhaka",
        "bank_swift_code": "BRAKBDDH",
        "payment_mode_note": "Suitable transaction mode could be possible.",
        "show_prepared_by": true,
        "prepared_by_heading": "Prepared By",
        "prepared_by_name": "Zulfiker Ahmed",
        "prepared_by_designation": "Manager, Account Operations",
        "prepared_by_company": "SoftShore Technology",
        "prepared_by_email": "zulfiker@softshore.tech",
        "prepared_by_website": "www.softshore.tech",
        "footer_disclaimer": "This is a computer-generated invoice and doesn't require any signature",
        "footer_underline": true
      }
    }
  ],
  "branches": [
    {
      "id": "br_ten_softshore_hq",
      "tenant_id": "ten_softshore",
      "code": "HQ-01",
      "name": "Demo Company - Head Office",
      "address": "House: 336, Road: Afroza Begum Sorok, Block: G, Bashundhora R/A, Dhaka, Bangladesh",
      "phone": "+8801710328545",
      "manager_id": "Company Admin",
      "is_main": true,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "br_ten_softshore_ctg",
      "tenant_id": "ten_softshore",
      "code": "CTG-02",
      "name": "Chattogram Regional Branch",
      "address": "WTC Tower, Agrabad C/A, Chattogram",
      "phone": "+8801711998877",
      "manager_id": "Nusrat Jahan",
      "is_main": false,
      "status": "active",
      "created_at": "2026-01-15T09:00:00.000Z"
    },
    {
      "id": "br_ten_softshore_syl",
      "tenant_id": "ten_softshore",
      "code": "SYL-03",
      "name": "Sylhet Tech Park Hub",
      "address": "Zindabazar Commercial Center, Sylhet",
      "phone": "+8801711554433",
      "manager_id": "Rafiq Hasan",
      "is_main": false,
      "status": "active",
      "created_at": "2026-02-01T09:00:00.000Z"
    }
  ],
  "roles": [
    {
      "id": "role_super_admin",
      "tenant_id": null,
      "name": "Super Admin",
      "scope": "platform",
      "permissions": [
        "platform.all",
        "tenants.manage",
        "plans.manage",
        "coa_template.manage",
        "cron.run"
      ]
    },
    {
      "id": "role_company_admin",
      "tenant_id": "ten_softshore",
      "name": "Company Admin",
      "scope": "tenant",
      "permissions": [
        "tenant.all",
        "users.manage",
        "branches.manage",
        "coa.manage",
        "invoices.all",
        "payments.all",
        "crm.all",
        "reports.all",
        "settings.manage"
      ]
    },
    {
      "id": "role_company_manager",
      "tenant_id": "ten_softshore",
      "name": "Company Manager",
      "scope": "branch",
      "permissions": [
        "branches.view",
        "invoices.all",
        "subscriptions.all",
        "customers.all",
        "crm.all",
        "reports.operational"
      ]
    },
    {
      "id": "role_company_executive",
      "tenant_id": "ten_softshore",
      "name": "Company Executive",
      "scope": "branch",
      "permissions": [
        "invoices.create",
        "payments.record",
        "customers.assigned",
        "crm.pipeline",
        "tasks.manage"
      ]
    },
    {
      "id": "role_accountant",
      "tenant_id": "ten_softshore",
      "name": "Accountant",
      "scope": "tenant",
      "permissions": [
        "accounting.all",
        "journal.create",
        "journal.approve",
        "reconciliation.manage",
        "periods.close",
        "reports.financial"
      ]
    },
    {
      "id": "role_customer",
      "tenant_id": "ten_softshore",
      "name": "Customer",
      "scope": "self",
      "permissions": [
        "portal.view_invoices",
        "portal.pay_online",
        "portal.download_receipts",
        "portal.statement"
      ]
    }
  ],
  "users": [
    {
      "id": "usr_super",
      "tenant_id": "ten_softshore",
      "branch_id": null,
      "role_id": "role_super_admin",
      "role_name": "Super Admin",
      "name": "Kayser Ahmed (Super Admin)",
      "email": "superadmin@softshore.tech",
      "alt_email": "kayser@softshore.tech",
      "password_hash": "admin123",
      "two_factor_enabled": true,
      "status": "active",
      "last_login_at": "2026-10-04T16:45:00.000Z"
    },
    {
      "id": "usr_admin",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "role_id": "role_company_admin",
      "role_name": "Company Admin",
      "name": "Tanvir Rahman (Company Admin)",
      "email": "admin@democompany.com",
      "alt_email": "admin@softshore.tech",
      "password_hash": "demo123",
      "two_factor_enabled": true,
      "status": "active",
      "last_login_at": "2026-10-04T17:00:00.000Z"
    },
    {
      "id": "usr_manager",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "role_id": "role_company_manager",
      "role_name": "Company Manager",
      "name": "Nusrat Jahan (Branch Manager)",
      "email": "manager@democompany.com",
      "alt_email": "manager@softshore.tech",
      "password_hash": "demo123",
      "two_factor_enabled": false,
      "status": "active",
      "last_login_at": "2026-10-04T15:20:00.000Z"
    },
    {
      "id": "usr_accountant",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "role_id": "role_accountant",
      "role_name": "Accountant",
      "name": "Farhana Akter FCA (Chief Accountant)",
      "email": "accountant@democompany.com",
      "alt_email": "accountant@softshore.tech",
      "password_hash": "demo123",
      "two_factor_enabled": true,
      "status": "active",
      "last_login_at": "2026-10-04T16:50:00.000Z"
    },
    {
      "id": "usr_exec",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_ctg",
      "role_id": "role_company_executive",
      "role_name": "Company Executive",
      "name": "Rafiq Hasan (Sales Executive)",
      "email": "executive@democompany.com",
      "alt_email": "executive@softshore.tech",
      "password_hash": "demo123",
      "two_factor_enabled": false,
      "status": "active",
      "last_login_at": "2026-10-04T14:10:00.000Z"
    },
    {
      "id": "usr_cs_exec",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "role_id": "role_company_executive",
      "role_name": "Company Executive",
      "name": "Sadia Islam (Customer Success Lead)",
      "email": "sadia@democompany.com",
      "alt_email": "sadia@softshore.tech",
      "password_hash": "demo123",
      "two_factor_enabled": false,
      "status": "active",
      "last_login_at": "2026-10-04T15:10:00.000Z"
    },
    {
      "id": "usr_support_eng",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_syl",
      "role_id": "role_company_executive",
      "role_name": "Company Executive",
      "name": "Kamrul Hasan (Cloud Support Engineer)",
      "email": "kamrul@democompany.com",
      "alt_email": "kamrul@softshore.tech",
      "password_hash": "demo123",
      "two_factor_enabled": false,
      "status": "active",
      "last_login_at": "2026-10-04T13:40:00.000Z"
    },
    {
      "id": "usr_customer",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "role_id": "role_customer",
      "role_name": "Customer",
      "name": "Mehedi Alam (Square Pharma IT)",
      "email": "customer@democompany.com",
      "alt_email": "mehedi@squarepharma.com.bd",
      "customer_id": "cust_1",
      "password_hash": "demo123",
      "two_factor_enabled": false,
      "status": "active",
      "last_login_at": "2026-10-04T12:00:00.000Z"
    }
  ],
  "accounts": [
    {
      "id": "acc_ten_softshore_1000",
      "tenant_id": "ten_softshore",
      "code": "1000",
      "name": "Cash on Hand",
      "type": "asset",
      "subtype": "cash",
      "parent_id": null,
      "is_system": true,
      "control_key": "CASH",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1010",
      "tenant_id": "ten_softshore",
      "code": "1010",
      "name": "Cash at Bank",
      "type": "asset",
      "subtype": "bank",
      "parent_id": null,
      "is_system": true,
      "control_key": "BANK",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1020",
      "tenant_id": "ten_softshore",
      "code": "1020",
      "name": "Mobile Wallet (bKash/Nagad)",
      "type": "asset",
      "subtype": "wallet",
      "parent_id": null,
      "is_system": true,
      "control_key": "WALLET",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1100",
      "tenant_id": "ten_softshore",
      "code": "1100",
      "name": "Accounts Receivable (AR)",
      "type": "asset",
      "subtype": "receivable",
      "parent_id": null,
      "is_system": true,
      "control_key": "AR_CONTROL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1105",
      "tenant_id": "ten_softshore",
      "code": "1105",
      "name": "AR Control",
      "type": "asset",
      "subtype": "control",
      "parent_id": null,
      "is_system": true,
      "control_key": "AR_SYSTEM_CONTROL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1200",
      "tenant_id": "ten_softshore",
      "code": "1200",
      "name": "Inventory",
      "type": "asset",
      "subtype": "inventory",
      "parent_id": null,
      "is_system": true,
      "control_key": "INVENTORY",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1300",
      "tenant_id": "ten_softshore",
      "code": "1300",
      "name": "Prepaid Expenses",
      "type": "asset",
      "subtype": "current_asset",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1500",
      "tenant_id": "ten_softshore",
      "code": "1500",
      "name": "Fixed Assets",
      "type": "asset",
      "subtype": "fixed_asset",
      "parent_id": null,
      "is_system": true,
      "control_key": "FIXED_ASSETS",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_1510",
      "tenant_id": "ten_softshore",
      "code": "1510",
      "name": "Accumulated Depreciation",
      "type": "asset",
      "subtype": "contra_asset",
      "parent_id": null,
      "is_system": true,
      "control_key": "ACCUM_DEPRECIATION",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2000",
      "tenant_id": "ten_softshore",
      "code": "2000",
      "name": "Accounts Payable (AP)",
      "type": "liability",
      "subtype": "payable",
      "parent_id": null,
      "is_system": true,
      "control_key": "AP_CONTROL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2005",
      "tenant_id": "ten_softshore",
      "code": "2005",
      "name": "AP Control",
      "type": "liability",
      "subtype": "control",
      "parent_id": null,
      "is_system": true,
      "control_key": "AP_SYSTEM_CONTROL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2100",
      "tenant_id": "ten_softshore",
      "code": "2100",
      "name": "VAT/Tax Payable",
      "type": "liability",
      "subtype": "tax",
      "parent_id": null,
      "is_system": true,
      "control_key": "TAX_CONTROL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2105",
      "tenant_id": "ten_softshore",
      "code": "2105",
      "name": "Tax Control",
      "type": "liability",
      "subtype": "control",
      "parent_id": null,
      "is_system": true,
      "control_key": "TAX_SYSTEM_CONTROL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2200",
      "tenant_id": "ten_softshore",
      "code": "2200",
      "name": "Salaries Payable",
      "type": "liability",
      "subtype": "current_liability",
      "parent_id": null,
      "is_system": true,
      "control_key": "SALARIES_PAYABLE",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2300",
      "tenant_id": "ten_softshore",
      "code": "2300",
      "name": "Deferred Revenue (Advance Billings)",
      "type": "liability",
      "subtype": "deferred",
      "parent_id": null,
      "is_system": true,
      "control_key": "DEFERRED_REVENUE",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_2400",
      "tenant_id": "ten_softshore",
      "code": "2400",
      "name": "Loans Payable",
      "type": "liability",
      "subtype": "long_term_liability",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_3000",
      "tenant_id": "ten_softshore",
      "code": "3000",
      "name": "Owner's Capital",
      "type": "equity",
      "subtype": "capital",
      "parent_id": null,
      "is_system": true,
      "control_key": "OWNERS_CAPITAL",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_3100",
      "tenant_id": "ten_softshore",
      "code": "3100",
      "name": "Retained Earnings",
      "type": "equity",
      "subtype": "retained_earnings",
      "parent_id": null,
      "is_system": true,
      "control_key": "RETAINED_EARNINGS",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_3200",
      "tenant_id": "ten_softshore",
      "code": "3200",
      "name": "Drawings",
      "type": "equity",
      "subtype": "drawings",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_3900",
      "tenant_id": "ten_softshore",
      "code": "3900",
      "name": "Opening Balance Equity",
      "type": "equity",
      "subtype": "system_equity",
      "parent_id": null,
      "is_system": true,
      "control_key": "OPENING_BALANCE_EQUITY",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_4000",
      "tenant_id": "ten_softshore",
      "code": "4000",
      "name": "Product Sales Revenue",
      "type": "revenue",
      "subtype": "operating_revenue",
      "parent_id": null,
      "is_system": true,
      "control_key": "PRODUCT_REVENUE",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_4100",
      "tenant_id": "ten_softshore",
      "code": "4100",
      "name": "Service Revenue",
      "type": "revenue",
      "subtype": "operating_revenue",
      "parent_id": null,
      "is_system": true,
      "control_key": "SERVICE_REVENUE",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_4200",
      "tenant_id": "ten_softshore",
      "code": "4200",
      "name": "Discounts Given",
      "type": "revenue",
      "subtype": "contra_revenue",
      "parent_id": null,
      "is_system": true,
      "control_key": "DISCOUNTS_GIVEN",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_4300",
      "tenant_id": "ten_softshore",
      "code": "4300",
      "name": "Other Income",
      "type": "revenue",
      "subtype": "other_income",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5000",
      "tenant_id": "ten_softshore",
      "code": "5000",
      "name": "Cost of Goods Sold (COGS)",
      "type": "expense",
      "subtype": "cogs",
      "parent_id": null,
      "is_system": true,
      "control_key": "COGS",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5100",
      "tenant_id": "ten_softshore",
      "code": "5100",
      "name": "Salaries & Wages",
      "type": "expense",
      "subtype": "operating_expense",
      "parent_id": null,
      "is_system": true,
      "control_key": "SALARIES_EXPENSE",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5200",
      "tenant_id": "ten_softshore",
      "code": "5200",
      "name": "Rent Expense",
      "type": "expense",
      "subtype": "operating_expense",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5300",
      "tenant_id": "ten_softshore",
      "code": "5300",
      "name": "Utilities",
      "type": "expense",
      "subtype": "operating_expense",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5400",
      "tenant_id": "ten_softshore",
      "code": "5400",
      "name": "Marketing",
      "type": "expense",
      "subtype": "operating_expense",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5500",
      "tenant_id": "ten_softshore",
      "code": "5500",
      "name": "Bank Charges",
      "type": "expense",
      "subtype": "financial_expense",
      "parent_id": null,
      "is_system": true,
      "control_key": "BANK_CHARGES",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5600",
      "tenant_id": "ten_softshore",
      "code": "5600",
      "name": "Depreciation",
      "type": "expense",
      "subtype": "non_cash_expense",
      "parent_id": null,
      "is_system": true,
      "control_key": "DEPRECIATION_EXPENSE",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5700",
      "tenant_id": "ten_softshore",
      "code": "5700",
      "name": "Miscellaneous Expense",
      "type": "expense",
      "subtype": "operating_expense",
      "parent_id": null,
      "is_system": false,
      "control_key": null,
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "acc_ten_softshore_5900",
      "tenant_id": "ten_softshore",
      "code": "5900",
      "name": "Rounding Adjustment",
      "type": "expense",
      "subtype": "system_adjustment",
      "parent_id": null,
      "is_system": true,
      "control_key": "ROUNDING_ADJUSTMENT",
      "opening_debit": 0,
      "opening_credit": 0,
      "status": "active",
      "created_at": "2026-10-05T15:13:24.367Z"
    }
  ],
  "fiscal_years": [
    {
      "id": "fy_ten_softshore_2026",
      "tenant_id": "ten_softshore",
      "name": "FY 2026 (Jan - Dec)",
      "start_date": "2026-01-01",
      "end_date": "2026-12-31",
      "status": "open",
      "closed_at": null
    }
  ],
  "accounting_periods": [
    {
      "id": "prd_ten_softshore_2026_01",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 1,
      "year": 2026,
      "name": "Jan 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_02",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 2,
      "year": 2026,
      "name": "Feb 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_03",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 3,
      "year": 2026,
      "name": "Mar 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_04",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 4,
      "year": 2026,
      "name": "Apr 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_05",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 5,
      "year": 2026,
      "name": "May 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_06",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 6,
      "year": 2026,
      "name": "Jun 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_07",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 7,
      "year": 2026,
      "name": "Jul 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_08",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 8,
      "year": 2026,
      "name": "Aug 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_09",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 9,
      "year": 2026,
      "name": "Sep 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_10",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 10,
      "year": 2026,
      "name": "Oct 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_11",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 11,
      "year": 2026,
      "name": "Nov 2026",
      "status": "open",
      "unlock_audit_note": null
    },
    {
      "id": "prd_ten_softshore_2026_12",
      "tenant_id": "ten_softshore",
      "fiscal_year_id": "fy_ten_softshore_2026",
      "month": 12,
      "year": 2026,
      "name": "Dec 2026",
      "status": "open",
      "unlock_audit_note": null
    }
  ],
  "customers": [
    {
      "id": "cust_1",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "code": "CUST-1001",
      "name": "Square Pharmaceuticals PLC",
      "company": "Square Pharmaceuticals PLC",
      "email": "mehedi@squarepharma.com.bd",
      "phone": "+8801710328545",
      "address": "Square Centre, 48 Mohakhali C/A, Dhaka-1212",
      "tax_id": "BIN-000112233-0101",
      "tags": [
        "Enterprise",
        "ERP-Cloud",
        "VIP"
      ],
      "credit_limit": 500000,
      "advance_balance": 0,
      "payment_score": 96,
      "status": "active",
      "notes": "Flagship enterprise subscriber on dedicated cloud cluster.",
      "created_at": "2026-01-20T10:00:00.000Z"
    },
    {
      "id": "cust_2",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "code": "CUST-1002",
      "name": "BracNet Digital Services",
      "company": "BracNet Ltd.",
      "email": "accounts@bracnet.net",
      "phone": "+8801714009988",
      "address": "Gulshan-1, Dhaka-1212",
      "tax_id": "BIN-000445566-0102",
      "tags": [
        "Quarterly",
        "SaaS"
      ],
      "credit_limit": 300000,
      "advance_balance": 25000,
      "payment_score": 88,
      "status": "active",
      "notes": "Prefers SSLCommerz or Bank EFT.",
      "created_at": "2026-02-05T10:00:00.000Z"
    },
    {
      "id": "cust_3",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_ctg",
      "code": "CUST-1003",
      "name": "Karnafuli Port Logistics Ltd.",
      "company": "Karnafuli Port Logistics",
      "email": "finance@karnafulilogistics.com",
      "phone": "+8801811334455",
      "address": "Agrabad C/A, Chattogram",
      "tax_id": "BIN-000778899-0301",
      "tags": [
        "Chattogram",
        "Overdue-Watch"
      ],
      "credit_limit": 200000,
      "advance_balance": 0,
      "payment_score": 64,
      "status": "active",
      "notes": "Follow up 3 days before due via SMS.",
      "created_at": "2026-03-10T10:00:00.000Z"
    },
    {
      "id": "cust_4",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_syl",
      "code": "CUST-1004",
      "name": "Sylhet Tea Valley Exports",
      "company": "Sylhet Tea Valley",
      "email": "info@sylhetteavalley.com",
      "phone": "+8801912667788",
      "address": "Airport Road, Sylhet",
      "tax_id": "BIN-000991122-0401",
      "tags": [
        "SME",
        "Monthly"
      ],
      "credit_limit": 150000,
      "advance_balance": 0,
      "payment_score": 92,
      "status": "active",
      "notes": "Uses bKash merchant auto-pay.",
      "created_at": "2026-04-12T10:00:00.000Z"
    },
    {
      "id": "cust_5",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "code": "CUST-1005",
      "name": "CWIS-FSM Support Cell, Department of Public Health Engineering",
      "company": "Department of Public Health Engineering (DPHE)",
      "email": "cwis.fsm@dphe.gov.bd",
      "phone": "+8801710328545",
      "address": "DPHE Bhaban, (9th floor), 14 Shaheed Captain Mansur Ali Soroni, Kakrail, Dhaka- 1000",
      "tax_id": "BIN-DPHE-GOV-1000",
      "tags": [
        "Government",
        "Monthly-Maintenance"
      ],
      "credit_limit": 500000,
      "advance_balance": 0,
      "payment_score": 98,
      "status": "active",
      "notes": "Monthly Website Development & Maintenance contract.",
      "created_at": "2026-05-01T10:00:00.000Z"
    }
  ],
  "leads": [
    {
      "id": "lead_1",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "name": "Tariqul Islam",
      "company": "Pran-RFL Agro Supply Chain",
      "email": "tariq@pranrfl.com",
      "phone": "+8801713445566",
      "source": "Inbound Demo Request",
      "stage": "Qualified",
      "estimated_value": 180000,
      "probability": 80,
      "assigned_to": "Rafiq Hasan",
      "interested_product_id": "prod_1",
      "interested_product_ids": [
        "prod_1",
        "prod_2"
      ],
      "notes": "Technical evaluation passed. Ready for 1-click Customer + Subscription conversion!",
      "converted_customer_id": null,
      "created_at": "2026-09-25T10:00:00.000Z"
    },
    {
      "id": "lead_2",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "name": "Samia Karim",
      "company": "Chaldal Grocery Fulfillment",
      "email": "samia@chaldal.com",
      "phone": "+8801844556677",
      "source": "LinkedIn Enterprise",
      "stage": "Contacted",
      "estimated_value": 95000,
      "probability": 50,
      "assigned_to": "Nusrat Jahan",
      "interested_product_id": "prod_2",
      "interested_product_ids": [
        "prod_2",
        "prod_4"
      ],
      "notes": "Demo scheduled for Thursday with CFO and CTO.",
      "converted_customer_id": null,
      "created_at": "2026-09-28T14:00:00.000Z"
    },
    {
      "id": "lead_3",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_ctg",
      "name": "Mahbubur Chowdhury",
      "company": "BSRM Steel Distribution",
      "email": "mahbub@bsrm.com",
      "phone": "+8801711223399",
      "source": "Referral",
      "stage": "New",
      "estimated_value": 240000,
      "probability": 30,
      "assigned_to": "Rafiq Hasan",
      "interested_product_id": "prod_1",
      "interested_product_ids": [
        "prod_1",
        "prod_3"
      ],
      "notes": "Needs 12-branch cost center accounting & custom VAT report.",
      "converted_customer_id": null,
      "created_at": "2026-10-02T09:15:00.000Z"
    },
    {
      "id": "lead_4",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "name": "Mehedi Alam",
      "company": "Square Pharmaceuticals PLC",
      "email": "mehedi@squarepharma.com.bd",
      "phone": "+8801710328545",
      "source": "Direct Enterprise",
      "stage": "Won",
      "estimated_value": 540000,
      "probability": 100,
      "assigned_to": "Nusrat Jahan",
      "interested_product_id": "prod_1",
      "interested_product_ids": [
        "prod_1",
        "prod_2"
      ],
      "notes": "Converted to active enterprise subscription.",
      "converted_customer_id": "cust_1",
      "created_at": "2026-01-15T11:00:00.000Z"
    }
  ],
  "crm_activities": [
    {
      "id": "act_4",
      "tenant_id": "ten_softshore",
      "entity_type": "customer",
      "entity_id": "cust_1",
      "customer_ids": [
        "cust_1",
        "cust_2"
      ],
      "customer_names": [
        "Square Pharmaceuticals PLC",
        "BracNet Digital Services"
      ],
      "activity_type": "support_request",
      "priority": "Urgent",
      "source": "Customer Support Request",
      "subject": "Dedicated Kubernetes SSL Renewal & Multi-Branch API Webhook Sync Request",
      "details": "Customer support request raised for Square Pharmaceuticals PLC & BracNet Digital Services: Need SSL certificate rotation and webhook payload verification before Monday.",
      "due_date": "2026-10-06",
      "is_completed": false,
      "assigned_to_all_employees": true,
      "assigned_employee_ids": [
        "usr_admin",
        "usr_manager",
        "usr_exec",
        "usr_accountant",
        "usr_cs_exec",
        "usr_support_eng"
      ],
      "assigned_employees": [
        "Tanvir Rahman (Company Admin)",
        "Nusrat Jahan (Branch Manager)",
        "Rafiq Hasan (Sales Executive)",
        "Farhana Akter FCA (Chief Accountant)",
        "Sadia Islam (Customer Success Lead)",
        "Kamrul Hasan (Cloud Support Engineer)"
      ],
      "assigned_to": "All Company Employees (6): Tanvir Rahman, Nusrat Jahan, Rafiq Hasan, Farhana Akter FCA, Sadia Islam, Kamrul Hasan",
      "created_by": "Mehedi Alam (Customer Portal)",
      "created_at": "2026-10-05T08:30:00.000Z"
    },
    {
      "id": "act_1",
      "tenant_id": "ten_softshore",
      "entity_type": "customer",
      "entity_id": "cust_1",
      "customer_ids": [
        "cust_1"
      ],
      "customer_names": [
        "Square Pharmaceuticals PLC"
      ],
      "activity_type": "meeting",
      "priority": "High",
      "source": "Internal CRM",
      "subject": "Architecture & GL Integration Walkthrough with CFO",
      "details": "Demonstrated automatic double-entry GL posting and BGTel SMS alerts. CFO approved budget.",
      "due_date": "2026-10-05",
      "is_completed": true,
      "assigned_to_all_employees": false,
      "assigned_employee_ids": [
        "usr_exec",
        "usr_cs_exec"
      ],
      "assigned_employees": [
        "Rafiq Hasan (Sales Executive)",
        "Sadia Islam (Customer Success Lead)"
      ],
      "assigned_to": "Rafiq Hasan (Sales Executive), Sadia Islam (Customer Success Lead)",
      "created_by": "Rafiq Hasan",
      "created_at": "2026-10-01T11:30:00.000Z"
    },
    {
      "id": "act_2",
      "tenant_id": "ten_softshore",
      "entity_type": "customer",
      "entity_id": "cust_3",
      "customer_ids": [
        "cust_3",
        "cust_4"
      ],
      "customer_names": [
        "Karnafuli Port Logistics Ltd.",
        "Sylhet Tea Valley Exports"
      ],
      "activity_type": "task",
      "priority": "High",
      "source": "Internal CRM",
      "subject": "Follow up with regional accounts regarding October subscription invoices",
      "details": "Confirm bank wire remittance reference numbers and bKash auto-debit settlement.",
      "due_date": "2026-10-06",
      "is_completed": false,
      "assigned_to_all_employees": false,
      "assigned_employee_ids": [
        "usr_exec",
        "usr_manager",
        "usr_accountant"
      ],
      "assigned_employees": [
        "Rafiq Hasan (Sales Executive)",
        "Nusrat Jahan (Branch Manager)",
        "Farhana Akter FCA (Chief Accountant)"
      ],
      "assigned_to": "Rafiq Hasan (Sales Executive), Nusrat Jahan (Branch Manager), Farhana Akter FCA (Chief Accountant)",
      "created_by": "Nusrat Jahan",
      "created_at": "2026-10-03T09:00:00.000Z"
    },
    {
      "id": "act_3",
      "tenant_id": "ten_softshore",
      "entity_type": "customer",
      "entity_id": "cust_2",
      "customer_ids": [
        "cust_2"
      ],
      "customer_names": [
        "BracNet Digital Services"
      ],
      "activity_type": "call",
      "priority": "Normal",
      "source": "Internal CRM",
      "subject": "Follow-up call on Quotation QT-SS-2026-101 & Quarterly Renewal",
      "details": "Sent multi-branch SLA terms and Musak-6.3 VAT schedule.",
      "due_date": "2026-10-07",
      "is_completed": false,
      "assigned_to_all_employees": false,
      "assigned_employee_ids": [
        "usr_manager",
        "usr_support_eng"
      ],
      "assigned_employees": [
        "Nusrat Jahan (Branch Manager)",
        "Kamrul Hasan (Cloud Support Engineer)"
      ],
      "assigned_to": "Nusrat Jahan (Branch Manager), Kamrul Hasan (Cloud Support Engineer)",
      "created_by": "Nusrat Jahan",
      "created_at": "2026-10-04T10:00:00.000Z"
    }
  ],
  "products": [
    {
      "id": "prod_1",
      "tenant_id": "ten_softshore",
      "type": "service",
      "sku": "SAAS-ENT-CLOUD",
      "name": "Enterprise Cloud ERP & Billing Suite",
      "category": "SaaS Subscription",
      "description": "Dedicated multi-branch ERP, CRM & Accounting cloud node with 99.9% SLA.",
      "price": 45000,
      "cost": 0,
      "tax_rate": 15,
      "unit": "month",
      "track_inventory": false,
      "stock_qty": 0,
      "low_stock_alert": 0,
      "revenue_account_code": "4100",
      "cogs_account_code": "5000",
      "status": "active"
    },
    {
      "id": "prod_2",
      "tenant_id": "ten_softshore",
      "type": "service",
      "sku": "SVC-DED-HOST",
      "name": "Managed Kubernetes & DB Cluster",
      "category": "Cloud Infrastructure",
      "description": "Automated daily backups, SSL, load balancer & 24/7 DevOps monitoring.",
      "price": 25000,
      "cost": 0,
      "tax_rate": 15,
      "unit": "month",
      "track_inventory": false,
      "stock_qty": 0,
      "low_stock_alert": 0,
      "revenue_account_code": "4100",
      "cogs_account_code": "5000",
      "status": "active"
    },
    {
      "id": "prod_3",
      "tenant_id": "ten_softshore",
      "type": "product",
      "sku": "HW-POS-TERM",
      "name": "Smart Android POS & Barcode Terminal",
      "category": "Hardware",
      "description": "NFC + Thermal Receipt Printer terminal for retail branch billing.",
      "price": 18500,
      "cost": 11000,
      "tax_rate": 15,
      "unit": "device",
      "track_inventory": true,
      "stock_qty": 24,
      "low_stock_alert": 10,
      "revenue_account_code": "4000",
      "cogs_account_code": "5000",
      "status": "active"
    },
    {
      "id": "prod_4",
      "tenant_id": "ten_softshore",
      "type": "service",
      "sku": "SVC-SMS-BUNDLE",
      "name": "BGTel Masking SMS Enterprise Pack (50k)",
      "category": "Communication Add-on",
      "description": "50,000 transactional SMS credits with custom Sender ID.",
      "price": 15000,
      "cost": 9000,
      "tax_rate": 15,
      "unit": "pack",
      "track_inventory": false,
      "stock_qty": 0,
      "low_stock_alert": 0,
      "revenue_account_code": "4100",
      "cogs_account_code": "5000",
      "status": "active"
    },
    {
      "id": "prod_5",
      "tenant_id": "ten_softshore",
      "type": "product",
      "sku": "HW-BIO-ATT",
      "name": "Biometric Cloud Attendance Gateway",
      "category": "Hardware",
      "description": "Face + Fingerprint cloud device synced with Payroll module.",
      "price": 12000,
      "cost": 7500,
      "tax_rate": 15,
      "unit": "unit",
      "track_inventory": true,
      "stock_qty": 4,
      "low_stock_alert": 5,
      "revenue_account_code": "4000",
      "cogs_account_code": "5000",
      "status": "active"
    }
  ],
  "subscriptions": [
    {
      "id": "sub_1",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "product_id": "prod_1",
      "plan_name": "Enterprise Cloud ERP & Billing Suite (Monthly)",
      "cycle": "monthly",
      "custom_days": null,
      "start_date": "2026-01-01",
      "next_invoice_date": "2026-10-05",
      "qty": 1,
      "unit_price": 45000,
      "discount_type": "percent",
      "discount_value": 0,
      "tax_rate": 15,
      "auto_renew": true,
      "is_deferred_revenue": false,
      "deferred_months": 1,
      "status": "active",
      "created_at": "2026-01-01T10:00:00.000Z"
    },
    {
      "id": "sub_2",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "product_id": "prod_2",
      "plan_name": "Managed Kubernetes & DB Cluster (Quarterly)",
      "cycle": "quarterly",
      "custom_days": null,
      "start_date": "2026-02-01",
      "next_invoice_date": "2026-11-01",
      "qty": 3,
      "unit_price": 25000,
      "discount_type": "percent",
      "discount_value": 10,
      "tax_rate": 15,
      "auto_renew": true,
      "is_deferred_revenue": true,
      "deferred_months": 3,
      "status": "active",
      "created_at": "2026-02-01T10:00:00.000Z"
    },
    {
      "id": "sub_3",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "product_id": "prod_4",
      "plan_name": "BGTel Masking SMS Enterprise Pack (Monthly)",
      "cycle": "monthly",
      "custom_days": null,
      "start_date": "2026-03-01",
      "next_invoice_date": "2026-10-04",
      "qty": 2,
      "unit_price": 15000,
      "discount_type": "fixed",
      "discount_value": 1000,
      "tax_rate": 15,
      "auto_renew": true,
      "is_deferred_revenue": false,
      "deferred_months": 1,
      "status": "active",
      "created_at": "2026-03-01T10:00:00.000Z"
    },
    {
      "id": "sub_4",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "product_id": "prod_2",
      "plan_name": "Managed Cloud Node (Bi-Weekly Sprint Billing)",
      "cycle": "bi_weekly",
      "custom_days": 14,
      "start_date": "2026-05-01",
      "next_invoice_date": "2026-10-10",
      "qty": 1,
      "unit_price": 14000,
      "discount_type": "percent",
      "discount_value": 0,
      "tax_rate": 15,
      "auto_renew": true,
      "is_deferred_revenue": false,
      "deferred_months": 1,
      "status": "active",
      "created_at": "2026-05-01T10:00:00.000Z"
    }
  ],
  "quotations": [
    {
      "id": "qt_1",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "lead_id": "lead_1",
      "quote_number": "QT-SS-2026-101",
      "issue_date": "2026-10-01",
      "expiry_date": "2026-10-15",
      "currency": "BDT",
      "items": [
        {
          "product_id": "prod_1",
          "description": "Enterprise Cloud ERP & Billing Suite (Annual License)",
          "qty": 1,
          "unit_price": 45000,
          "tax_rate": 15,
          "account_code": "4100"
        },
        {
          "product_id": "prod_3",
          "description": "Smart Android POS & Barcode Terminal (5 Devices)",
          "qty": 5,
          "unit_price": 18500,
          "tax_rate": 15,
          "account_code": "4000"
        }
      ],
      "subtotal": 137500,
      "discount": 5000,
      "tax": 19875,
      "total": 152375,
      "status": "Sent",
      "converted_invoice_id": null,
      "notes": "Includes free on-site branch setup and COA migration.",
      "created_at": "2026-10-01T10:00:00.000Z"
    }
  ],
  "invoices": [
    {
      "id": "inv_cwis",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_5",
      "subscription_id": null,
      "number": "26092501510",
      "date": "2026-09-27",
      "due_date": "2026-10-12",
      "status": "Sent",
      "currency": "BDT",
      "exchange_rate": 1,
      "previous_due": 0,
      "subtotal": 14000,
      "discount": 0,
      "tax": 0,
      "rounding_adjustment": 0,
      "total": 14000,
      "paid_amount": 0,
      "credited_amount": 0,
      "notes": "1. All the amounts are in Bangladeshi Taka | 2. The amount is VAT & Tax Included",
      "terms": "Payment To: Softshore Technology, Acc. No: 2052820500001, BRAC Bank Limited, Gulshan Branch, Dhaka (SWIFT: BRAKBDDH)",
      "je_id": "je_ten_softshore_1791213204367_191"
    },
    {
      "id": "inv_1001",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "subscription_id": "sub_1",
      "number": "INV-SS-2026-1001",
      "date": "2026-09-05",
      "due_date": "2026-09-20",
      "status": "Paid",
      "currency": "BDT",
      "exchange_rate": 1,
      "subtotal": 70000,
      "discount": 0,
      "tax": 10500,
      "rounding_adjustment": 0,
      "total": 80500,
      "paid_amount": 80500,
      "credited_amount": 0,
      "notes": "Thank you for your business with SoftShore Cloud Solutions.",
      "terms": "Net 15 Days. Late payments subject to automated dunning reminders.",
      "je_id": "je_ten_softshore_1791213204367_426"
    },
    {
      "id": "inv_1002",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "subscription_id": "sub_2",
      "number": "INV-SS-2026-1002",
      "date": "2026-09-15",
      "due_date": "2026-10-08",
      "status": "Partially Paid",
      "currency": "BDT",
      "exchange_rate": 1,
      "subtotal": 93500,
      "discount": 3500,
      "tax": 13500,
      "rounding_adjustment": 0,
      "total": 103500,
      "paid_amount": 50000,
      "credited_amount": 0,
      "notes": "Partial payment of BDT 50,000 received via SSLCommerz.",
      "terms": "Balance due by 08 Oct 2026.",
      "je_id": "je_ten_softshore_1791213204367_679"
    },
    {
      "id": "inv_1003",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "subscription_id": "sub_3",
      "number": "INV-SS-2026-1003",
      "date": "2026-09-01",
      "due_date": "2026-09-22",
      "status": "Overdue",
      "currency": "BDT",
      "exchange_rate": 1,
      "subtotal": 30000,
      "discount": 1000,
      "tax": 4350,
      "rounding_adjustment": 0,
      "total": 33350,
      "paid_amount": 0,
      "credited_amount": 0,
      "notes": "Overdue reminder dispatched via BGTel SMS & SMTP.",
      "terms": "Immediate payment requested.",
      "je_id": "je_ten_softshore_1791213204367_453"
    },
    {
      "id": "inv_1004",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "subscription_id": "sub_4",
      "number": "INV-SS-2026-1004",
      "date": "2026-10-01",
      "due_date": "2026-10-07",
      "status": "Sent",
      "currency": "BDT",
      "exchange_rate": 1,
      "subtotal": 26000,
      "discount": 0,
      "tax": 3900,
      "rounding_adjustment": 0,
      "total": 29900,
      "paid_amount": 0,
      "credited_amount": 0,
      "notes": "Due in 3 days — eligible for Pre-Due Reminder Cron.",
      "terms": "Net 7 Days.",
      "je_id": "je_ten_softshore_1791213204367_639"
    }
  ],
  "invoice_items": [
    {
      "id": "item_cwis_1",
      "invoice_id": "inv_cwis",
      "product_id": "prod_1",
      "description": "Monthly Website Development & Maintenance (01-August-2026 to 31-August-2026)",
      "qty": 1,
      "unit_price": 14000,
      "discount": 0,
      "tax_rate": 0,
      "tax_amount": 0,
      "total": 14000,
      "account_code": "4100"
    },
    {
      "id": "item_1001_1",
      "invoice_id": "inv_1001",
      "product_id": "prod_1",
      "description": "Enterprise Cloud ERP & Billing Suite - Sep 2026",
      "qty": 1,
      "unit_price": 45000,
      "discount": 0,
      "tax_rate": 15,
      "tax_amount": 6750,
      "total": 51750,
      "account_code": "4100"
    },
    {
      "id": "item_1001_2",
      "invoice_id": "inv_1001",
      "product_id": "prod_2",
      "description": "Managed Kubernetes & DB Cluster - Sep 2026",
      "qty": 1,
      "unit_price": 25000,
      "discount": 0,
      "tax_rate": 15,
      "tax_amount": 3750,
      "total": 28750,
      "account_code": "4100"
    },
    {
      "id": "item_1002_1",
      "invoice_id": "inv_1002",
      "product_id": "prod_2",
      "description": "Managed Kubernetes & DB Cluster (3 Nodes)",
      "qty": 3,
      "unit_price": 25000,
      "discount": 3500,
      "tax_rate": 15,
      "tax_amount": 10725,
      "total": 82225,
      "account_code": "4100"
    },
    {
      "id": "item_1002_2",
      "invoice_id": "inv_1002",
      "product_id": "prod_3",
      "description": "Smart Android POS & Barcode Terminal",
      "qty": 1,
      "unit_price": 18500,
      "discount": 0,
      "tax_rate": 15,
      "tax_amount": 2775,
      "total": 21275,
      "account_code": "4000"
    },
    {
      "id": "item_1003_1",
      "invoice_id": "inv_1003",
      "product_id": "prod_4",
      "description": "BGTel Masking SMS Enterprise Pack (2x 50k)",
      "qty": 2,
      "unit_price": 15000,
      "discount": 1000,
      "tax_rate": 15,
      "tax_amount": 4350,
      "total": 33350,
      "account_code": "4100"
    },
    {
      "id": "item_1004_1",
      "invoice_id": "inv_1004",
      "product_id": "prod_2",
      "description": "Managed Cloud Node (Bi-Weekly Sprint)",
      "qty": 1,
      "unit_price": 14000,
      "discount": 0,
      "tax_rate": 15,
      "tax_amount": 2100,
      "total": 16100,
      "account_code": "4100"
    },
    {
      "id": "item_1004_2",
      "invoice_id": "inv_1004",
      "product_id": "prod_5",
      "description": "Biometric Cloud Attendance Gateway",
      "qty": 1,
      "unit_price": 12000,
      "discount": 0,
      "tax_rate": 15,
      "tax_amount": 1800,
      "total": 13800,
      "account_code": "4000"
    }
  ],
  "payments": [
    {
      "id": "pmt_501",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "invoice_id": "inv_1001",
      "customer_id": "cust_1",
      "receipt_number": "RCP-SS-2026-501",
      "amount": 80500,
      "bank_charge": 0,
      "method": "Bank Transfer",
      "deposit_account_code": "1010",
      "reference": "CITY-EFT-9928172",
      "is_advance": false,
      "paid_at": "2026-09-18T11:20:00.000Z",
      "status": "Completed",
      "je_id": "je_ten_softshore_1791213204367_953"
    },
    {
      "id": "pmt_502",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "invoice_id": "inv_1002",
      "customer_id": "cust_2",
      "receipt_number": "RCP-SS-2026-502",
      "amount": 50000,
      "bank_charge": 750,
      "method": "SSLCommerz",
      "deposit_account_code": "1010",
      "reference": "SSLCZ-TXN-884120",
      "is_advance": false,
      "paid_at": "2026-09-25T15:40:00.000Z",
      "status": "Completed",
      "je_id": "je_ten_softshore_1791213204367_68"
    }
  ],
  "credit_notes": [],
  "vendors": [
    {
      "id": "vnd_1",
      "tenant_id": "ten_softshore",
      "name": "BDCom Data Center & Colocation PLC",
      "email": "billing@bdcom.com",
      "phone": "+8801711002233",
      "tax_id": "BIN-00551122-0101",
      "category": "Cloud & Bandwidth",
      "balance_payable": 35000
    },
    {
      "id": "vnd_2",
      "tenant_id": "ten_softshore",
      "name": "Ventura Properties Ltd.",
      "email": "rent@venturabd.com",
      "phone": "+8801711004455",
      "tax_id": "BIN-00667788-0101",
      "category": "Office Rent",
      "balance_payable": 0
    }
  ],
  "expenses_bills": [
    {
      "id": "bill_1",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "vendor_id": "vnd_2",
      "voucher_number": "EXP-2026-001",
      "category": "expense",
      "expense_account_code": "5200",
      "payment_account_code": "1010",
      "date": "2026-09-05",
      "due_date": "2026-09-05",
      "amount": 45000,
      "tax_amount": 0,
      "paid_amount": 45000,
      "status": "Paid",
      "description": "September 2026 Head Office Rent (Banani-11)",
      "je_id": "je_ten_softshore_1791213204367_567"
    },
    {
      "id": "bill_2",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "vendor_id": "vnd_1",
      "voucher_number": "BILL-2026-002",
      "category": "expense",
      "expense_account_code": "5300",
      "payment_account_code": "2000",
      "date": "2026-09-10",
      "due_date": "2026-09-25",
      "amount": 35000,
      "tax_amount": 0,
      "paid_amount": 0,
      "status": "Unpaid",
      "description": "Dedicated Fiber & BGP Upstream Bill - Sep 2026",
      "je_id": "je_ten_softshore_1791213204367_46"
    }
  ],
  "fixed_assets": [
    {
      "id": "fa_1",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "asset_code": "FA-SRV-001",
      "name": "Dell PowerEdge R750 Cloud Server Rack",
      "purchase_date": "2026-01-05",
      "purchase_cost": 300000,
      "salvage_value": 30000,
      "useful_life_months": 60,
      "accumulated_depreciation": 4500,
      "last_depreciation_date": "2026-09-30",
      "status": "Active"
    },
    {
      "id": "fa_2",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "asset_code": "FA-MAC-002",
      "name": "Apple MacBook Pro M3 Fleet (Engineering)",
      "purchase_date": "2026-01-10",
      "purchase_cost": 150000,
      "salvage_value": 15000,
      "useful_life_months": 36,
      "accumulated_depreciation": 3750,
      "last_depreciation_date": "2026-09-30",
      "status": "Active"
    }
  ],
  "bank_statements": [
    {
      "id": "bs_1",
      "tenant_id": "ten_softshore",
      "date": "2026-09-18",
      "description": "CITY EFT INWARD - SQUARE PHARMA (INV-SS-2026-1001)",
      "reference": "CITY-EFT-9928172",
      "amount": 80500,
      "type": "credit",
      "matched_je_number": "JE-2026-1007",
      "status": "Matched"
    },
    {
      "id": "bs_2",
      "tenant_id": "ten_softshore",
      "date": "2026-09-25",
      "description": "SSLCOMMERZ SETTLEMENT NET OF MDR (INV-SS-2026-1002)",
      "reference": "SSLCZ-TXN-884120",
      "amount": 49250,
      "type": "credit",
      "matched_je_number": "JE-2026-1008",
      "status": "Matched"
    },
    {
      "id": "bs_3",
      "tenant_id": "ten_softshore",
      "date": "2026-10-03",
      "description": "CITY BANK QUARTERLY ACCOUNT MAINTENANCE & EXCISE DUTY",
      "reference": "BNK-CHG-OCT26",
      "amount": 1150,
      "type": "debit",
      "matched_je_number": null,
      "status": "Unreconciled"
    }
  ],
  "recurring_journals": [
    {
      "id": "rje_1",
      "tenant_id": "ten_softshore",
      "name": "Monthly Office Rent Accrual",
      "frequency": "Monthly",
      "next_run_date": "2026-11-01",
      "debit_account_code": "5200",
      "credit_account_code": "1010",
      "amount": 45000,
      "narration": "Automated Monthly Office Rent Posting",
      "status": "active"
    },
    {
      "id": "rje_2",
      "tenant_id": "ten_softshore",
      "name": "Monthly Fixed Asset Depreciation",
      "frequency": "Monthly",
      "next_run_date": "2026-10-31",
      "debit_account_code": "5600",
      "credit_account_code": "1510",
      "amount": 8250,
      "narration": "Automated Monthly Straight-Line Depreciation",
      "status": "active"
    }
  ],
  "journal_entries": [
    {
      "id": "je_ten_softshore_1791213204367_477",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1001",
      "date": "2026-01-01",
      "narration": "Opening Balance Equity & Capital Injection (FY 2026)",
      "source_module": "Onboarding",
      "event_type": "OPENING_BALANCE",
      "reference_id": "OB-2026-001",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 2185000,
      "total_credit": 2185000,
      "created_by": "Farhana Akter FCA",
      "approved_by": "Farhana Akter FCA",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_612",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1002",
      "date": "2026-09-01",
      "narration": "Purchase of 30 Smart POS Terminals & Biometric Gateways for Inventory",
      "source_module": "Inventory & Purchasing",
      "event_type": "INVENTORY_PURCHASE",
      "reference_id": "PO-2026-001",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 330000,
      "total_credit": 330000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_191",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1003",
      "date": "2026-09-27",
      "narration": "Invoice 26092501510 issued (Credit Sale)",
      "source_module": "Invoicing",
      "event_type": "INVOICE_ISSUED",
      "reference_id": "26092501510",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 14000,
      "total_credit": 14000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_426",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1004",
      "date": "2026-09-05",
      "narration": "Invoice INV-SS-2026-1001 issued (Credit Sale)",
      "source_module": "Invoicing",
      "event_type": "INVOICE_ISSUED",
      "reference_id": "INV-SS-2026-1001",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 80500,
      "total_credit": 80500,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_679",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1005",
      "date": "2026-09-15",
      "narration": "Invoice INV-SS-2026-1002 issued (Credit Sale)",
      "source_module": "Invoicing",
      "event_type": "INVOICE_ISSUED",
      "reference_id": "INV-SS-2026-1002",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 107000,
      "total_credit": 107000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_453",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_ctg",
      "je_number": "JE-2026-1006",
      "date": "2026-09-01",
      "narration": "Invoice INV-SS-2026-1003 issued (Credit Sale)",
      "source_module": "Invoicing",
      "event_type": "INVOICE_ISSUED",
      "reference_id": "INV-SS-2026-1003",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 34350,
      "total_credit": 34350,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_639",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_syl",
      "je_number": "JE-2026-1007",
      "date": "2026-10-01",
      "narration": "Invoice INV-SS-2026-1004 issued (Credit Sale)",
      "source_module": "Invoicing",
      "event_type": "INVOICE_ISSUED",
      "reference_id": "INV-SS-2026-1004",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 29900,
      "total_credit": 29900,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_253",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1008",
      "date": "2026-09-15",
      "narration": "COGS recognition for Invoice INV-SS-2026-1002",
      "source_module": "Inventory & COGS",
      "event_type": "COGS_ON_SALE",
      "reference_id": "INV-SS-2026-1002",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 11000,
      "total_credit": 11000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_953",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1009",
      "date": "2026-09-18",
      "narration": "Payment received (Bank Transfer) - Ref RCP-SS-2026-501",
      "source_module": "Payments",
      "event_type": "CUSTOMER_PAYMENT",
      "reference_id": "RCP-SS-2026-501",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 80500,
      "total_credit": 80500,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_68",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1010",
      "date": "2026-09-25",
      "narration": "Payment received (SSLCommerz) - Ref RCP-SS-2026-502",
      "source_module": "Payments",
      "event_type": "PARTIAL_PAYMENT",
      "reference_id": "RCP-SS-2026-502",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 50000,
      "total_credit": 50000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_567",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1011",
      "date": "2026-09-05",
      "narration": "September 2026 Head Office Rent (Banani-11)",
      "source_module": "Expenses & AP",
      "event_type": "EXPENSE_ENTRY",
      "reference_id": "EXP-2026-001",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 45000,
      "total_credit": 45000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_46",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1012",
      "date": "2026-09-10",
      "narration": "Dedicated Fiber & BGP Upstream Bill - Sep 2026",
      "source_module": "Expenses & AP",
      "event_type": "EXPENSE_ENTRY",
      "reference_id": "BILL-2026-002",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 35000,
      "total_credit": 35000,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "je_ten_softshore_1791213204367_561",
      "tenant_id": "ten_softshore",
      "branch_id": "br_ten_softshore_hq",
      "je_number": "JE-2026-1013",
      "date": "2026-09-30",
      "narration": "Monthly Straight-Line Depreciation (Server Rack & MacBooks)",
      "source_module": "Fixed Assets",
      "event_type": "DEPRECIATION",
      "reference_id": "DEP-2026-09",
      "status": "Posted",
      "reversal_of_je_id": null,
      "reversed_by_je_id": null,
      "total_debit": 8250,
      "total_credit": 8250,
      "created_by": "Silent Auto-GL Engine",
      "approved_by": "Silent Auto-GL Engine",
      "posted_at": "2026-10-05T15:13:24.367Z"
    }
  ],
  "journal_lines": [
    {
      "id": "jl_je_ten_softshore_1791213204367_477_1",
      "je_id": "je_ten_softshore_1791213204367_477",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "account_name": "Cash at Bank",
      "debit": 1500000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Opening Cash at Bank (City Bank PLC)"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_477_2",
      "je_id": "je_ten_softshore_1791213204367_477",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1000",
      "account_code": "1000",
      "account_name": "Cash on Hand",
      "debit": 150000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Opening Petty Cash on Hand"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_477_3",
      "je_id": "je_ten_softshore_1791213204367_477",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1020",
      "account_code": "1020",
      "account_name": "Mobile Wallet (bKash/Nagad)",
      "debit": 85000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Opening bKash Merchant Wallet Balance"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_477_4",
      "je_id": "je_ten_softshore_1791213204367_477",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1500",
      "account_code": "1500",
      "account_name": "Fixed Assets",
      "debit": 450000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Server Racks & Office MacBooks"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_477_5",
      "je_id": "je_ten_softshore_1791213204367_477",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_3000",
      "account_code": "3000",
      "account_name": "Owner's Capital",
      "debit": 0,
      "credit": 2185000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Owner's Capital Seed Investment"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_612_1",
      "je_id": "je_ten_softshore_1791213204367_612",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1200",
      "account_code": "1200",
      "account_name": "Inventory",
      "debit": 330000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Purchase of 30 Smart POS Terminals & Biometric Gateways for Inventory"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_612_2",
      "je_id": "je_ten_softshore_1791213204367_612",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "account_name": "Cash at Bank",
      "debit": 0,
      "credit": 330000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Purchase of 30 Smart POS Terminals & Biometric Gateways for Inventory"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_191_1",
      "je_id": "je_ten_softshore_1791213204367_191",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 14000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_5",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR for Invoice 26092501510"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_191_2",
      "je_id": "je_ten_softshore_1791213204367_191",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "account_name": "Service Revenue",
      "debit": 0,
      "credit": 14000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_5",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice 26092501510"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_426_1",
      "je_id": "je_ten_softshore_1791213204367_426",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 80500,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR for Invoice INV-SS-2026-1001"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_426_2",
      "je_id": "je_ten_softshore_1791213204367_426",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "account_name": "Service Revenue",
      "debit": 0,
      "credit": 70000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice INV-SS-2026-1001"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_426_3",
      "je_id": "je_ten_softshore_1791213204367_426",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "account_name": "VAT/Tax Payable",
      "debit": 0,
      "credit": 10500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "vendor_id": null,
      "tax_code": "VAT-OUTPUT",
      "memo": "Output VAT collected on Invoice INV-SS-2026-1001"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_679_1",
      "je_id": "je_ten_softshore_1791213204367_679",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 103500,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR for Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_679_2",
      "je_id": "je_ten_softshore_1791213204367_679",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4200",
      "account_code": "4200",
      "account_name": "Discounts Given",
      "debit": 3500,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Discount given on Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_679_3",
      "je_id": "je_ten_softshore_1791213204367_679",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4000",
      "account_code": "4000",
      "account_name": "Product Sales Revenue",
      "debit": 0,
      "credit": 18500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_679_4",
      "je_id": "je_ten_softshore_1791213204367_679",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "account_name": "Service Revenue",
      "debit": 0,
      "credit": 75000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_679_5",
      "je_id": "je_ten_softshore_1791213204367_679",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "account_name": "VAT/Tax Payable",
      "debit": 0,
      "credit": 13500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": "VAT-OUTPUT",
      "memo": "Output VAT collected on Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_453_1",
      "je_id": "je_ten_softshore_1791213204367_453",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 33350,
      "credit": 0,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR for Invoice INV-SS-2026-1003"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_453_2",
      "je_id": "je_ten_softshore_1791213204367_453",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4200",
      "account_code": "4200",
      "account_name": "Discounts Given",
      "debit": 1000,
      "credit": 0,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Discount given on Invoice INV-SS-2026-1003"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_453_3",
      "je_id": "je_ten_softshore_1791213204367_453",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "account_name": "Service Revenue",
      "debit": 0,
      "credit": 30000,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice INV-SS-2026-1003"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_453_4",
      "je_id": "je_ten_softshore_1791213204367_453",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "account_name": "VAT/Tax Payable",
      "debit": 0,
      "credit": 4350,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "vendor_id": null,
      "tax_code": "VAT-OUTPUT",
      "memo": "Output VAT collected on Invoice INV-SS-2026-1003"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_639_1",
      "je_id": "je_ten_softshore_1791213204367_639",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 29900,
      "credit": 0,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR for Invoice INV-SS-2026-1004"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_639_2",
      "je_id": "je_ten_softshore_1791213204367_639",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4000",
      "account_code": "4000",
      "account_name": "Product Sales Revenue",
      "debit": 0,
      "credit": 12000,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice INV-SS-2026-1004"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_639_3",
      "je_id": "je_ten_softshore_1791213204367_639",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "account_name": "Service Revenue",
      "debit": 0,
      "credit": 14000,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Revenue for Invoice INV-SS-2026-1004"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_639_4",
      "je_id": "je_ten_softshore_1791213204367_639",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "account_name": "VAT/Tax Payable",
      "debit": 0,
      "credit": 3900,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "vendor_id": null,
      "tax_code": "VAT-OUTPUT",
      "memo": "Output VAT collected on Invoice INV-SS-2026-1004"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_253_1",
      "je_id": "je_ten_softshore_1791213204367_253",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5000",
      "account_code": "5000",
      "account_name": "Cost of Goods Sold (COGS)",
      "debit": 11000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "COGS recognition for Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_253_2",
      "je_id": "je_ten_softshore_1791213204367_253",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1200",
      "account_code": "1200",
      "account_name": "Inventory",
      "debit": 0,
      "credit": 11000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "COGS recognition for Invoice INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_953_1",
      "je_id": "je_ten_softshore_1791213204367_953",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "account_name": "Cash at Bank",
      "debit": 80500,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Deposit to 1010 (Bank Transfer)"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_953_2",
      "je_id": "je_ten_softshore_1791213204367_953",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 0,
      "credit": 80500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR settlement for INV-SS-2026-1001"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_68_1",
      "je_id": "je_ten_softshore_1791213204367_68",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "account_name": "Cash at Bank",
      "debit": 49250,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Deposit to 1010 (SSLCommerz)"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_68_2",
      "je_id": "je_ten_softshore_1791213204367_68",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5500",
      "account_code": "5500",
      "account_name": "Bank Charges",
      "debit": 750,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "Gateway / Bank fee on RCP-SS-2026-502"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_68_3",
      "je_id": "je_ten_softshore_1791213204367_68",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "account_name": "Accounts Receivable (AR)",
      "debit": 0,
      "credit": 50000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "vendor_id": null,
      "tax_code": null,
      "memo": "AR settlement for INV-SS-2026-1002"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_567_1",
      "je_id": "je_ten_softshore_1791213204367_567",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5200",
      "account_code": "5200",
      "account_name": "Rent Expense",
      "debit": 45000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": "vnd_2",
      "tax_code": null,
      "memo": "September 2026 Head Office Rent (Banani-11)"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_567_2",
      "je_id": "je_ten_softshore_1791213204367_567",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "account_name": "Cash at Bank",
      "debit": 0,
      "credit": 45000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": "vnd_2",
      "tax_code": null,
      "memo": "September 2026 Head Office Rent (Banani-11)"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_46_1",
      "je_id": "je_ten_softshore_1791213204367_46",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5300",
      "account_code": "5300",
      "account_name": "Utilities",
      "debit": 35000,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": "vnd_1",
      "tax_code": null,
      "memo": "Dedicated Fiber & BGP Upstream Bill - Sep 2026"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_46_2",
      "je_id": "je_ten_softshore_1791213204367_46",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2000",
      "account_code": "2000",
      "account_name": "Accounts Payable (AP)",
      "debit": 0,
      "credit": 35000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": "vnd_1",
      "tax_code": null,
      "memo": "Dedicated Fiber & BGP Upstream Bill - Sep 2026"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_561_1",
      "je_id": "je_ten_softshore_1791213204367_561",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5600",
      "account_code": "5600",
      "account_name": "Depreciation",
      "debit": 8250,
      "credit": 0,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Monthly Straight-Line Depreciation (Server Rack & MacBooks)"
    },
    {
      "id": "jl_je_ten_softshore_1791213204367_561_2",
      "je_id": "je_ten_softshore_1791213204367_561",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1510",
      "account_code": "1510",
      "account_name": "Accumulated Depreciation",
      "debit": 0,
      "credit": 8250,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "vendor_id": null,
      "tax_code": null,
      "memo": "Monthly Straight-Line Depreciation (Server Rack & MacBooks)"
    }
  ],
  "ledger_entries": [
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_477_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "je_id": "je_ten_softshore_1791213204367_477",
      "je_number": "JE-2026-1001",
      "line_id": "jl_je_ten_softshore_1791213204367_477_1",
      "date": "2026-01-01",
      "narration": "Opening Cash at Bank (City Bank PLC)",
      "debit": 1500000,
      "credit": 0,
      "balance_after": 1500000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_477_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1000",
      "account_code": "1000",
      "je_id": "je_ten_softshore_1791213204367_477",
      "je_number": "JE-2026-1001",
      "line_id": "jl_je_ten_softshore_1791213204367_477_2",
      "date": "2026-01-01",
      "narration": "Opening Petty Cash on Hand",
      "debit": 150000,
      "credit": 0,
      "balance_after": 150000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_477_3",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1020",
      "account_code": "1020",
      "je_id": "je_ten_softshore_1791213204367_477",
      "je_number": "JE-2026-1001",
      "line_id": "jl_je_ten_softshore_1791213204367_477_3",
      "date": "2026-01-01",
      "narration": "Opening bKash Merchant Wallet Balance",
      "debit": 85000,
      "credit": 0,
      "balance_after": 85000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_477_4",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1500",
      "account_code": "1500",
      "je_id": "je_ten_softshore_1791213204367_477",
      "je_number": "JE-2026-1001",
      "line_id": "jl_je_ten_softshore_1791213204367_477_4",
      "date": "2026-01-01",
      "narration": "Server Racks & Office MacBooks",
      "debit": 450000,
      "credit": 0,
      "balance_after": 450000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_477_5",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_3000",
      "account_code": "3000",
      "je_id": "je_ten_softshore_1791213204367_477",
      "je_number": "JE-2026-1001",
      "line_id": "jl_je_ten_softshore_1791213204367_477_5",
      "date": "2026-01-01",
      "narration": "Owner's Capital Seed Investment",
      "debit": 0,
      "credit": 2185000,
      "balance_after": 2185000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_612_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1200",
      "account_code": "1200",
      "je_id": "je_ten_softshore_1791213204367_612",
      "je_number": "JE-2026-1002",
      "line_id": "jl_je_ten_softshore_1791213204367_612_1",
      "date": "2026-09-01",
      "narration": "Purchase of 30 Smart POS Terminals & Biometric Gateways for Inventory",
      "debit": 330000,
      "credit": 0,
      "balance_after": 330000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_612_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "je_id": "je_ten_softshore_1791213204367_612",
      "je_number": "JE-2026-1002",
      "line_id": "jl_je_ten_softshore_1791213204367_612_2",
      "date": "2026-09-01",
      "narration": "Purchase of 30 Smart POS Terminals & Biometric Gateways for Inventory",
      "debit": 0,
      "credit": 330000,
      "balance_after": 1170000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_191_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_191",
      "je_number": "JE-2026-1003",
      "line_id": "jl_je_ten_softshore_1791213204367_191_1",
      "date": "2026-09-27",
      "narration": "AR for Invoice 26092501510",
      "debit": 14000,
      "credit": 0,
      "balance_after": 14000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_5",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_191_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "je_id": "je_ten_softshore_1791213204367_191",
      "je_number": "JE-2026-1003",
      "line_id": "jl_je_ten_softshore_1791213204367_191_2",
      "date": "2026-09-27",
      "narration": "Revenue for Invoice 26092501510",
      "debit": 0,
      "credit": 14000,
      "balance_after": 14000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_5",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_426_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_426",
      "je_number": "JE-2026-1004",
      "line_id": "jl_je_ten_softshore_1791213204367_426_1",
      "date": "2026-09-05",
      "narration": "AR for Invoice INV-SS-2026-1001",
      "debit": 80500,
      "credit": 0,
      "balance_after": 94500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_426_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "je_id": "je_ten_softshore_1791213204367_426",
      "je_number": "JE-2026-1004",
      "line_id": "jl_je_ten_softshore_1791213204367_426_2",
      "date": "2026-09-05",
      "narration": "Revenue for Invoice INV-SS-2026-1001",
      "debit": 0,
      "credit": 70000,
      "balance_after": 84000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_426_3",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "je_id": "je_ten_softshore_1791213204367_426",
      "je_number": "JE-2026-1004",
      "line_id": "jl_je_ten_softshore_1791213204367_426_3",
      "date": "2026-09-05",
      "narration": "Output VAT collected on Invoice INV-SS-2026-1001",
      "debit": 0,
      "credit": 10500,
      "balance_after": 10500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_679_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_679",
      "je_number": "JE-2026-1005",
      "line_id": "jl_je_ten_softshore_1791213204367_679_1",
      "date": "2026-09-15",
      "narration": "AR for Invoice INV-SS-2026-1002",
      "debit": 103500,
      "credit": 0,
      "balance_after": 198000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_679_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4200",
      "account_code": "4200",
      "je_id": "je_ten_softshore_1791213204367_679",
      "je_number": "JE-2026-1005",
      "line_id": "jl_je_ten_softshore_1791213204367_679_2",
      "date": "2026-09-15",
      "narration": "Discount given on Invoice INV-SS-2026-1002",
      "debit": 3500,
      "credit": 0,
      "balance_after": -3500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_679_3",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4000",
      "account_code": "4000",
      "je_id": "je_ten_softshore_1791213204367_679",
      "je_number": "JE-2026-1005",
      "line_id": "jl_je_ten_softshore_1791213204367_679_3",
      "date": "2026-09-15",
      "narration": "Revenue for Invoice INV-SS-2026-1002",
      "debit": 0,
      "credit": 18500,
      "balance_after": 18500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_679_4",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "je_id": "je_ten_softshore_1791213204367_679",
      "je_number": "JE-2026-1005",
      "line_id": "jl_je_ten_softshore_1791213204367_679_4",
      "date": "2026-09-15",
      "narration": "Revenue for Invoice INV-SS-2026-1002",
      "debit": 0,
      "credit": 75000,
      "balance_after": 159000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_679_5",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "je_id": "je_ten_softshore_1791213204367_679",
      "je_number": "JE-2026-1005",
      "line_id": "jl_je_ten_softshore_1791213204367_679_5",
      "date": "2026-09-15",
      "narration": "Output VAT collected on Invoice INV-SS-2026-1002",
      "debit": 0,
      "credit": 13500,
      "balance_after": 24000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_453_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_453",
      "je_number": "JE-2026-1006",
      "line_id": "jl_je_ten_softshore_1791213204367_453_1",
      "date": "2026-09-01",
      "narration": "AR for Invoice INV-SS-2026-1003",
      "debit": 33350,
      "credit": 0,
      "balance_after": 231350,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_453_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4200",
      "account_code": "4200",
      "je_id": "je_ten_softshore_1791213204367_453",
      "je_number": "JE-2026-1006",
      "line_id": "jl_je_ten_softshore_1791213204367_453_2",
      "date": "2026-09-01",
      "narration": "Discount given on Invoice INV-SS-2026-1003",
      "debit": 1000,
      "credit": 0,
      "balance_after": -4500,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_453_3",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "je_id": "je_ten_softshore_1791213204367_453",
      "je_number": "JE-2026-1006",
      "line_id": "jl_je_ten_softshore_1791213204367_453_3",
      "date": "2026-09-01",
      "narration": "Revenue for Invoice INV-SS-2026-1003",
      "debit": 0,
      "credit": 30000,
      "balance_after": 189000,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_453_4",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "je_id": "je_ten_softshore_1791213204367_453",
      "je_number": "JE-2026-1006",
      "line_id": "jl_je_ten_softshore_1791213204367_453_4",
      "date": "2026-09-01",
      "narration": "Output VAT collected on Invoice INV-SS-2026-1003",
      "debit": 0,
      "credit": 4350,
      "balance_after": 28350,
      "branch_id": "br_ten_softshore_ctg",
      "customer_id": "cust_3",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_639_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_639",
      "je_number": "JE-2026-1007",
      "line_id": "jl_je_ten_softshore_1791213204367_639_1",
      "date": "2026-10-01",
      "narration": "AR for Invoice INV-SS-2026-1004",
      "debit": 29900,
      "credit": 0,
      "balance_after": 261250,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_639_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4000",
      "account_code": "4000",
      "je_id": "je_ten_softshore_1791213204367_639",
      "je_number": "JE-2026-1007",
      "line_id": "jl_je_ten_softshore_1791213204367_639_2",
      "date": "2026-10-01",
      "narration": "Revenue for Invoice INV-SS-2026-1004",
      "debit": 0,
      "credit": 12000,
      "balance_after": 30500,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_639_3",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_4100",
      "account_code": "4100",
      "je_id": "je_ten_softshore_1791213204367_639",
      "je_number": "JE-2026-1007",
      "line_id": "jl_je_ten_softshore_1791213204367_639_3",
      "date": "2026-10-01",
      "narration": "Revenue for Invoice INV-SS-2026-1004",
      "debit": 0,
      "credit": 14000,
      "balance_after": 203000,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_639_4",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2100",
      "account_code": "2100",
      "je_id": "je_ten_softshore_1791213204367_639",
      "je_number": "JE-2026-1007",
      "line_id": "jl_je_ten_softshore_1791213204367_639_4",
      "date": "2026-10-01",
      "narration": "Output VAT collected on Invoice INV-SS-2026-1004",
      "debit": 0,
      "credit": 3900,
      "balance_after": 32250,
      "branch_id": "br_ten_softshore_syl",
      "customer_id": "cust_4",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_253_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5000",
      "account_code": "5000",
      "je_id": "je_ten_softshore_1791213204367_253",
      "je_number": "JE-2026-1008",
      "line_id": "jl_je_ten_softshore_1791213204367_253_1",
      "date": "2026-09-15",
      "narration": "COGS recognition for Invoice INV-SS-2026-1002",
      "debit": 11000,
      "credit": 0,
      "balance_after": 11000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_253_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1200",
      "account_code": "1200",
      "je_id": "je_ten_softshore_1791213204367_253",
      "je_number": "JE-2026-1008",
      "line_id": "jl_je_ten_softshore_1791213204367_253_2",
      "date": "2026-09-15",
      "narration": "COGS recognition for Invoice INV-SS-2026-1002",
      "debit": 0,
      "credit": 11000,
      "balance_after": 319000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_953_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "je_id": "je_ten_softshore_1791213204367_953",
      "je_number": "JE-2026-1009",
      "line_id": "jl_je_ten_softshore_1791213204367_953_1",
      "date": "2026-09-18",
      "narration": "Deposit to 1010 (Bank Transfer)",
      "debit": 80500,
      "credit": 0,
      "balance_after": 1250500,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_953_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_953",
      "je_number": "JE-2026-1009",
      "line_id": "jl_je_ten_softshore_1791213204367_953_2",
      "date": "2026-09-18",
      "narration": "AR settlement for INV-SS-2026-1001",
      "debit": 0,
      "credit": 80500,
      "balance_after": 180750,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_1",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_68_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "je_id": "je_ten_softshore_1791213204367_68",
      "je_number": "JE-2026-1010",
      "line_id": "jl_je_ten_softshore_1791213204367_68_1",
      "date": "2026-09-25",
      "narration": "Deposit to 1010 (SSLCommerz)",
      "debit": 49250,
      "credit": 0,
      "balance_after": 1299750,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_68_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5500",
      "account_code": "5500",
      "je_id": "je_ten_softshore_1791213204367_68",
      "je_number": "JE-2026-1010",
      "line_id": "jl_je_ten_softshore_1791213204367_68_2",
      "date": "2026-09-25",
      "narration": "Gateway / Bank fee on RCP-SS-2026-502",
      "debit": 750,
      "credit": 0,
      "balance_after": 750,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_68_3",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1100",
      "account_code": "1100",
      "je_id": "je_ten_softshore_1791213204367_68",
      "je_number": "JE-2026-1010",
      "line_id": "jl_je_ten_softshore_1791213204367_68_3",
      "date": "2026-09-25",
      "narration": "AR settlement for INV-SS-2026-1002",
      "debit": 0,
      "credit": 50000,
      "balance_after": 130750,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": "cust_2",
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_567_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5200",
      "account_code": "5200",
      "je_id": "je_ten_softshore_1791213204367_567",
      "je_number": "JE-2026-1011",
      "line_id": "jl_je_ten_softshore_1791213204367_567_1",
      "date": "2026-09-05",
      "narration": "September 2026 Head Office Rent (Banani-11)",
      "debit": 45000,
      "credit": 0,
      "balance_after": 45000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_567_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1010",
      "account_code": "1010",
      "je_id": "je_ten_softshore_1791213204367_567",
      "je_number": "JE-2026-1011",
      "line_id": "jl_je_ten_softshore_1791213204367_567_2",
      "date": "2026-09-05",
      "narration": "September 2026 Head Office Rent (Banani-11)",
      "debit": 0,
      "credit": 45000,
      "balance_after": 1254750,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_46_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5300",
      "account_code": "5300",
      "je_id": "je_ten_softshore_1791213204367_46",
      "je_number": "JE-2026-1012",
      "line_id": "jl_je_ten_softshore_1791213204367_46_1",
      "date": "2026-09-10",
      "narration": "Dedicated Fiber & BGP Upstream Bill - Sep 2026",
      "debit": 35000,
      "credit": 0,
      "balance_after": 35000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_46_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_2000",
      "account_code": "2000",
      "je_id": "je_ten_softshore_1791213204367_46",
      "je_number": "JE-2026-1012",
      "line_id": "jl_je_ten_softshore_1791213204367_46_2",
      "date": "2026-09-10",
      "narration": "Dedicated Fiber & BGP Upstream Bill - Sep 2026",
      "debit": 0,
      "credit": 35000,
      "balance_after": 35000,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_561_1",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_5600",
      "account_code": "5600",
      "je_id": "je_ten_softshore_1791213204367_561",
      "je_number": "JE-2026-1013",
      "line_id": "jl_je_ten_softshore_1791213204367_561_1",
      "date": "2026-09-30",
      "narration": "Monthly Straight-Line Depreciation (Server Rack & MacBooks)",
      "debit": 8250,
      "credit": 0,
      "balance_after": 8250,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    },
    {
      "id": "gl_jl_je_ten_softshore_1791213204367_561_2",
      "tenant_id": "ten_softshore",
      "account_id": "acc_ten_softshore_1510",
      "account_code": "1510",
      "je_id": "je_ten_softshore_1791213204367_561",
      "je_number": "JE-2026-1013",
      "line_id": "jl_je_ten_softshore_1791213204367_561_2",
      "date": "2026-09-30",
      "narration": "Monthly Straight-Line Depreciation (Server Rack & MacBooks)",
      "debit": 0,
      "credit": 8250,
      "balance_after": -8250,
      "branch_id": "br_ten_softshore_hq",
      "customer_id": null,
      "posted_at": "2026-10-05T15:13:24.367Z"
    }
  ],
  "notification_templates": [
    {
      "id": "nt_ten_softshore_invoice_created",
      "tenant_id": "ten_softshore",
      "event": "invoice_created",
      "label": "On Invoice Creation",
      "channel": "both",
      "days_offset": 0,
      "email_subject": "New Invoice {invoice_no} from {company_name}",
      "email_body": "Dear {customer_name},\n\nYour invoice {invoice_no} for {amount} has been issued. Due Date: {due_date}.\nPay securely online: {payment_link}\n\nThank you,\n{company_name}",
      "sms_body": "{company_name}: Invoice {invoice_no} for {amount} issued. Due {due_date}. Pay: {payment_link}",
      "is_enabled": true
    },
    {
      "id": "nt_ten_softshore_before_due_3d",
      "tenant_id": "ten_softshore",
      "event": "before_due_3d",
      "label": "3 Days Before Due Reminder",
      "channel": "both",
      "days_offset": -3,
      "email_subject": "Friendly Reminder: Invoice {invoice_no} is due in 3 days ({due_date})",
      "email_body": "Dear {customer_name},\n\nThis is a reminder that invoice {invoice_no} of {amount} is due on {due_date}. Please complete payment at {payment_link}.",
      "sms_body": "Reminder from {company_name}: Invoice {invoice_no} ({amount}) is due on {due_date}. Pay: {payment_link}",
      "is_enabled": true
    },
    {
      "id": "nt_ten_softshore_on_due_date",
      "tenant_id": "ten_softshore",
      "event": "on_due_date",
      "label": "On Due Date Alert",
      "channel": "both",
      "days_offset": 0,
      "email_subject": "Due Today: Invoice {invoice_no} ({amount})",
      "email_body": "Dear {customer_name},\n\nYour invoice {invoice_no} for {amount} is due today ({due_date}). Pay online at {payment_link}.",
      "sms_body": "{company_name}: Invoice {invoice_no} for {amount} is DUE TODAY ({due_date}). Pay now: {payment_link}",
      "is_enabled": true
    },
    {
      "id": "nt_ten_softshore_overdue_3d",
      "tenant_id": "ten_softshore",
      "event": "overdue_3d",
      "label": "Overdue Reminder (3 Days Past Due)",
      "channel": "both",
      "days_offset": 3,
      "email_subject": "OVERDUE Notice: Invoice {invoice_no} ({amount})",
      "email_body": "Dear {customer_name},\n\nYour invoice {invoice_no} for {amount} was due on {due_date} and is now overdue. Kindly settle immediately at {payment_link}.",
      "sms_body": "URGENT ({company_name}): Invoice {invoice_no} of {amount} is OVERDUE since {due_date}. Please pay: {payment_link}",
      "is_enabled": true
    },
    {
      "id": "nt_ten_softshore_payment_received",
      "tenant_id": "ten_softshore",
      "event": "payment_received",
      "label": "On Payment Confirmation & Receipt",
      "channel": "both",
      "days_offset": 0,
      "email_subject": "Payment Received for Invoice {invoice_no} - Thank You!",
      "email_body": "Dear {customer_name},\n\nWe have received your payment of {amount} for Invoice {invoice_no}. Your official receipt is attached.\n\nWarm regards,\n{company_name}",
      "sms_body": "Thank you {customer_name}! Payment of {amount} received for {invoice_no} ({company_name}).",
      "is_enabled": true
    },
    {
      "id": "nt_ten_softshore_subscription_renewed",
      "tenant_id": "ten_softshore",
      "event": "subscription_renewed",
      "label": "On Subscription Renewal",
      "channel": "both",
      "days_offset": 0,
      "email_subject": "Subscription Renewed & Invoice {invoice_no} Generated",
      "email_body": "Dear {customer_name},\n\nYour subscription with {company_name} has been renewed. Invoice {invoice_no} for {amount} is due on {due_date}.",
      "sms_body": "{company_name}: Subscription renewed. Invoice {invoice_no} ({amount}) due {due_date}.",
      "is_enabled": true
    }
  ],
  "notification_logs": [
    {
      "id": "nl_seed_1",
      "tenant_id": "ten_softshore",
      "channel": "sms",
      "recipient": "+8801710328545",
      "customer_name": "Square Pharmaceuticals PLC",
      "event": "payment_received",
      "subject": "SMS [KidLand]",
      "message": "Thank you Square Pharmaceuticals PLC! Payment of BDT 80,500 received for INV-SS-2026-1001 (SoftShore Cloud Solutions Ltd.).",
      "gateway_url": "https://apipro.bgtelsms.com/onetomany?acode=30000075&api_key=00694cc4892224ee3eefffed2330becadcb8cade&senderid=KidLand&type=text&msg=Thank+you&contacts=%2B8801710328545&transactionType=T&contentID=INV-SS-2026-1001",
      "gateway_response": "BGTel HTTP 200: SMS Dispatched [Sender: KidLand, ContentID: INV-SS-2026-1001]",
      "status": "delivered",
      "retry_count": 0,
      "sent_at": "2026-09-18T11:20:05.000Z"
    },
    {
      "id": "nl_seed_2",
      "tenant_id": "ten_softshore",
      "channel": "email",
      "recipient": "mehedi@squarepharma.com.bd",
      "customer_name": "Square Pharmaceuticals PLC",
      "event": "payment_received",
      "subject": "Payment Received for Invoice INV-SS-2026-1001 - Thank You!",
      "message": "Dear Square Pharmaceuticals PLC, We have received your payment of BDT 80,500. Official receipt RCP-SS-2026-501 attached.",
      "gateway_response": "250 2.0.0 OK (SMTP: no-reply@softshore.tech)",
      "status": "delivered",
      "retry_count": 0,
      "sent_at": "2026-09-18T11:20:06.000Z"
    },
    {
      "id": "nl_seed_3",
      "tenant_id": "ten_softshore",
      "channel": "sms",
      "recipient": "+8801811334455",
      "customer_name": "Karnafuli Port Logistics Ltd.",
      "event": "overdue_3d",
      "subject": "SMS [KidLand]",
      "message": "URGENT (SoftShore Cloud Solutions Ltd.): Invoice INV-SS-2026-1003 of BDT 33,350 is OVERDUE since 2026-09-22. Please pay online.",
      "gateway_response": "BGTel HTTP 200: SMS Dispatched [Sender: KidLand]",
      "status": "delivered",
      "retry_count": 0,
      "sent_at": "2026-09-25T09:00:00.000Z"
    }
  ],
  "audit_logs": [
    {
      "id": "aud_1",
      "tenant_id": "ten_softshore",
      "user_id": "usr_super",
      "user_name": "Kayser Ahmed (Super Admin)",
      "user_role": "Super Admin",
      "action": "TENANT_CREATED_AUTO_SEED_COA",
      "entity": "Tenant",
      "entity_id": "ten_softshore",
      "summary": "Provisioned tenant SoftShore Cloud Solutions Ltd. & auto-seeded 30 COA accounts, FY 2026, and 12 GL periods in 12ms.",
      "ip_address": "103.148.22.10",
      "created_at": "2026-01-10T08:00:01.000Z"
    },
    {
      "id": "aud_2",
      "tenant_id": "ten_softshore",
      "user_id": "usr_accountant",
      "user_name": "Farhana Akter FCA",
      "user_role": "Accountant",
      "action": "GL_AUTO_POSTING_VERIFIED",
      "entity": "JournalEntry",
      "entity_id": "JE-2026-1007",
      "summary": "Verified Trial Balance equilibrium (Total Debits = Total Credits) after Payment RCP-SS-2026-501.",
      "ip_address": "103.148.22.14",
      "created_at": "2026-09-18T11:25:00.000Z"
    }
  ]
}