taxtank-core 2.1.20 → 2.1.22
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/index.d.ts
CHANGED
|
@@ -274,7 +274,10 @@ declare enum ChartAccountsHeadingListEnum {
|
|
|
274
274
|
INSURANCE = 65,
|
|
275
275
|
TYRES_BATTERIES = 66,
|
|
276
276
|
OTHER_EXPENSES = 67,
|
|
277
|
-
DEPRECIATION_EXPENSES = 68
|
|
277
|
+
DEPRECIATION_EXPENSES = 68,
|
|
278
|
+
BAS_GST = 69,
|
|
279
|
+
SOLE_HOME_OFFICE_FIXED = 76,
|
|
280
|
+
SOLE_HOME_OFFICE_ACTUAL = 77
|
|
278
281
|
}
|
|
279
282
|
|
|
280
283
|
declare enum ChartAccountsHeadingTaxDeductibleEnum {
|
|
@@ -1788,6 +1791,7 @@ declare class SoleBusiness$1 extends ObservableModel {
|
|
|
1788
1791
|
depreciations?: Depreciation$1[];
|
|
1789
1792
|
file: File$1;
|
|
1790
1793
|
isTaxFree: boolean;
|
|
1794
|
+
abn?: string;
|
|
1791
1795
|
}
|
|
1792
1796
|
|
|
1793
1797
|
declare enum MyAccountHistoryInitiatedByEnum {
|
|
@@ -3833,10 +3837,9 @@ declare class TransactionCollection extends TransactionBaseCollection<Transactio
|
|
|
3833
3837
|
getByAllocations(allocations: TransactionAllocationCollection): TransactionCollection;
|
|
3834
3838
|
getByInvoices(invoices: SoleInvoiceCollection): this;
|
|
3835
3839
|
getAmountPerInvoice(): Dictionary<number>;
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
getVehicleTransactions(): this;
|
|
3840
|
+
getVehicleExpenses(): this;
|
|
3841
|
+
getHomeOfficeExpenses(): this;
|
|
3842
|
+
getOperatingExpenses(): this;
|
|
3840
3843
|
/**
|
|
3841
3844
|
* Get new transaction collection filtered by tank type
|
|
3842
3845
|
*/
|
|
@@ -4491,10 +4494,10 @@ declare class Transaction extends Transaction$1 implements Expense {
|
|
|
4491
4494
|
isExpense(): boolean;
|
|
4492
4495
|
isPersonal(): boolean;
|
|
4493
4496
|
isInterest(): boolean;
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4497
|
+
isVehicleExpense(): boolean;
|
|
4498
|
+
isHomeOfficeExpense(): boolean;
|
|
4499
|
+
isBasExpense(): boolean;
|
|
4500
|
+
isOperatingExpense(): boolean;
|
|
4498
4501
|
get taxFreeComponent(): number;
|
|
4499
4502
|
get frankingCredit(): number;
|
|
4500
4503
|
get eligibleForReduction(): number;
|
|
@@ -10814,11 +10817,11 @@ declare class HoldingExpenseForm extends TransactionForm {
|
|
|
10814
10817
|
}
|
|
10815
10818
|
|
|
10816
10819
|
declare class TransactionBaseFilter {
|
|
10817
|
-
tankType
|
|
10818
|
-
business
|
|
10819
|
-
properties
|
|
10820
|
-
dateRange
|
|
10821
|
-
chartAccounts
|
|
10820
|
+
tankType?: TankTypeEnum;
|
|
10821
|
+
business?: SoleBusiness;
|
|
10822
|
+
properties?: Property$1[];
|
|
10823
|
+
dateRange?: Date[];
|
|
10824
|
+
chartAccounts?: string;
|
|
10822
10825
|
}
|
|
10823
10826
|
|
|
10824
10827
|
interface ITransactionBaseFilterControls extends ControlsInterface {
|