Examples gallery

FinEngine examples that look like real product work

This page connects the packages to actual finance-facing surfaces: settlement checks, repayment summaries, and Bangladesh-aware learning cards.

Ledger validation

Use @finengine/core to validate settlement or reconciliation entries before they reach reporting or export layers.

validateLedgerEntry({
  reference: 'MFS-SETTLEMENT-01',
  currency: 'BDT',
  lines: [
    { account: '1010-Cash', side: 'debit', amount: 5000 },
    { account: '2100-Customer-Balance', side: 'credit', amount: 5000 }
  ]
})
// { valid: true, totalDebit: 5000, totalCredit: 5000, errors: [] }

Open core docs

Repayment summary

Combine @finengine/math and @finengine/ui to turn raw schedules into decision-ready product blocks.

const plan = amortize({ principal: 500000, annualRate: 13.5, months: 36 })
makeRepaymentSummary('SME working capital', plan, 85000, 1.5)
// totalPayable: 'BDT 618,335.20'
// burdenLabel: 'Healthy burden · 20% of income'

Open UI docs

Learning surfaces

Use makeLearningCards() when your product needs onboarding, finance education, or workshop-friendly narratives.

makeLearningCards()[0]
// {
//   title: 'BDT money basics',
//   badge: 'Bangladesh · intro',
//   audience: 'Students and first-time builders'
// }

Open learning section

Best-fit use cases

  • Lending and installment product demos
  • Finance operations dashboards
  • Merchant, MFS, or SME explainer tools
  • Workshop and classroom finance examples in BDT

Where to go next