@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egdesk/next-api-plugin",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Next.js plugin for EGDesk database proxy integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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
  */