taxtank-core 2.1.25 → 2.1.27
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 +13 -4
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +3 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3741,6 +3741,7 @@ declare class SoleInvoiceCollection extends Collection<SoleInvoice> {
|
|
|
3741
3741
|
getUnpaidAmount(transactions: TransactionCollection): number;
|
|
3742
3742
|
allocate(bankTransaction: BankTransaction, amount?: number): Transaction[];
|
|
3743
3743
|
getGrossPrice(): number;
|
|
3744
|
+
toTransactions(): Transaction[];
|
|
3744
3745
|
}
|
|
3745
3746
|
|
|
3746
3747
|
declare class SoleContactItemCollection extends Collection<SoleContactItem> {
|
|
@@ -4614,7 +4615,7 @@ declare class SoleInvoiceItem extends SoleInvoiceItem$1 {
|
|
|
4614
4615
|
isGST: boolean;
|
|
4615
4616
|
get totalPrice(): number;
|
|
4616
4617
|
getTotalPrice(taxType: SoleInvoiceTaxTypeEnum, includeGST?: boolean): number;
|
|
4617
|
-
toTransaction(): Transaction;
|
|
4618
|
+
toTransaction(data?: Partial<Transaction>): Transaction;
|
|
4618
4619
|
}
|
|
4619
4620
|
|
|
4620
4621
|
declare class SoleContact extends SoleContact$1 {
|
|
@@ -4941,6 +4942,7 @@ declare class FinancialYear {
|
|
|
4941
4942
|
private yearStartDate;
|
|
4942
4943
|
private yearEndDate;
|
|
4943
4944
|
constructor(date?: Date | number);
|
|
4945
|
+
static prev(): FinancialYear;
|
|
4944
4946
|
static isCurrent(year?: number): boolean;
|
|
4945
4947
|
includes(date: Date): boolean;
|
|
4946
4948
|
static toFinYear(date: Date): number;
|
|
@@ -10328,7 +10330,6 @@ declare class SoleBusinessLossReport extends AbstractModel {
|
|
|
10328
10330
|
* profit/loss report item
|
|
10329
10331
|
*/
|
|
10330
10332
|
declare class SolePlItem {
|
|
10331
|
-
transactions: TransactionCollection;
|
|
10332
10333
|
chartAccounts: ChartAccounts;
|
|
10333
10334
|
amount: number;
|
|
10334
10335
|
priorAmount: number;
|