taxtank-core 3.0.1 → 3.0.3
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.
- package/fesm2022/taxtank-core.mjs +160 -15
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +13 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -377,7 +377,8 @@ declare enum ChartAccountsListEnum {
|
|
|
377
377
|
OTHER_OVERSEAS_EXPENSES = 1045,
|
|
378
378
|
FOREIGN_PENSION_EXPENSES = 1054,
|
|
379
379
|
ANNUITY_PURCHASE_PRICE = 1055,
|
|
380
|
-
FOREIGN_TAX_WITHHELD_PENSION = 1056
|
|
380
|
+
FOREIGN_TAX_WITHHELD_PENSION = 1056,
|
|
381
|
+
EV_HOME_CHARGING = 1057
|
|
381
382
|
}
|
|
382
383
|
|
|
383
384
|
declare enum BusinessChartAccountsEnum {
|
|
@@ -455,7 +456,8 @@ declare enum BusinessChartAccountsEnum {
|
|
|
455
456
|
RENTAL_BOND = 1009,
|
|
456
457
|
CHILDCARE_FEES = 1010,
|
|
457
458
|
GOVERNMENT_CHILDCARE_SUBSIDIES = 1011,
|
|
458
|
-
ADDITIONAL_CHILDCARE_SERVICES = 1017
|
|
459
|
+
ADDITIONAL_CHILDCARE_SERVICES = 1017,
|
|
460
|
+
EV_HOME_CHARGING = 909
|
|
459
461
|
}
|
|
460
462
|
|
|
461
463
|
declare enum ChartAccountsMetaFieldListEnum {
|
|
@@ -473,7 +475,8 @@ declare enum ChartAccountsMetaFieldListEnum {
|
|
|
473
475
|
FRANKED = 26,
|
|
474
476
|
UNFRANKED = 27,
|
|
475
477
|
TAX_OFFSETS_N_R_A_S = 29,
|
|
476
|
-
DISCOUNT_FROM_DEFERRED_SCHEMES = 32
|
|
478
|
+
DISCOUNT_FROM_DEFERRED_SCHEMES = 32,
|
|
479
|
+
KWH = 33
|
|
477
480
|
}
|
|
478
481
|
|
|
479
482
|
declare enum ChartAccountsMetaFieldTypeEnum {
|
|
@@ -3432,6 +3435,7 @@ declare class ChartAccounts extends ChartAccounts$1 {
|
|
|
3432
3435
|
isTransfer(): boolean;
|
|
3433
3436
|
isDividends(): boolean;
|
|
3434
3437
|
isHomeOfficeExpense(): boolean;
|
|
3438
|
+
isEvHomeCharging(): boolean;
|
|
3435
3439
|
isHomeOfficeWorkHours(): boolean;
|
|
3436
3440
|
/**
|
|
3437
3441
|
* income requiring extra data like adjustments/payer/etc
|
|
@@ -10585,7 +10589,7 @@ declare const atoLinks: {
|
|
|
10585
10589
|
/**
|
|
10586
10590
|
* Class with property transactions report entities
|
|
10587
10591
|
*/
|
|
10588
|
-
declare class PropertyReportItem extends AbstractModel {
|
|
10592
|
+
declare abstract class PropertyReportItem extends AbstractModel {
|
|
10589
10593
|
amount: number;
|
|
10590
10594
|
description: string;
|
|
10591
10595
|
/**
|
|
@@ -10596,8 +10600,8 @@ declare class PropertyReportItem extends AbstractModel {
|
|
|
10596
10600
|
claimPercent: number;
|
|
10597
10601
|
propertyId: number;
|
|
10598
10602
|
chartAccounts: ChartAccounts;
|
|
10599
|
-
constructor(property: Property$1, chartAccounts: ChartAccounts);
|
|
10600
|
-
get claimAmount(): number;
|
|
10603
|
+
protected constructor(property: Property$1, chartAccounts: ChartAccounts);
|
|
10604
|
+
abstract get claimAmount(): number;
|
|
10601
10605
|
get shareClaimAmount(): number;
|
|
10602
10606
|
isIncome(): boolean;
|
|
10603
10607
|
isExpense(): boolean;
|
|
@@ -10616,7 +10620,9 @@ declare class PropertyReportItemDepreciation extends PropertyReportItem {
|
|
|
10616
10620
|
* Class with transaction-based property transactions report entities
|
|
10617
10621
|
*/
|
|
10618
10622
|
declare class PropertyReportItemTransaction extends PropertyReportItem {
|
|
10623
|
+
private transactions;
|
|
10619
10624
|
constructor(transactions: TransactionCollection, property: Property$1, chartAccounts: ChartAccounts);
|
|
10625
|
+
get claimAmount(): number;
|
|
10620
10626
|
}
|
|
10621
10627
|
|
|
10622
10628
|
/**
|
|
@@ -12413,6 +12419,7 @@ declare class ChartAccountsValueCollection extends Collection<ChartAccountsValue
|
|
|
12413
12419
|
* $ amount u can claim per 1hour
|
|
12414
12420
|
*/
|
|
12415
12421
|
getHoursRate(isSole: boolean): number;
|
|
12422
|
+
getKwhRate(isSole: boolean): number;
|
|
12416
12423
|
}
|
|
12417
12424
|
|
|
12418
12425
|
declare class HomeOfficeClaimCollection extends Collection<HomeOfficeClaim> {
|