Module: Amortizy
- Defined in:
- lib/amortizy/disclosure.rb,
lib/amortizy.rb,
lib/amortizy/engine.rb,
lib/amortizy/version.rb,
lib/amortizy/csv_formatter.rb,
lib/amortizy/console_formatter.rb
Overview
Commercial Financing Disclosure Calculator
Computes disclosure data elements for closed-end commercial loan transactions per California SB 1235 (Title 10, Chapter 3, Subchapter 3). Values are jurisdiction-agnostic — the gem computes numbers, not documents.
APR is calculated using the actuarial method per Appendix J of Regulation Z (12 CFR Part 1026), as required by section 940 of the regulation.
Key assumption: the origination fee is treated as a prepaid finance charge (deducted from amount financed, included in finance charge).
Regulatory references:
- Section 910: Closed-end transaction disclosure contents
- Section 940: APR calculation method
- Section 943: Finance charge definition
- Section 900(a)(1)(B): Amount financed for closed-end transactions
- Section 900(a)(26): Recipient funds
- Section 901(a)(4): Term display formatting
- Section 901(a)(5): APR rounding (nearest 10 basis points)
- Section 955: APR tolerance (1/8 of 1 percentage point)
Defined Under Namespace
Classes: AmortizationSchedule, ConsoleFormatter, CsvFormatter, Disclosure, Error
Constant Summary collapse
- VERSION =
'2.1.0'