hledger-tools
make-loan-entries
Make loan entries in the specified journal which include interest expense and liability decrements for each entry.
An example:
> hledger-tools loan-journal-entries output.journal
Loan Description: Test Loan for $10,000 over 3 Years at 8%
Beginning Date (YYYY-MM-DD): 2026-03-17
Loan Term in Years: 3
Annual Interest Rate (ex: 0.02): 0.08
Currency Code: USD
Loan Amount: 10000
Cash Account: assets:cash
Interest Expense Account: expenses:interest
Liability Account: liabilities:loan
Loan(name='Test Loan for $10,000 over 3 Years at 8%', begin=datetime.date(2026, 3, 17), term_months=36, annual_interest=Decimal('0.080'), principal=Money('0E-25', 'USD'))
2026-03-17 Opening Loan: $10,000.00 ; Opening Loan
assets:cash $10,000.00
liabilities:loan $-10,000.00
2026-03-17 Test Loan for $10,000 over 3 Years at 8%
assets:cash $-313.37
expenses:interest $66.67
liabilities:loan $246.70
2026-04-17 Test Loan for $10,000 over 3 Years at 8%
assets:cash $-313.36
expenses:interest $65.02
liabilities:loan $248.34
....
2029-01-17 Test Loan for $10,000 over 3 Years at 8%
assets:cash $-313.37
expenses:interest $4.14
liabilities:loan $309.23
2029-02-17 Test Loan for $10,000 over 3 Years at 8%
assets:cash $-313.37
expenses:interest $2.08
liabilities:loan $311.29
2029-03-17 Test Loan for $10,000 over 3 Years at 8%
assets:cash $-0.00
expenses:interest $0.00
liabilities:loan $0.00
Metadata
Release files for hledger_tools 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hledger_tools-0.1.4.tar.gz | 7.1 kB | Without provenance | Details for hledger_tools-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hledger_tools-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for hledger_tools-0.1.4-py3-none-any.whl |
Total release size: 15.3 kB
Release files / hledger_tools-0.1.4.tar.gz
| Download URL | hledger_tools-0.1.4.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f22e8fc6e0ffa3c46175e12ac0a01d6fefbc7e762987fa8e8dadbc52c6b977ba
|
|
BLAKE2b-256 checksum How to use checksums |
159507050a909bebe998073581d7c553303f479c24f9a7ea7d2dba55e8461577
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.12 Darwin/25.3.0
|
Release files / hledger_tools-0.1.4-py3-none-any.whl
| Download URL | hledger_tools-0.1.4-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bda5886591d7bd10d277ff417074db77e2b65346040de8b6325d67cbd1e41900
|
|
BLAKE2b-256 checksum How to use checksums |
1afc962f8fb2c02178dd9bb09d694d8e75e6dd75b451008213ee0da58893d33b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.12 Darwin/25.3.0
|
Security for hledger_tools 0.1.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.