Packages / openSUSE Leap 15.6 / hledger-interest

Package: hledger-interest (1.6.6-bp156.1.3)

Computes interest for a given account

Hledger-interest is a small command-line utility based on Simon Michael's hleder library. Its purpose is to compute interest for a given ledger account. Using command line flags, the program can be configured to use various schemes for day-counting, such as act/act, 30/360, 30E/360, and 30/360isda. Furthermore, it supports a (small) number of interest schemes, i.e. annual interest with a fixed rate and the scheme mandated by the German BGB288 (Basiszins fuer Verbrauchergeschaefte). Extending support for other schemes is fairly easy, but currently requires changes to the source code. As an example, consider the following loan, stored in a file called 'test.ledger': > 2008/09/26 Loan > Assets:Bank EUR 10000.00 > Liabilities:Bank > > 2008/11/27 Payment > Assets:Bank EUR -3771.12 > Liabilities:Bank > > 2009/05/03 Payment > Assets:Bank EUR -1200.00 > Liabilities:Bank > > 2010/12/10 Payment > Assets:Bank EUR -3700.00 > Liabilities:Bank Suppose that loan earns 5% interest per year, and payments amortize interest before amortizing the principal claim, then the resulting ledger would look like this: > $ hledger-interest --file=test.ledger --source=Expenses:Interest --target=Liabilities:Bank --30-360 --annual=0.05 Liabilities:Bank > 2008/09/26 Loan > Assets:Bank EUR 10000.00 > Liabilities:Bank > > 2008/11/27 Payment > Assets:Bank EUR -3771.12 > Liabilities:Bank > > 2008/11/27 5.00% interest for EUR -10000.00 over 61 days > Liabilities:Bank EUR -84.72 > Expenses:Interest > > 2008/12/31 5.00% interest for EUR -6313.60 over 34 days > Liabilities:Bank EUR -29.81 > Expenses:Interest > > 2009/05/03 Payment > Assets:Bank EUR -1200.00 > Liabilities:Bank > > 2009/05/03 5.00% interest for EUR -6343.42 over 123 days > Liabilities:Bank EUR -108.37 > Expenses:Interest > > 2009/12/31 5.00% interest for EUR -5251.78 over 238 days > Liabilities:Bank EUR -173.60 > Expenses:Interest > > 2010/12/10 Payment > Assets:Bank EUR -3700.00 > Liabilities:Bank > > 2010/12/10 5.00% interest for EUR -5425.38 over 340 days > Liabilities:Bank EUR -256.20 > Expenses:Interest > > 2010/12/31 5.00% interest for EUR -1981.58 over 21 days > Liabilities:Bank EUR -5.78 > Expenses:Interest Running the utility with '--help' gives a brief overview over the available options: > Usage: hledger-interest [OPTION...] ACCOUNT > -h --help print this message and exit > -V --version show version number and exit > -v --verbose echo input ledger to stdout (default) > -q --quiet don't echo input ledger to stdout > --today compute interest up until today > -f FILE --file=FILE input ledger file (pass '-' for stdin) > -s ACCOUNT --source=ACCOUNT interest source account > -t ACCOUNT --target=ACCOUNT interest target account > -I --ignore-assertions ignore any failing balance assertions > --act use 'act' day counting convention > --30-360 use '30/360' day counting convention > --30E-360 use '30E/360' day counting convention > --30E-360isda use '30E/360isda' day counting convention > --constant=RATE constant interest rate > --annual-schedule=SCHEDULE schedule of annual interest rates. > syntax: '[(Date1,Rate1),(Date2,Rate2),...]' > --annual=RATE annual interest rate > --bgb288 compute interest according to German BGB288.

Package information

