Skip to content

PoC 3.9: Finance & Accounting (CFI Remittance & 3-Way Matching)

Functional Objective: Covers comprehensive financial management across CSD HO, Depots, and URCs. Features daily sales proceeds remittance to the Consolidated Fund of India (CFI), automated 3-way matching (PO vs. GRN vs. Supplier Invoice), payment voucher generation, imprest cash registers, bank reconciliation, multi-entity general ledger, and GST/Excise accounting on TigerBeetle.


Automated 3-Way Matching, CFI Daily Remittance & Multi-Leg GL

Demonstrates automated PO-GRN-Invoice matching, daily treasury remittance voucher to CFI, vendor payment run, and TigerBeetle GL balance audit.


  • Consolidated Fund of India (CFI) Daily Remittance: Automated consolidation of daily sales across 34 depots and remittance voucher creation into the government treasury.
  • Automated 3-Way Matching: Tolerance-based verification between PO quantities/rates, Depot GRN received counts, and Supplier e-Invoice figures.
  • Imprest Cash & Budgeting: Sub-ledger tracking of depot operational imprest accounts, expense claims, and cost center budget utilization.
  • Taxation & Compliance: Automated GSTR-1, GSTR-3B return generation, state-wise liquor excise duty accounting, and quantitative discount (QD) disbursements.

🏗️ Technical Architecture & DocType Mapping

Section titled “🏗️ Technical Architecture & DocType Mapping”

In Business M and Framework M, this domain is powered by native, metadata-driven DocTypes, async controllers, and distributed ledger adapters:

PurchaseInvoice, SalesInvoice, PaymentVoucher, PaymentReceipt, JournalEntry, Account, CostCenter, Budget, ImprestRequisition, BankReconciliation, EInvoice, GSTReturn

graph LR
    User["Stakeholder Portal / Desk"] --> Gateway["API Gateway"]
    Gateway --> Controller["Domain Controller & RBAC"]
    Controller --> DB[("PostgreSQL / RLS Master")]
    Controller --> Relay["Outbox Relay Worker"]
    Relay --> TB[("TigerBeetle Immutable Ledger")]

🧪 Verifiable Test Script (Human Review Flow)

Section titled “🧪 Verifiable Test Script (Human Review Flow)”

Follow these steps in the running Business M instance to replicate the live PoC demonstration:

  1. Access Domain Desk: Log into the web desk or local POS at the designated endpoint for this role.
  2. Execute Transaction Flow: Follow the standard maker-checker workflow to create and submit the source document.
  3. Verify Audit Trail & Ledger: Inspect the generated transfer ID, status transitions, and read-model balances.
  4. Inspect Air-Gapped Sync (if applicable): Ensure zero cloud secrets on disk and verify cryptographic signing.