ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.24k stars 111 forks source link

Credit card due dates not being recognized #223

Open praveendhawan opened 2 months ago

praveendhawan commented 2 months ago

Describe your Environment OS: Mac Sonoma (silicon) Paisa Version: 0.6.6 App Variant: Desktop

Describe the bug The due dates are not being recognised if the statement date is later.

To Reproduce Steps to reproduce the behavior:

  1. In Configuration for Credit card add following for due date and statement date Due Date - 3 Statement Date - 13

Now There are cases where statement is generated by 20th of April for eg but due date is 8th of May.

Expected behavior Correct due dates should be shown but now it does not show due dates at all.

Screenshots

image image

Journal Configuration

credit_cards:
    - account: Liabilities:CreditCard:SOMEBANK
      credit_limit: 10000
      statement_end_day: 13
      due_day: 3
      network: visa
      number: "1212"
      expiration_date: "2030-01-01"

Journal

2024-04-03 Food
    Liabilities:CreditCard:SOMEBANK                           -500 INR
    Expenses:Food                                                            500 INR

2024-04-10 Food
    Liabilities:CreditCard:SOMEBANK                           -700 INR
    Expenses:Food                                                            700 INR

2024-04-18 SOMEBANK Bill Payment
    Liabilities:CreditCard:SOMEBANK                            1200 INR
    Assets:Checking:MYBANK                                       -1200 INR

Now Fast forward to 7th May, which is 4 days later than the due date for SOMEBANK Credit Card, I see due 5 days ago although I have added payment to pay the bill. Or I dont see any due date at all as seen on screenshots.

devzspy commented 4 days ago

I'm not having any issues with this as all of my statement dates are after my due dates. Have you tried to manually sync your journal?