Skip to content

Issue with transaction totals in the category reports section (using liabilities) #10789

@jgmm81

Description

@jgmm81

Support guidelines

I've found a bug and checked that ...

Description

Hello James,

I hope you are well.

While reviewing the outstanding balances in liabilities through the category report, I found an error in the data summation, both for local currency and foreign currency.

That is, when there is a debt that is later paid or amortized, the credit amount is not displayed to be properly subtracted from the pending balance (I have attached some images below).

Note: This behavior occurs when transactions go through the liabilities module, as it works correctly when applied directly between accounts.

Debug information

Debug information generated at 2025-08-19 19:27:11 for Firefly III version v6.3.2.

System information
ItemValue
Firefly IIIv6.3.2 / #26 (expects #26)
PHP version8.4.11 (64bits) / fpm-fcgi / Linux x86_64
BCscale12
Error reportingDisplay: Off, reporting: ALL errors
Max upload104857600 (100 MB)
Database drivers*mysql*, pgsql, sqlite,
Firefly III information
ItemValue
TimezoneAmerica/Caracas + America/Caracas
App environmentproduction, debug: false
Layoutv1
Loggingnotice, stack / (empty)
Cache driver, session driverfile, file
Default language and localeen_US + equal
Trusted proxies**
Login provider & user guardeloquent / web
Login headersN/A + N/A
Stateful domains
Last cron job2025-08-19 07:00:02 (16 hours ago)
Mailersmtp
Exchange ratesDisabled, downloads disabled
RB-columnDisabled
User-specific information
ItemValue
User#1 of 2
User flags💳 🐷 🔧 🕜 📑 📧
Primary currencyEUR
Convert to primary currency?Disabled
Session start2025-08-01 00:00:00
Session end2025-08-31 00:00:00
View range1M
User languageen_US
User localeen_US
Locale(s) supporteden_US.utf8: ✅
en_US.UTF-8: ✅
User agentMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce

In the first example with local currency, it can be seen that on August 15th there was a liability with the dentist for 80 Euros using the category (Medical Assistance).

Then, on August 18th, I settled the pending debt of 80 Euros using a local currency account under the same category (Medical Assistance).

Technically, 80 - 80 = 0. In the liabilities section, everything is displayed perfectly.

Image

In the second case, when I go to the category reports, I see that the debt of 80 euros is shown under 'Spent', but the amortization of the 80 euros does not appear under 'Earned'.

Image

In case 3: The same behavior is reproduced using foreign currency.

Image

Results in the category report using foreign currency.

Image

Additional info

I truly appreciate your support in this amazing project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions