The Exchequer Tally
+----------------------------------------------------------------------+
| TheExchequerTally |
+----------------------------------------------------------------------+
| Corporate tax rate, franking and Div 203 checks |
+----------------------------------+-----------------------------------+
| DR what it gives you | CR what it needs |
+----------------------------------+-----------------------------------+
| Base Rate Entity FY testing | turnover and passive income |
| franking account ledger | entity ACN and dividend data |
| dividend distribution statements | - |
+----------------------------------+-----------------------------------+
Corporate tax rate verification, franking account ledger tracking, and Division 203 benchmark rule compliance for Australian private and public companies.
Package lifecycle: published. Install the-exchequer-tally from PyPI.
The australian-accounting repository contains the maintained source. The
the-exchequer-tally distribution and command match the project identity. The
edwinnixon import package remains unchanged, so internal Python imports do not
need a rename.
Release: v0.1.3.
Core Features
- Base Rate Entity (BRE) Testing: Deterministic assessment under s 23AA & s 23AB Income Tax Rates Act 1986 (evaluating aggregated turnover thresholds and Base Rate Entity Passive Income ratios).
- Franking Account Ledger (FAB): Complete balance management under Part 3-6 ITAA 1997, tracking PAYG instalments, company tax payments, dividends paid/received, and tax refunds.
- Franking Deficit Tax (FDT) & Offset Penalty: Evaluates FDT liability under s 205-45 and calculates the 30% tax offset reduction penalty under s 205-70(6) where the deficit exceeds 10% of annual credits.
- Division 203 Benchmark Rule Engine: Detects over-franking tax (s 203-50(1)) and franking debit shortfalls (s 203-50(2)) across distributions in a franking period.
- Dividend Distribution Statements: Builds the statement fields required by s 202-75 / s 202-80. This is a review helper, not a lodgment and not a compliance certificate.
Not advice
Nothing this engine produces is tax, legal or financial advice, an assessment or a determination. Outputs are review aids: confirm every rate, threshold and consequence against the current law and the entity's facts before acting, and leave lodgment decisions with a registered practitioner.
Full boundary statement: DISCLAIMER.md.
Quickstart
Installation
pip install the-exchequer-tally
CLI Usage
# Evaluate Base Rate Entity (BRE) status for FY2025
the-exchequer-tally bre-test --fy 2025 --turnover 4500000 --assessable 800000 --passive 120000
# Generate a dividend distribution statement
the-exchequer-tally dist-statement --entity "Acme Pty Ltd" --acn "123456789" --recipient "Jane Doe" --amount 15000 --franking-pct 100 --tax-rate 0.25
Statutory Ground Truth & Test Harness
All mathematical operations execute via decimal.Decimal fixed-point arithmetic to guarantee zero floating-point drift across corporate tax and franking schedules.
| Statutory Domain | Primary Authority | Verification Invariant |
|---|---|---|
| Base Rate Entity Status | Income Tax Rates Act 1986 s 23AA | BRE rate bounded by the year's aggregated-turnover threshold ($25M for FY2018, $50M from FY2019) and BREPI <= 80% compared exactly. |
| Franking Credits & Debits | ITAA 1997 s 205-15, s 205-30 | Cent-exact ledger of credits and debits (dates recorded for the workpaper; balances are order-independent sums). |
| FDT Offset Reduction | ITAA 1997 s 205-45, s 205-70(6) | Exact 30% offset reduction penalty applied when deficit exceeds 10% threshold. |
| Benchmark Rule | ITAA 1997 ss 203-25 to 203-55 | Benchmark set by the first frankable distribution in the franking period (s 203-30), then one deterministic shortfall or over-franking result per later distribution. |
| Distribution Statements | ITAA 1997 ss 202-75, 202-80 | Precise franking credit formula: Distribution * (Rate / (1 - Rate)) * Franking%. |
Automated Test Suite
- Run the full suite:
uv run --locked --extra dev pytest(orpip install .[dev]thenpytest; the configured coverage add-on needs the dev extras) - The suite covers BRE eligibility, FDT penalty triggers, benchmark-rule checks, and distribution-statement generation. Do not treat a static badge as live coverage.
Licence
MIT License. Created by Ryan Duguid.
Metadata
Release files for the-exchequer-tally 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| the_exchequer_tally-0.1.3.tar.gz | 69.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| the_exchequer_tally-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.1 kB
Release files / the_exchequer_tally-0.1.3.tar.gz
| Download URL | the_exchequer_tally-0.1.3.tar.gz |
|---|---|
| Size | 69.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccc8bd871b34cf4e283518dc39022bf9a65829699004cfe15333d4357ea8d3ba
|
|
BLAKE2b-256 checksum How to use checksums |
91f1bc52b3236b1abdb4d54f4055c257d034e93bf3130d34e48d422194984b09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency logRelease files / the_exchequer_tally-0.1.3-py3-none-any.whl
| Download URL | the_exchequer_tally-0.1.3-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da1ed87c4a855495c645dc70a06f4dfe46070d518411eeb1e7f67ae6068c79eb
|
|
BLAKE2b-256 checksum How to use checksums |
86dbebd05d4d162522509a5889a56d7afc124f9420c0459792f5b52572f20a6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency log