taxtank-core 0.30.110 → 0.30.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,12 +78,14 @@ export declare enum ChartAccountsListEnum {
78
78
  REGISTRATION = 686,
79
79
  LEASE_INTEREST_PAYMENTS = 687,
80
80
  SOLE_VEHICLE_LOAN_INTEREST = 688,
81
+ SOLE_VEHICLE_LOAN_PRINCIPAL = 855,
81
82
  INSURANCE = 689,
82
83
  TYRES = 690,
83
84
  BATTERIES = 691,
84
85
  CAR_WASH = 692,
85
86
  PARKING_TOLLS = 693,
86
87
  OTHER_SOLE_EXPENSES = 694,
88
+ SOLE_ENTERTAINMENT = 698,
87
89
  PERSONAL_EXPENSES = 628,
88
90
  PERSONAL_INCOME = 630,
89
91
  PLATFORM_FEES = 857,
@@ -82,6 +82,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
82
82
  * Check if transaction chart account is work related car expenses
83
83
  */
84
84
  isVehicleLoanExpense(): boolean;
85
+ isVehicleLoanPrinciple(): boolean;
86
+ isVehicleLoanInterest(): boolean;
85
87
  /**
86
88
  * Get chart accounts value for current financial year
87
89
  */
@@ -92,7 +94,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
92
94
  getValueByYear(year: number): ChartAccountsValue;
93
95
  /**
94
96
  * no way to check how much used for work/sole, so we let user adjust it
95
- * except vehicle expense, which is equal to vehicleClaim.workUsage and personal, which is equal to 0
97
+ * except vehicle expense, which is equal to vehicleClaim.workUsage
98
+ * except when taxablePercent=0, but not SOLE_ENTERTAINMENT
96
99
  */
97
100
  isClaimPercentEditable(): boolean;
98
101
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.110",
3
+ "version": "0.30.111",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",