Skip to content

Add bill detail parsing with consumption charges, standing charges, and totals#1

Merged
jelmer merged 2 commits into
masterfrom
bill-details
Mar 25, 2026
Merged

Add bill detail parsing with consumption charges, standing charges, and totals#1
jelmer merged 2 commits into
masterfrom
bill-details

Conversation

@jelmer
Copy link
Copy Markdown
Owner

@jelmer jelmer commented Mar 25, 2026

fetch_bill_detail() fetches and parses individual bill detail pages, returning a BillDetail with invoice number, billing period, itemized consumption and other charges, VAT/total breakdown, account balance, and PDF download URL. Bill details are fetched on demand, not as part of fetch_data().

jelmer added 2 commits March 25, 2026 13:22
…nd totals

fetch_bill_detail() fetches and parses individual bill detail pages,
returning a BillDetail with invoice number, billing period, itemized
consumption and other charges, VAT/total breakdown, account balance,
and PDF download URL. Bill details are fetched on demand, not as part
of fetch_data().
Install types-beautifulsoup4 and the package itself before running
mypy, and fix _get_attr return type to avoid no-any-return with
strict mode.
@jelmer jelmer merged commit 7395a9b into master Mar 25, 2026
30 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.

1 participant