Consolidated Equipment Finance Domain added: Loans, Leases, US MACRS, UK Capital Allowances #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Single coherent Equipment Finance feature set:
int64<Cent>, MidpointRounding.AwayFromZero)No public API breaking changes to existing non‑equipment modules.
Modules Included
Namespace root:
FSharp.Finance.Personal.EquipmentFinanceDepreciation:
DepreciationCommon.fs(shared types/helpers)US_MACRS.fs(simplified MACRS Half-Year convention, limited classes)UK_CapitalAllowances.fs(AIA allocation + WDA diminishing balance 18% / 6%)Financing:
Loan.fs(EquipmentLoanTerms, schedule generator, balloon handling, fees)Lease.fs(EquipmentLeaseTerms, rental schedule generator, total cost helper)Depreciation Simplifications
US MACRS (Simplified)
UK Capital Allowances (Simplified)
Loan Scope
Implemented:
Not Implemented (TODO):
Lease Scope
Implemented:
Not Implemented (TODO):
Tests Added
Documentation Changes
Added / Updated:
docs/equipmentFinanceOverview.md(Loans, Leases, US & UK depreciation)docs/equipmentFinanceUsMacrs.md(simplifications + TODO)docs/equipmentFinanceUk.md(simplifications + TODO)docs/BUSINESS_CASES_INDEX.md(marks Equipment Finance as implemented, notes “simplified”)All docs emphasize: analytical-only; not financial / tax / accounting advice.
Rounding & Monetary Consistency
int64<Cent>Cent.fromDecimalCent MidpointRounding.AwayFromZeroBackwards Compatibility
Next Steps (Proposed Roadmap)
Validation Checklist
dotnet buildsucceedsdotnet testpassesLicense / Disclaimer
Analytical-only computations. Not tax, legal, accounting, or financial advice. Users must verify applicability and compliance independently.