You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: importing of overspend handling now accounts for YNAB 4 oddities (#446)
In YNAB 4, when the overspendHandling is set to "Confined", it affects all months until
it is explicitly set back to "AffectsBuffer".
EZ on the other hand uses AFFECT_AVAILABLE as default (as does YNAB 4 with "AffectsBuffer")
but only changes to AFFECT_ENVELOPE (= "Confined" on YNAB 4) when explicitly configured for
that month.
This commit introduces parsing logic that accounts for this difference in behaviour when
importing.
Copy file name to clipboardExpand all lines: docs/import.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@ The following is **not yet supported** in Envelope Zero and will therefore be ig
12
12
13
13
- Recurring transactions. They will be implemented with [milestone #5](https://github.com/envelope-zero/backend/milestone/5) and import supported with https://github.com/envelope-zero/backend/issues/379.
14
14
- Payee rename rules are not yet supported in Envelope Zero (https://github.com/envelope-zero/backend/issues/373)
15
-
- Different handling of overspend. In Envelope Zero, overspend is always carried over to the next months budget for the category (https://github.com/envelope-zero/backend/issues/327)
16
15
17
16
The following **work differently** on Envelope Zero:
18
17
19
18
- Date formatting. While YNAB 4 does date formatting per Budget, in Envelope Zero, the formatting is decided by the browser (https://github.com/envelope-zero/frontend/issues/145) or by the users configuration (https://github.com/envelope-zero/backend/issues/33)
20
19
- Transactions always need to have a source and destination. Transactions that do not have a Payee set in YNAB 4 will be imported with the opposing account as „YNAB 4 Import - No Payee“. If an account or Payee named „YNAB 4 Import - No Payee“ already exists in your budget, it will be used for those transactions.
21
20
- Transactions can not have an amount of 0 - if no money was moved, no transaction is needed. Any transaction with an amount of 0 will be ignored during the import.
21
+
- In YNAB 4, setting the overspend handling for an Envelope to “Subtract it from next month's category balance” affects all future months for that envelope until you set it back to ”Subtract it from next month's ’Available to Budget‘”. In Envelope Zero, setting overspend handling to `AFFECT_ENVELOPE` (where it is subtracted from the balance of the envelope in the next month) only affects the month it is set on. All months where no overspend handling is configured default to subtract it from the “Available to Budget” sum of the month after. If you set overspend handling to “Subtract it from next month's category balance” for a category in YNAB 4 and never changed it back on any of the following months, during the import, EZ will keep this behaviour for all months until the one you're executing the import in. For following months, you will have to set it manually.
0 commit comments