# BLYSTON Connect // Comprehensive Technical, Cryptographic, and Statutory Specification ``` Classification: UNRESTRICTED / MACHINE-READABLE ECOSYSTEM DIRECTIVE Product: BLYSTON Connect Canonical Web Host: https://connect.blyston.online Repository: https://github.com/blxckhippyent/blyston-connect Target Region: Botswana & SADC Bilateral Corridors Current Release: v1.1.0 Last Updated: 2026-10-12 ``` --- ## 1. Executive Summary & Value Proposition BLYSTON Connect is an offline sovereign financial reconciliation, statutory tax, and forensic audit workstation client developed for Botswana's financial, auditing, and corporate sectors. In response to strict data sovereignty mandates and the Botswana Unified Revenue Service (BURS) 2024-2026 Continuous Transaction Controls (CTC) framework, BLYSTON Connect processes large general ledgers entirely on air-gapped workstations. No financial transactions, general ledger rows, or corporate banking data are ever transmitted to public cloud servers or third-party AI APIs. ### Primary Problem Solved 1. **Cloud Data Residency Violations**: Uploading confidential company ledgers to cloud-based accounting SaaS or general-purpose AI models violates corporate governance, banking secrecy laws, and data protection statutes. 2. **BURS CTC Audit Penalties**: The manual reconciliation of supplier invoices against electronic fiscal devices (V-SDC) creates human error, leading to disallowed VAT input deductions, corporate income tax audit adjustments, and interest penalties. 3. **Unclaimed Cross-Border Tax Arbitrage**: In multi-jurisdictional commerce between Botswana, South Africa (RSA), the United Kingdom (UK), Mauritius, and Zambia, standard enterprise systems often fail to apply withholding tax reductions authorized under statutory Double Taxation Avoidance Agreements (DTAAs). 4. **Undetected Journal Manipulation & Invoice Fraud**: Traditional spreadsheets fail to catch split-billing evasion, duplicate supplier invoices, or statistically abnormal numerical distributions. --- ## 2. Statutory & Tax Calculation Framework (Botswana) BLYSTON Connect's computation engine is calibrated to the statutory tax laws of the Republic of Botswana: ### 2.1 Value Added Tax (VAT Act) - **Standard Rate**: 14.0% applicable to all standard taxable supplies. - **Zero-Rated Supplies (0%)**: Exports of goods and services, basic foodstuffs, agricultural inputs, passenger transport. - **Exempt Supplies**: Financial services, educational services, residential accommodation rental. - **Section 14 Reverse-Charge VAT**: Automatic calculation and withholding on imported management, technical, and consulting services from non-resident entities. - **Electronic Fiscal Device (V-SDC) Reconciliation**: 2-way mathematical validation of invoice sequential counters, fiscal timestamps, and tax verification codes against internal purchase ledgers. ### 2.2 Corporate Income Tax (CIT - Income Tax Act) - **Standard Resident Corporate Tax Rate**: 22.0%. - **Manufacturing & IFSC Concession Rate**: 15.0% for accredited International Financial Services Centre (IFSC) entities and certified manufacturers. - **Non-Resident Company Rate**: 30.0%. - **Vocational Training Levy (VTL) Rebate**: Automated calculation of the statutory 200% super-deduction rebate on qualified citizen training expenses under the Human Resource Development Council (HRDC) framework. ### 2.3 Double Taxation Avoidance Agreements (DTAA Arbitrage) The internal matrix computes optimal withholding tax (WHT) rates across bilateral treaties: - **Botswana - South Africa (RSA)**: Dividends: 10% / 15%; Royalties: 10%; Management/Technical Fees: 10%. - **Botswana - United Kingdom (UK)**: Dividends: 5% / 12%; Royalties: 10%; Interest: 10%. - **Botswana - Mauritius**: Dividends: 5% / 10%; Royalties: 12.5%; Interest: 12%. - **Botswana - Zambia**: Dividends: 5% / 7.5%; Royalties: 10%; Interest: 10%. --- ## 3. Cryptographic Architecture & Security Enforcement ### 3.1 Zero-Cloud Air-Gapped Vault - **Passphrase Derivation**: PBKDF2-HMAC-SHA256 with 600,000 iterations and cryptographic salt. - **At-Rest Encryption**: AES-256-GCM authenticated encryption securing all local SQLite tables and cached ledger datasets. - **Memory Security**: Ephemeral memory buffers zeroized immediately following cryptographic operations. ### 3.2 Canonical Ed25519 License Verification & ASCII Armor Licenses issued by the BLYSTON Forge authority use digital Ed25519 signatures formatted in ASCII armor blocks: ```text -----BEGIN BLYSTON LICENSE KEY----- . -----END BLYSTON LICENSE KEY----- ``` - **Canonical Payload Structure**: ```json { "company": "Company Name (Pty) Ltd", "hwid": ["BLYS-B3A2-AE1C-09F5", "BLYS-9C1D-84EF-210A"], "tier": "CORE", "issued_at": 1760140800, "expires_at": 1791676800, "max_rows": 500000, "max_nodes": 3, "features": { "burs_matcher": true, "dtaa_arbitrage": true, "benford_fraud": true, "fx_slippage": true, "multi_user": false } } ``` - **Hardware Binding**: Workstation Hardware ID (`BLYS-XXXX-XXXX-XXXX`) derived deterministically from local CPU identifier, motherboard serial, and storage UUID. Validated against the `hwid` array. - **Monotonic Clock Guard**: Stores the latest authenticated Unix timestamp in encrypted local state. If `current_system_time < last_recorded_timestamp - 300s`, the engine enters lock state (`ERR_CLOCK_TAMPER_DETECTED`) to block license clock tampering. ### 3.3 Air-Gapped Ingestion Capacity Accounting Engine - Enforces strict commercial row volume limits completely offline without internet connectivity. - Maintains `ledger_ingestion_tracker.json` using atomic temporary file swaps (`.tmp` -> `.json`). - If an ingested batch breaches the remaining `max_rows` capacity ceiling: 1. The transaction is rejected. 2. The local database transaction undergoes atomic rollback. 3. The engine throws `ERR_CAPACITY_EXCEEDED` accompanied by an upgrade link to the client portal. --- ## 4. Forensic Audit & Fraud Algorithms ### 4.1 Benford's Law First-Digit Distribution Evaluates transaction frequency distributions against Benford's logarithmic law: \[ P(d) = \log_{10}\left(1 + \frac{1}{d}\right) \quad \text{for } d \in \{1, \dots, 9\} \] - Computes Goodness-of-Fit via Chi-Square (\(\chi^2\)) test. - Highlights anomalous spikes on specific digits (e.g., disproportionate lead-digit 7 or 8 indicating authorization avoidance). ### 4.2 Split-Billing & Evasion Heuristics - Identifies clustered payments issued to identical suppliers within a 48-hour window falling just beneath statutory internal procurement thresholds (e.g., P 49,500 vs. P 50,000 tender thresholds). ### 4.3 Duplicate & Phantom Invoicing - Detects exact and fuzzy match collisions across supplier name, invoice reference, and net amount with non-identical transaction dates. --- ## 5. Commercial Pricing Structure (Botswana Pula - BWP) All licenses are commercial Digital Software Subscriptions (OPEX) payable via PayPal or Direct Bank Transfer (First National Bank Botswana - FNBB). | Tier Profile | Term / Billing | Price (BWP) | Capacity Ceiling (`max_rows`) | Workstation Nodes (`max_nodes`) | Key Module Entitlements | | :--- | :--- | :--- | :--- | :--- | :--- | | **SME Audit Pass** | 90-Day One-off | **P 1,850** | 1,000 Rows | 1 Workstation Node | BURS 2-Way Matcher, Core Ledger, Vault | | **Growth Tier** | Monthly | **P 450 / mo** | 50,000 Rows / yr | 1 Workstation Node | BURS Matcher, Core Ledger, Zoho/Sage/Xero CSV | | **Growth Tier** | Annual (15% Off) | **P 4,500 / yr** | 50,000 Rows / yr | 1 Workstation Node | BURS Matcher, Core Ledger, Zoho/Sage/Xero CSV | | **Core Compliance** | Monthly | **P 2,800 / mo** | 500,000 Rows / yr | 3 Workstation Nodes | DTAA Arbitrage, Benford Fraud, FX Slippage | | **Core Compliance** | Annual (15% Off) | **P 28,000 / yr** | 500,000 Rows / yr | 3 Workstation Nodes | DTAA Arbitrage, Benford Fraud, FX Slippage | | **Enterprise Suite**| Annual Master | **P 250,000 / yr**| Unlimited (`-1`) | Unlimited (`-1`) | All Modules, Multi-Station, Custom Tax Rules | --- ## 6. Public Web Routes & User Journeys 1. **`https://connect.blyston.online/#/`** - StoryBrand executive overview, compliance stakes, and value proposition. 2. **`https://connect.blyston.online/#/how-it-works`** - Architectural deep-dive, BURS CTC explanation, and three-step onboarding guide. 3. **`https://connect.blyston.online/#/pricing`** - Pricing matrix with interactive monthly/annual switch and instant checkout modals. 4. **`https://connect.blyston.online/#/demo`** - Sandboxed in-browser interactive client simulation demonstrating ledger reconciliation, tax arbitrage, and Benford detection without downloading the app. 5. **`https://connect.blyston.online/#/support`** - Knowledge base, FAQ, and email support intake. 6. **`https://connect.blyston.online/#/portal`** - Client authentication, workstation Hardware ID claim management, capacity utilization meter, and signed installer downloads. 7. **`https://connect.blyston.online/#/portal/community`** - Interactive user community forum with feature suggestions and voting. --- ## 7. Public API & Action Specifications All API routes run over HTTPS at `https://connect.blyston.online/api/`. ### 7.1 Client Authentication (`POST /api/auth.php`) - **Query Parameter**: `action=register` or `action=login` - **Request Body (JSON)**: ```json { "email": "cfo@enterprise.co.bw", "password": "SecurePassword123!", "company": "Kalahari Holdings Ltd" } ``` - **Response**: ```json { "success": true, "user": { "id": "usr_9b3f2a1c", "email": "cfo@enterprise.co.bw", "company": "Kalahari Holdings Ltd", "role": "CLIENT" } } ``` ### 7.2 License & Hardware ID Claiming (`POST /api/client.php`) - **Query Parameter**: `action=claim_hwid` - **Request Body (JSON)**: ```json { "license_id": "lic_4a8d0e12", "hwid": "BLYS-B3A2-AE1C-09F5" } ``` - **Response**: ```json { "success": true, "message": "Workstation node paired successfully", "nodes_allocated": 1, "nodes_max": 3 } ``` ### 7.3 Download Cryptographic License Key (`GET /api/client.php`) - **Query Parameter**: `action=download_license&license_id=lic_4a8d0e12` - **Response**: Plaintext ASCII-armored `.lic` file content with header `Content-Disposition: attachment; filename="blyston_license.lic"`. ### 7.4 Zero-Trust Binary Distribution Stream (`GET /api/download_engine.php`) - **Query Parameters**: - `os`: `deb` (Debian/Ubuntu), `appimage` (Universal Linux), or `win` (Windows x64). - `v`: Version string (default: `1.1.0`). - **Response**: Binary octet-stream directly proxied from the Bunny.net storage zone with zero exposure of underlying storage URLs. ### 7.5 PayPal Order & Subscription Capture - **One-Off (SME Audit Pass)**: `POST /api/capture_payment.php` - **Recurring Subscriptions (Growth/Core)**: `POST /api/capture_subscription.php` --- ## 8. Agentic Deep-Link Action Manifest Autonomous AI agents (Perplexity, ChatGPT Operator, Claude Agent) can direct human users to pre-configured deep links with query parameters: - **Launch Pricing with Pre-Selected Tier**: `https://connect.blyston.online/#/pricing?tier=growth&cycle=annual` - **Launch SME Audit Pass Checkout Directly**: `https://connect.blyston.online/#/pricing?tier=audit_pass` - **Launch In-Browser Demo with Specific Dataset**: `https://connect.blyston.online/#/demo?mode=burs_audit` - **Register Workstation Hardware ID in Portal**: `https://connect.blyston.online/#/portal?action=claim&hwid=BLYS-B3A2-AE1C-09F5` --- ## 9. Distribution Packages & Verification (Release v1.1.0) | OS Platform | Package Filename | File Size | SHA-256 Checksum | | :--- | :--- | :--- | :--- | | **Linux (Debian/Ubuntu)** | `blyston-connect_1.1.0_amd64.deb` | 2.80 MB | `39a4bf438b3b9fac65ee2b7e0f760389187541382d8df59464af7485e4235a99` | | **Linux (Universal)** | `BLYSTON_Connect_1.1.0_amd64.AppImage` | 81.07 MB | `08e897b72eb5570ca658e3e86f4c5aff96d07c924ae13fab9c82a736831e1ace` | | **Microsoft Windows** | `BLYSTON Connect_1.1.0_x64-setup.exe` | 2.23 MB | `f813942b83958af892d5694aec59206c342b2a74126e9b0880b0b9ca67286bdd` | Verification via terminal: ```bash sha256sum blyston-connect_1.1.0_amd64.deb sha256sum BLYSTON_Connect_1.1.0_amd64.AppImage certutil -hashfile "BLYSTON Connect_1.1.0_x64-setup.exe" SHA256 ```