Homepage
[https://hackage.haskell.org/package/hledger-interest]
License
BSD-3-Clause
Downstream package maintainer
Unknown: not reported in the indexed source
Source package
[hledger-interest]
Software project
[hledger-interest]

Versions and downloads for hledger-interest

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
1.6.6-bp156.1.3leap-15.6 / ossaarch64openSUSE Leap 15.6 · OSS · multi-architecture4.8 MiB33 MiBlist of fileshledger-interest-1.6.6-bp156.1.3.aarch64.rpm
1.6.6-bp156.1.3leap-15.6 / ossppc64leopenSUSE Leap 15.6 · OSS · multi-architecture5.0 MiB56 MiBlist of fileshledger-interest-1.6.6-bp156.1.3.ppc64le.rpm
1.6.6-bp156.1.3leap-15.6 / osss390xopenSUSE Leap 15.6 · OSS · multi-architecture11 MiB84 MiBlist of fileshledger-interest-1.6.6-bp156.1.3.s390x.rpm
1.6.6-bp156.1.3leap-15.6 / ossx86_64openSUSE Leap 15.6 · OSS · multi-architecture4.0 MiB28 MiBlist of fileshledger-interest-1.6.6-bp156.1.3.x86_64.rpm
About these downloads

Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.

Dependencies and recommendations for hledger-interest

View 14 package relationships
  • dep: libffi.so.7()(64bit)

    Package not available

  • dep: libffi.so.7(LIBFFI_BASE_7.0)(64bit)

    Package not available

  • dep: libgmp.so.10()(64bit)

    Package not available

  • dep: libm.so.6()(64bit)

    Package not available

  • dep: libm.so.6(GLIBC_2.17)(64bit)

    Package not available

  • dep: libm.so.6(GLIBC_2.27)(64bit)

    Package not available

  • dep: libm.so.6(GLIBC_2.29)(64bit)

    Package not available

  • dep: libnuma.so.1()(64bit)

    Package not available

  • dep: libnuma.so.1(libnuma_1.1)(64bit)

    Package not available

  • dep: libnuma.so.1(libnuma_1.2)(64bit)

    Package not available

  • dep: libtinfo.so.6()(64bit)

    Package not available

  • dep: libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit)

    Package not available

  • dep: libz.so.1()(64bit)

    Package not available

  • dep: libc.so.6(GLIBC_2.34)(64bit)

    Package not available

Package file paths (5)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/bin/hledger-interest
  • /usr/share/doc/packages/hledger-interest
  • /usr/share/doc/packages/hledger-interest/README.md
  • /usr/share/licenses/hledger-interest
  • /usr/share/licenses/hledger-interest/LICENSE

Field source: openSUSE Leap 15.6 OSS

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

1.6.6-bp156.1.3 / aarch64Observed Sep 1, 2026sha512 b4ce08dbb8eb…4bf6a491Source-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): b4ce08dbb8eb7dbe2e7c1c6abb2c58367f587b56557c5d34c650af1f688206547a739f64366830fcf44eb9d45461cdfd4f6fc0d1d602645c66860cdf4bf6a491

Field source: openSUSE Leap 15.6 OSS

1.6.6-bp156.1.3 / ppc64leObserved Sep 1, 2026sha512 07bc27e7f753…d951368cSource-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): 07bc27e7f753e6be3a1bb6289cbc9d58d676432c8e91c6d47b88cca3e56caa3108f8d56399a24b775087dedc198eb8affb0df88aa5ab83c2d7aef32cd951368c

Field source: openSUSE Leap 15.6 OSS

1.6.6-bp156.1.3 / s390xObserved Sep 1, 2026sha512 7b099c0ec025…54279494Source-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): 7b099c0ec025d6ac2ff62f9cc5558d90f211ff119f1ac6be2a175529947a7cf93ecfd5f7b10d7f1504859a8633e38d166a77e497745ca36e8e41631e54279494

Field source: openSUSE Leap 15.6 OSS

1.6.6-bp156.1.3 / x86_64Observed Sep 1, 2026sha512 bb4e6cc979c5…89ad5718Source-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): bb4e6cc979c5f994e02418ddc4486ca2c0a8d4ed1d6fecc321dbb59cc27344353ece02cb130a292e37bfb10c9516afcbf8aa740fb5240a890fbbdf6989ad5718

Field source: openSUSE Leap 15.6 OSS

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Use this package

OpenFactory can boot this operating system in a browser VM, or start a build that includes the native package name from this record.