@egdesk/next-api-plugin 1.4.1 → 1.4.2
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/dist/generate-helpers.js +14 -0
- package/package.json +1 -1
- package/src/generate-helpers.ts +14 -0
package/dist/generate-helpers.js
CHANGED
|
@@ -478,6 +478,20 @@ export async function queryTaxInvoices(options: {
|
|
|
478
478
|
return callFinanceHubTool('financehub_query_tax_invoices', options);
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
+
/**
|
|
482
|
+
* Query tax-exempt invoices synced from Hometax (tax_exempt_invoices table)
|
|
483
|
+
*/
|
|
484
|
+
export async function queryTaxExemptInvoices(options: {
|
|
485
|
+
businessNumber?: string;
|
|
486
|
+
invoiceType?: 'sales' | 'purchase';
|
|
487
|
+
startDate?: string;
|
|
488
|
+
endDate?: string;
|
|
489
|
+
limit?: number;
|
|
490
|
+
offset?: number;
|
|
491
|
+
} = {}) {
|
|
492
|
+
return callFinanceHubTool('financehub_query_tax_exempt_invoices', options);
|
|
493
|
+
}
|
|
494
|
+
|
|
481
495
|
/**
|
|
482
496
|
* Query cash receipts synced from Hometax (cash_receipts table)
|
|
483
497
|
*/
|
package/package.json
CHANGED
package/src/generate-helpers.ts
CHANGED
|
@@ -445,6 +445,20 @@ export async function queryTaxInvoices(options: {
|
|
|
445
445
|
return callFinanceHubTool('financehub_query_tax_invoices', options);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
+
/**
|
|
449
|
+
* Query tax-exempt invoices synced from Hometax (tax_exempt_invoices table)
|
|
450
|
+
*/
|
|
451
|
+
export async function queryTaxExemptInvoices(options: {
|
|
452
|
+
businessNumber?: string;
|
|
453
|
+
invoiceType?: 'sales' | 'purchase';
|
|
454
|
+
startDate?: string;
|
|
455
|
+
endDate?: string;
|
|
456
|
+
limit?: number;
|
|
457
|
+
offset?: number;
|
|
458
|
+
} = {}) {
|
|
459
|
+
return callFinanceHubTool('financehub_query_tax_exempt_invoices', options);
|
|
460
|
+
}
|
|
461
|
+
|
|
448
462
|
/**
|
|
449
463
|
* Query cash receipts synced from Hometax (cash_receipts table)
|
|
450
464
|
*/
|