taxtank-core 0.28.70 → 0.28.71
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/bundles/taxtank-core.umd.js +32 -13
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/sole/sole-business-losses.collection.js +28 -14
- package/esm2015/lib/models/sole/sole-business-loss.js +5 -1
- package/fesm2015/taxtank-core.js +31 -13
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/sole/sole-business-losses.collection.d.ts +7 -1
- package/lib/models/sole/sole-business-loss.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3,7 +3,13 @@ import { SoleBusinessLoss } from '../../models';
|
|
|
3
3
|
import { TransactionBaseCollection } from '../transaction';
|
|
4
4
|
export declare class SoleBusinessLossesCollection extends Collection<SoleBusinessLoss> {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Business loss applied in current year, includes previous year losses and current year losses for businesses matching offset rule
|
|
7
7
|
*/
|
|
8
8
|
calculateBusinessLossApplied(transactions: TransactionBaseCollection): number;
|
|
9
|
+
/**
|
|
10
|
+
* Get business claim amounts that can be applied to be reduced by prior year business losses:
|
|
11
|
+
* businesses with income or businesses with a loss, but which met the non-commercial loss rules
|
|
12
|
+
* https://www.ato.gov.au/Business/Non-commercial-losses/
|
|
13
|
+
*/
|
|
14
|
+
private getClaimAmountsByBusinessId;
|
|
9
15
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SoleBusinessLoss as SoleBusinessLossBase } from '../../db/Models/sole/sole-business-loss';
|
|
2
2
|
import { SoleBusiness } from './sole-business';
|
|
3
3
|
import { SoleBusinessLossOffsetRule } from './sole-business-loss-offset-rule';
|
|
4
|
+
/**
|
|
5
|
+
* If a sole trader business makes a tax loss in a current year, you can generally carry forward that loss and offset profit in future years.
|
|
6
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4641357930/Rules+when+a+business+makes+a+loss+Tax+Summary#Offsetting-current-year-business-losses
|
|
7
|
+
*/
|
|
4
8
|
export declare class SoleBusinessLoss extends SoleBusinessLossBase {
|
|
5
9
|
business: SoleBusiness;
|
|
6
10
|
offsetRule: SoleBusinessLossOffsetRule;
|