taxtank-core 1.0.34 → 1.0.36
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 +58 -40
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/tax-summary/tax-return-categories.const.d.ts +3 -0
- package/src/lib/db/Enums/tax-return/tax-return-category-list.enum.d.ts +4 -3
- package/src/lib/db/Enums/tax-summary-section.enum.d.ts +4 -3
- package/src/lib/db/Enums/youtube-videos.enum.d.ts +7 -6
- package/src/lib/forms/abstract.form.d.ts +3 -0
- package/src/lib/forms/transaction/holding/holding-expense.form.d.ts +9 -0
- package/src/lib/forms/transaction/index.d.ts +1 -0
- package/src/lib/models/chart-accounts/chart-accounts.d.ts +2 -2
- package/src/lib/models/tax-summary/tax-summary.d.ts +5 -5
package/package.json
CHANGED
@@ -12,13 +12,10 @@ export declare enum TaxReturnCategoryListEnum {
|
|
12
12
|
DIVIDENDS = 6,
|
13
13
|
SHARE_SCHEMES = 35,
|
14
14
|
GROSS_RENT = 8,
|
15
|
-
PARTNERSHIPS_TRUSTS = 13,
|
16
15
|
PARTNERSHIPS = 36,
|
17
16
|
TRUSTS = 37,
|
18
17
|
PSI_SBE_INCOME = 14,
|
19
|
-
SOLE_TRADER_BUSINESS_INCOME = 38,
|
20
18
|
CAPITAL_GAINS = 15,
|
21
|
-
FOREIGN_SOURCE_INCOME = 16,
|
22
19
|
BONUSES_FROM_LIFE_INSURANCE = 17,
|
23
20
|
FORESTRY_MANAGED_INVESTMENT_SCHEMES = 39,
|
24
21
|
OTHER_INCOME = 40,
|
@@ -45,6 +42,7 @@ export declare enum TaxReturnCategoryListEnum {
|
|
45
42
|
DEPRECIATION_EXPENSES = 56,
|
46
43
|
MOTOR_VEHICLE_EXPENSES = 57,
|
47
44
|
ALL_OTHER_EXPENSES = 58,
|
45
|
+
WORK_RELATED_DEPRECIATION = 69,
|
48
46
|
GROSS_TAX_PAYABLE = 19,
|
49
47
|
TAX_ON_TAXABLE_INCOME = 20,
|
50
48
|
MEDICARE = 21,
|
@@ -60,5 +58,8 @@ export declare enum TaxReturnCategoryListEnum {
|
|
60
58
|
TAX_PAYABLE = 28,
|
61
59
|
BUSINESS_INCOME_OR_LOSS = 59,
|
62
60
|
DEFERRED_BUSINESS_LOSSES = 60,
|
61
|
+
TAX_OFFSET_LOW = 61,
|
62
|
+
tAX_OFFSET_MIDDLE = 62,
|
63
|
+
TAX_OFFSET_SOLE = 63,
|
63
64
|
DEFERRED_BUSINESS_LOSSES_FROM_PRIOR_YEAR = 64
|
64
65
|
}
|
@@ -5,10 +5,11 @@ export declare enum YoutubeVideosEnum {
|
|
5
5
|
SOLE_ONBOARDING = "rqfTQFGwkUM",
|
6
6
|
WORK_ONBOARDING = "QEKolzS1B0U",
|
7
7
|
PROPERTY_RENTAL = "E9NU14ndjhc",
|
8
|
-
PROPERTY_DEPRECIATION = "
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
PROPERTY_DEPRECIATION = "_34lK9ooFzc",
|
9
|
+
VEHICLE_CLAIM = "4-6WaM83cw0",
|
10
|
+
SOLE_DEPRECIATION = "Bw3tx4miFF8",
|
11
|
+
SOLE_HOME_OFFICE = "fF8_kJHEKRE",
|
12
|
+
WORK_DEPRECIATION = "gNa9M4xovuI",
|
13
|
+
WORK_HOME_OFFICE = "qrQu4Yl72bU",
|
14
|
+
BANK_FEEDS = "meQmpw7ZY7c"
|
14
15
|
}
|
@@ -61,6 +61,9 @@ export declare abstract class AbstractForm<Model, Controls extends ControlsInter
|
|
61
61
|
* upgraded version of patchValue to skip duplicated changes
|
62
62
|
*/
|
63
63
|
patchField(name: string, value: any): void;
|
64
|
+
patch(fields: {
|
65
|
+
[key: string]: any;
|
66
|
+
}): void;
|
64
67
|
fieldChanged(name: string): boolean;
|
65
68
|
addValidators(validators: ValidatorFn | ValidatorFn[], controls?: AbstractControl[]): void;
|
66
69
|
removeValidators(validators: ValidatorFn | ValidatorFn[], controls?: AbstractControl[]): void;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { HomeOfficeClaim, Transaction, TransactionAllocation } from '../../../models';
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
3
|
+
import { IEventListener } from '../../../interfaces';
|
4
|
+
import { WorkTransactionForm } from '../work/work-transaction.form';
|
5
|
+
export declare class HoldingExpenseForm extends WorkTransactionForm implements IEventListener {
|
6
|
+
constructor(transaction: Transaction, registeredForGst: boolean, allocations: TransactionAllocation[], homeOfficeClaim: HomeOfficeClaim, controls?: {
|
7
|
+
[key: string]: AbstractControl;
|
8
|
+
});
|
9
|
+
}
|
@@ -5,4 +5,5 @@ export * from './sole/sole-income.form';
|
|
5
5
|
export * from './work/work-income.form';
|
6
6
|
export * from './work/work-expense.form';
|
7
7
|
export * from './holding/holding-income.form';
|
8
|
+
export * from './holding/holding-expense.form';
|
8
9
|
export * from './transaction-base-filter.form';
|
@@ -11,8 +11,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
11
11
|
static GSTRatio: number;
|
12
12
|
static GSTCoefficient: number;
|
13
13
|
static GSTPercent: number;
|
14
|
-
static systemList: (
|
15
|
-
static homeOfficeList: (
|
14
|
+
static systemList: (BusinessChartAccountsEnum | ChartAccountsListEnum)[];
|
15
|
+
static homeOfficeList: (BusinessChartAccountsEnum | ChartAccountsListEnum)[];
|
16
16
|
heading: ChartAccountsHeading;
|
17
17
|
metaFields: ChartAccountsMetaField[];
|
18
18
|
values: ChartAccountsValue[];
|
@@ -8,7 +8,7 @@ import { SoleBusiness } from '../sole';
|
|
8
8
|
export declare class TaxSummary {
|
9
9
|
work: TaxSummarySection;
|
10
10
|
property: TaxSummarySection;
|
11
|
-
|
11
|
+
holdings: TaxSummarySection;
|
12
12
|
sole: TaxSummarySection;
|
13
13
|
summary: TaxSummarySection;
|
14
14
|
projectedTaxPosition: number;
|
@@ -40,15 +40,15 @@ export declare class TaxSummary {
|
|
40
40
|
*/
|
41
41
|
get propertyNetTotal(): number;
|
42
42
|
/**
|
43
|
-
*
|
43
|
+
* Holdings Net Cash = gross income – expenses – tax withheld - tax instalments
|
44
44
|
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
45
45
|
*/
|
46
|
-
get
|
46
|
+
get holdingsNetCash(): number;
|
47
47
|
/**
|
48
|
-
*
|
48
|
+
* Holding Net Total = Gross income - expenses + tax offsets + tax instalments + franking credits
|
49
49
|
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
50
50
|
*/
|
51
|
-
get
|
51
|
+
get holdingsNetTotal(): number;
|
52
52
|
/**
|
53
53
|
* Sole Net Cash = gross income – expenses
|
54
54
|
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|