Skip to content

feat(us-tax): Schedule E rental model — 27.5yr depreciation with cross-year accumulated continuity - #156

Merged
elasticdotventures merged 2 commits into
mainfrom
issue-151-schedule-e
Aug 9, 2026
Merged

feat(us-tax): Schedule E rental model — 27.5yr depreciation with cross-year accumulated continuity#156
elasticdotventures merged 2 commits into
mainfrom
issue-151-schedule-e

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

Implements #151

  • 27.5yr straight line, mid-month convention
  • Land excluded from depreciable basis
  • Capital improvements start own depreciation schedule
  • Cross-year accumulated continuity with hard assertion
  • Depreciable basis = total_basis - land_value + improvements

elasticdotventures pushed a commit that referenced this pull request Aug 9, 2026
…t, reject unrecognized chains, fix test fixtures

- remove ComputeFeie/ComputeDepreciation contract entries (belong to separate PRs #154/#156, not this fix)
- restore missing Lei import in ledgerr-mcp/src/crypto.rs (undeclared-type compile error)
- Chain::from_str no longer silently accepts any string via an Other(..) catch-all; unmatched input now correctly returns None, matching this PR's own unrecognized_chain_returns_error test
- crypto_contract.rs: gain_loss/au_taxable_gain are Decimal, which serializes as a JSON string — fix two assertions that compared against bare floats
- crypto_contract.rs: replace check-digit-invalid placeholder LEI with the known-valid LEI already used elsewhere in this codebase
elasticdotventures added a commit that referenced this pull request Aug 9, 2026
…to_cost_basis_check (#153)

* fix(crypto): cost basis method, chain, address are no longer hardcoded (#150)

* fix(crypto): trim out-of-scope FEIE/depreciation stubs, fix Lei import, reject unrecognized chains, fix test fixtures

- remove ComputeFeie/ComputeDepreciation contract entries (belong to separate PRs #154/#156, not this fix)
- restore missing Lei import in ledgerr-mcp/src/crypto.rs (undeclared-type compile error)
- Chain::from_str no longer silently accepts any string via an Other(..) catch-all; unmatched input now correctly returns None, matching this PR's own unrecognized_chain_returns_error test
- crypto_contract.rs: gain_loss/au_taxable_gain are Decimal, which serializes as a JSON string — fix two assertions that compared against bare floats
- crypto_contract.rs: replace check-digit-invalid placeholder LEI with the known-valid LEI already used elsewhere in this codebase

---------

Co-authored-by: brianh <brianh@promptexecution.com>
@elasticdotventures
elasticdotventures merged commit d435c64 into main Aug 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants