LCFS - Fix compliance report balance (Line 17)
- Dominant language
- Python
- Stars
- 6
- Forks
- 6
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 87
Description
**Describe the task**
Correct the compliance report calculation and display logic for Line 17 (available balance) in report ID 2961 so that it reflects the balance available for the compliance period being assessed rather than the organization’s current total available balance when the reporting sequence is:
- Original report submitted but not assessed,
- Supplemental 1 assessed after the 2024 compliance deadline resulting in credit issuance, and
- Supplemental 2 submitted after that assessment.
Line 17 should show only the balance available as at the compliance period close/assessment context used for the report, excluding credits that were issued after the compliance deadline if those credits were not available for meeting that period’s compliance obligation. **This means that the current report assessment amount from supplemental 1 and 2 should not be showing in line 17.**
**Purpose**
Ensure the compliance report’s “available balance” (Line 17) is accurate and period‑bounded, supporting correct compliance determinations and preventing misinterpretation of available units.
**Acceptance Criteria**
- [ ] For this 2024 compliance report Line 17 shows only the balance available as at the 2024 compliance deadline of March 31st, 2025. Must exclude the credits generated from supplemental report 1 and 2.
Contributor guide
Assessment
This issue has not been assessed yet.