@tenkeybridge/mcp 0.6.0 → 0.7.0

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/index.d.cts CHANGED
@@ -76,6 +76,6 @@ declare function resolveEntityName(name: string): EntityName | undefined;
76
76
  type CatalogSummaryRow = Pick<CatalogEntry, "entity" | "verdict" | "group" | "read" | "write" | "headline" | "usage">;
77
77
  declare function catalogSummary(): CatalogSummaryRow[];
78
78
 
79
- declare const PKG_VERSION = "0.6.0";
79
+ declare const PKG_VERSION = "0.7.0";
80
80
 
81
81
  export { CATALOG, type CatalogEntry, type CatalogField, type CatalogSummaryRow, type CatalogUnsupported, type EntityAccessorLike, type GatewayClient, type McpAuth, type McpConfig, PKG_VERSION, SERVER_NAME, buildServer, catalogSummary, defaultTokenFile, loadConfig, persistRefreshToken, readStoredRefreshToken, registerResources, registerTools, resolveCatalog, resolveEntityName };
package/dist/index.d.ts CHANGED
@@ -76,6 +76,6 @@ declare function resolveEntityName(name: string): EntityName | undefined;
76
76
  type CatalogSummaryRow = Pick<CatalogEntry, "entity" | "verdict" | "group" | "read" | "write" | "headline" | "usage">;
77
77
  declare function catalogSummary(): CatalogSummaryRow[];
78
78
 
79
- declare const PKG_VERSION = "0.6.0";
79
+ declare const PKG_VERSION = "0.7.0";
80
80
 
81
81
  export { CATALOG, type CatalogEntry, type CatalogField, type CatalogSummaryRow, type CatalogUnsupported, type EntityAccessorLike, type GatewayClient, type McpAuth, type McpConfig, PKG_VERSION, SERVER_NAME, buildServer, catalogSummary, defaultTokenFile, loadConfig, persistRefreshToken, readStoredRefreshToken, registerResources, registerTools, resolveCatalog, resolveEntityName };
package/dist/index.js CHANGED
@@ -813,6 +813,26 @@ var CATALOG = {
813
813
  "support": "full",
814
814
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
815
815
  },
816
+ {
817
+ "qbo": "ProjectRef",
818
+ "support": "full",
819
+ "note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
820
+ },
821
+ {
822
+ "qbo": "EmailStatus",
823
+ "support": "partial",
824
+ "note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
825
+ },
826
+ {
827
+ "qbo": "PrintStatus",
828
+ "support": "partial",
829
+ "note": "Maps to Desktop IsToBePrinted. NeedToPrint writes true; NotSet and PrintComplete write false. Read: true is NeedToPrint, false is NotSet. Desktop does not record that a form was printed, so PrintComplete is never returned."
830
+ },
831
+ {
832
+ "qbo": "BillEmail",
833
+ "support": "partial",
834
+ "note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
835
+ },
816
836
  {
817
837
  "qbo": "Line",
818
838
  "support": "partial",
@@ -845,9 +865,8 @@ var CATALOG = {
845
865
  },
846
866
  {
847
867
  "qbo": "ApplyTaxAfterDiscount",
848
- "support": "none",
849
- "note": "Desktop credit memos have no ApplyTaxAfterDiscount toggle. Control tax via per-line TaxCodeRef / TxnTaxDetail.TxnTaxCodeRef instead.",
850
- "error": "UNSUPPORTED_BY_DESKTOP"
868
+ "support": "partial",
869
+ "note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
851
870
  }
852
871
  ],
853
872
  "unsupported": [
@@ -862,9 +881,9 @@ var CATALOG = {
862
881
  "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
863
882
  },
864
883
  {
865
- "case": "ApplyTaxAfterDiscount supplied",
884
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
866
885
  "error": "UNSUPPORTED_BY_DESKTOP",
867
- "note": "Desktop credit memos have no ApplyTaxAfterDiscount toggle. Control tax via per-line TaxCodeRef / TxnTaxDetail.TxnTaxCodeRef instead."
886
+ "note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
868
887
  }
869
888
  ]
870
889
  },
@@ -976,6 +995,11 @@ var CATALOG = {
976
995
  "support": "full",
977
996
  "note": "Read-only, derived by Desktop Sublevel."
978
997
  },
998
+ {
999
+ "qbo": "IsProject",
1000
+ "support": "full",
1001
+ "note": "A QBO project is a sub-customer, and a Desktop job is the same thing, so IsProject reads true for any customer under a parent (Desktop Sublevel above 0), exactly like Job. On create or update IsProject: true needs ParentRef (400 2020 without one) and is not sent, because the parent already makes it a job; IsProject: false with a ParentRef is a contradiction (400 2010). select * from Customer where IsProject = true works. A Desktop job can sit under another job, so project here means any Desktop job; QBO projects are one level deep. Jobs are reachable from transactions through ProjectRef."
1002
+ },
979
1003
  {
980
1004
  "qbo": "CustomField",
981
1005
  "support": "partial",
@@ -1413,6 +1437,27 @@ var CATALOG = {
1413
1437
  "support": "full",
1414
1438
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
1415
1439
  },
1440
+ {
1441
+ "qbo": "ProjectRef",
1442
+ "support": "full",
1443
+ "note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
1444
+ },
1445
+ {
1446
+ "qbo": "EmailStatus",
1447
+ "support": "partial",
1448
+ "note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
1449
+ },
1450
+ {
1451
+ "qbo": "PrintStatus",
1452
+ "support": "none",
1453
+ "note": "Desktop estimates have no to-be-printed flag. NotSet (the QBO default) is accepted and sends nothing; NeedToPrint and PrintComplete are refused with UNSUPPORTED_BY_DESKTOP. Never returned on read.",
1454
+ "error": "UNSUPPORTED_BY_DESKTOP"
1455
+ },
1456
+ {
1457
+ "qbo": "BillEmail",
1458
+ "support": "partial",
1459
+ "note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
1460
+ },
1416
1461
  {
1417
1462
  "qbo": "Line",
1418
1463
  "support": "partial",
@@ -1464,6 +1509,11 @@ var CATALOG = {
1464
1509
  "support": "none",
1465
1510
  "note": "Desktop estimates have no accepted-date field. Track acceptance in your own system.",
1466
1511
  "error": "UNSUPPORTED_BY_DESKTOP"
1512
+ },
1513
+ {
1514
+ "qbo": "ApplyTaxAfterDiscount",
1515
+ "support": "partial",
1516
+ "note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
1467
1517
  }
1468
1518
  ],
1469
1519
  "unsupported": [
@@ -1476,6 +1526,11 @@ var CATALOG = {
1476
1526
  "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
1477
1527
  "error": "UNSUPPORTED_BY_DESKTOP",
1478
1528
  "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
1529
+ },
1530
+ {
1531
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
1532
+ "error": "UNSUPPORTED_BY_DESKTOP",
1533
+ "note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
1479
1534
  }
1480
1535
  ]
1481
1536
  },
@@ -1656,6 +1711,26 @@ var CATALOG = {
1656
1711
  "support": "full",
1657
1712
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
1658
1713
  },
1714
+ {
1715
+ "qbo": "ProjectRef",
1716
+ "support": "full",
1717
+ "note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
1718
+ },
1719
+ {
1720
+ "qbo": "EmailStatus",
1721
+ "support": "partial",
1722
+ "note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
1723
+ },
1724
+ {
1725
+ "qbo": "PrintStatus",
1726
+ "support": "partial",
1727
+ "note": "Maps to Desktop IsToBePrinted. NeedToPrint writes true; NotSet and PrintComplete write false. Read: true is NeedToPrint, false is NotSet. Desktop does not record that a form was printed, so PrintComplete is never returned."
1728
+ },
1729
+ {
1730
+ "qbo": "BillEmail",
1731
+ "support": "partial",
1732
+ "note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
1733
+ },
1659
1734
  {
1660
1735
  "qbo": "Line",
1661
1736
  "support": "partial",
@@ -1705,6 +1780,11 @@ var CATALOG = {
1705
1780
  "qbo": "operation=void",
1706
1781
  "support": "partial",
1707
1782
  "note": "POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType Invoice), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QB Enterprise 24 (2026-09-29): the re-read shows amounts and line Qty zeroed, PrivateNote prefixed `VOID: `, TxnDate unchanged, a new SyncToken; re-proven 2026-09-30 with a memo (PrivateNote becomes `VOID: <memo>`, DocNumber kept, Balance 0); voiding again succeeds. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
1783
+ },
1784
+ {
1785
+ "qbo": "ApplyTaxAfterDiscount",
1786
+ "support": "partial",
1787
+ "note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
1708
1788
  }
1709
1789
  ],
1710
1790
  "unsupported": [
@@ -1717,6 +1797,11 @@ var CATALOG = {
1717
1797
  "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
1718
1798
  "error": "UNSUPPORTED_BY_DESKTOP",
1719
1799
  "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
1800
+ },
1801
+ {
1802
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
1803
+ "error": "UNSUPPORTED_BY_DESKTOP",
1804
+ "note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
1720
1805
  }
1721
1806
  ]
1722
1807
  },
@@ -2376,7 +2461,7 @@ var CATALOG = {
2376
2461
  {
2377
2462
  "qbo": "Line",
2378
2463
  "support": "partial",
2379
- "note": "ItemBasedExpenseLineDetail only (PurchaseOrderLineAdd). AccountBasedExpenseLineDetail returns UNSUPPORTED_BY_DESKTOP. ReceivedQty maps from ReceivedQuantity on read (read-only). Updates carrying Line send the full line table (PurchaseOrderLineMod): a line with the Id a read returned keeps that Desktop line (Id = TxnLineID), a line without an Id is added, and any existing line omitted from the array is deleted \u2014 send the whole array. Fields you omit from a line that carries an Id are filled from the current record; changing Qty or UnitPrice without Amount recomputes Amount, and restating Amount alone drops the inherited Rate and Qty. An Id that is not a line of the PO is a 400; an Id listed twice is 2010; an empty Line array is refused. Per-line IsManuallyClosed is not exposed. Verified live on QuickBooks Enterprise 24 (2026-09-30): the Id/new/deleted-line table, qty recompute and OSR child order are accepted."
2464
+ "note": "ItemBasedExpenseLineDetail only (PurchaseOrderLineAdd). AccountBasedExpenseLineDetail returns UNSUPPORTED_BY_DESKTOP. ReceivedQty maps from ReceivedQuantity on read (read-only). Updates carrying Line send the full line table (PurchaseOrderLineMod): a line with the Id a read returned keeps that Desktop line (Id = TxnLineID), a line without an Id is added, and any existing line omitted from the array is deleted \u2014 send the whole array. Fields you omit from a line that carries an Id are filled from the current record; changing Qty or UnitPrice without Amount recomputes Amount, and restating Amount alone drops the inherited Rate and Qty. An Id that is not a line of the PO is a 400; an Id listed twice is 2010; an empty Line array is refused. Per-line IsManuallyClosed is not exposed. Item group lines (PurchaseOrderLineGroupRet) read as their component item lines, in the group's place and in Desktop's order, each carrying the TenkeyBridge extension fields GroupLineId (the group's Id) and GroupItemRef; the Id on those component lines is read-only. Group lines cannot be created, and a purchase order that has them refuses a Line update with UNSUPPORTED_BY_DESKTOP (a table update would delete the groups); header-only updates still work. Verified live on QuickBooks Enterprise 24 (2026-09-30): the Id/new/deleted-line table, qty recompute and OSR child order are accepted."
2380
2465
  },
2381
2466
  {
2382
2467
  "qbo": "TotalAmt",
@@ -2492,6 +2577,16 @@ var CATALOG = {
2492
2577
  "support": "partial",
2493
2578
  "note": "Check refunds only. TenkeyBridge sends the check as not to be printed (Desktop would otherwise drop DocNumber); send NeedToPrint to queue it for printing, in which case Desktop ignores DocNumber."
2494
2579
  },
2580
+ {
2581
+ "qbo": "BillEmail",
2582
+ "support": "partial",
2583
+ "note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
2584
+ },
2585
+ {
2586
+ "qbo": "ApplyTaxAfterDiscount",
2587
+ "support": "partial",
2588
+ "note": "Accepted when true or false and never sent: a Desktop refund receipt here carries no discount lines for it to apply to. Any other value is 400 (code 2010)."
2589
+ },
2495
2590
  {
2496
2591
  "qbo": "TxnDate",
2497
2592
  "support": "full",
@@ -2542,6 +2637,11 @@ var CATALOG = {
2542
2637
  "case": "Update / sparse update",
2543
2638
  "error": "UNSUPPORTED_BY_DESKTOP",
2544
2639
  "note": "Neither refund family (ARRefundCreditCard or Check applied to a credit memo) has an update path in this release. Delete and create again."
2640
+ },
2641
+ {
2642
+ "case": "ApplyTaxAfterDiscount is not a boolean",
2643
+ "error": "2010",
2644
+ "note": "ApplyTaxAfterDiscount must be true or false. Either value is accepted and has no effect on a refund receipt, which carries no discount lines."
2545
2645
  }
2546
2646
  ]
2547
2647
  },
@@ -2588,7 +2688,7 @@ var CATALOG = {
2588
2688
  "group": "platform",
2589
2689
  "read": "partial",
2590
2690
  "write": "none",
2591
- "headline": "Forty-eight QBO-compatible reports served from QuickBooks Desktop: 24 translated live from Desktop's report engine (summary, detail, aging, balance, sales and sales-tax reports), 22 Desktop extension reports with no QBO twin, and two composites, AccountList (built from Desktop's account list) and CashFlow (built from several queries). CashFlow is derived, not translated: Desktop's SDK has no cash-flow report, so it is computed from Profit and Loss and two Trial Balances and checked against Desktop before it is returned.",
2691
+ "headline": "Seventy-seven QBO-compatible reports served from QuickBooks Desktop: 26 translated live from Desktop's report engine (summary, detail, aging, balance, sales, sales-tax and budget reports), 49 Desktop extension reports with no QBO twin, and two composites, AccountList (built from Desktop's account list) and CashFlow (built from several queries). CashFlow is derived, not translated: Desktop's SDK has no cash-flow report, so it is computed from Profit and Loss and two Trial Balances and checked against Desktop before it is returned.",
2592
2692
  "usage": "GET /v3/company/{companyId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31&summarize_column_by=Month",
2593
2693
  "fields": [
2594
2694
  {
@@ -2661,10 +2761,22 @@ var CATALOG = {
2661
2761
  "support": "partial",
2662
2762
  "note": "Built from Desktop's account list (AccountQueryRq). Desktop has no account detail type, so that column is absent."
2663
2763
  },
2764
+ {
2765
+ "qbo": "ClassSales",
2766
+ "support": "partial",
2767
+ "note": "Desktop's custom summary report (CustomSummaryReportQueryRq, rows by Class over OrdinaryIncome accounts): one row per class plus Unclassified and TOTAL. Takes dates or date_macro, accounting_method, summarize_column_by (Month, Week, Days, Quarter, Year), customer, item, class and transaction_type. The account filter is fixed to income, so account, account_type, vendor and the modified-date filter fault.",
2768
+ "error": "REPORT_UNSUPPORTED_OPTION"
2769
+ },
2770
+ {
2771
+ "qbo": "BudgetOverview / BudgetVsActuals",
2772
+ "support": "partial",
2773
+ "note": "BudgetSummaryReportQueryRq ProfitAndLossBudgetOverview / ProfitAndLossBudgetVsActual, one column group per month plus a period total. Desktop scopes a budget report by fiscal year, so these take fiscal_year (four digits, default: the current year) instead of dates, and no filters or column split; column titles are qualified with their month (for example 'Jan 26 - Budget'). Profit and loss budgets only; balance sheet budgets stay on the Budget entity. Read-only, like QBO.",
2774
+ "error": "REPORT_UNSUPPORTED_OPTION"
2775
+ },
2664
2776
  {
2665
2777
  "qbo": "Desktop extension reports",
2666
2778
  "support": "full",
2667
- "note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport. Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
2779
+ "note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport, and since Reports wave 4 TxnDetailByAccount, UnbilledCostsByJob, AuditTrail, 1099Detail, SalesByRepDetail, PurchaseByItemDetail, OpenPOsByJob, EstimatesByJob, JobProgressInvoicesVsEstimates, OpenSalesOrderByCustomer, OpenSalesOrderByItem, PendingSales, IncomeTaxDetail, MissingChecks, SalesTaxRevenueSummary, IncomeTaxSummary, BalanceSheetSummary, InventoryStockStatusByVendor, and the Job and Time reports JobProfitabilitySummary, JobEstimatesVsActualsSummary, ItemProfitability, ItemEstimatesVsActuals, JobProfitabilityDetail, JobEstimatesVsActualsDetail, TimeByJobSummary, TimeByJobDetail, TimeByItem, TimeByName. Filters are enabled only where they were proven live on QuickBooks Enterprise 24 (2026-10-20): customer/vendor, item, class, account type, transaction type and modified date on the detail reports (not the account filter on UnbilledCostsByJob and PendingSales, which Desktop fails with an internal error), the same minus modified date on the summaries, all but vendor on the four Job summaries, customer, item and class on the Time reports; the two Job detail reports require a customer or job Id and take no other filter; MissingChecks requires account Ids (Desktop refuses a bare query and an account type, as it does ReportBasis) and takes transaction type, class, modified date and columns. 1099Detail takes no filter at all (an entity filter crashed QuickBooks, so the gateway refuses every filter on it before it reaches Desktop). The Time reports take no columns (Desktop refuses Duration). Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
2668
2780
  },
2669
2781
  {
2670
2782
  "qbo": "start_date / end_date / date_macro",
@@ -2741,9 +2853,9 @@ var CATALOG = {
2741
2853
  "note": "qbXML's SummarizeColumnsBy has no per-item, per-employee or per-location split (ItemType splits by item type, not by item)."
2742
2854
  },
2743
2855
  {
2744
- "case": "ClassSales / DepartmentSales",
2856
+ "case": "DepartmentSales",
2745
2857
  "error": "REPORT_UNKNOWN",
2746
- "note": "No Desktop SDK report. Use ProfitAndLoss?summarize_column_by=Classes."
2858
+ "note": "Desktop has no departments. Use ClassSales."
2747
2859
  },
2748
2860
  {
2749
2861
  "case": "TransactionListWithSplits",
@@ -2818,6 +2930,26 @@ var CATALOG = {
2818
2930
  "support": "full",
2819
2931
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
2820
2932
  },
2933
+ {
2934
+ "qbo": "ProjectRef",
2935
+ "support": "full",
2936
+ "note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
2937
+ },
2938
+ {
2939
+ "qbo": "EmailStatus",
2940
+ "support": "partial",
2941
+ "note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
2942
+ },
2943
+ {
2944
+ "qbo": "PrintStatus",
2945
+ "support": "partial",
2946
+ "note": "Maps to Desktop IsToBePrinted. NeedToPrint writes true; NotSet and PrintComplete write false. Read: true is NeedToPrint, false is NotSet. Desktop does not record that a form was printed, so PrintComplete is never returned."
2947
+ },
2948
+ {
2949
+ "qbo": "BillEmail",
2950
+ "support": "partial",
2951
+ "note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
2952
+ },
2821
2953
  {
2822
2954
  "qbo": "Line",
2823
2955
  "support": "partial",
@@ -2862,9 +2994,20 @@ var CATALOG = {
2862
2994
  "qbo": "operation=void",
2863
2995
  "support": "partial",
2864
2996
  "note": "POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType SalesReceipt), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QB Enterprise 24 (2026-09-29): the re-read shows amounts and line Qty zeroed, PrivateNote prefixed `VOID: `, TxnDate unchanged, a new SyncToken; voiding again succeeds. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
2997
+ },
2998
+ {
2999
+ "qbo": "ApplyTaxAfterDiscount",
3000
+ "support": "partial",
3001
+ "note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
2865
3002
  }
2866
3003
  ],
2867
- "unsupported": []
3004
+ "unsupported": [
3005
+ {
3006
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
3007
+ "error": "UNSUPPORTED_BY_DESKTOP",
3008
+ "note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
3009
+ }
3010
+ ]
2868
3011
  },
2869
3012
  "Tag": {
2870
3013
  "entity": "Tag",
@@ -3776,7 +3919,7 @@ function registerTools(server, client) {
3776
3919
  server.registerTool(
3777
3920
  "run_report",
3778
3921
  {
3779
- description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns. Read compat://entity/reports for the available reports and which params each takes.",
3922
+ description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns, report_date, start_moddate, end_moddate. BudgetOverview and BudgetVsActuals take fiscal_year instead of dates; MissingChecks requires account, and JobProfitabilityDetail and JobEstimatesVsActualsDetail require customer. ClassSales gives income by class. Read compat://entity/reports for the available reports and which params each takes.",
3780
3923
  inputSchema: {
3781
3924
  report: z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
3782
3925
  params: z.record(z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
@@ -3905,7 +4048,7 @@ function registerTools(server, client) {
3905
4048
  }
3906
4049
 
3907
4050
  // src/version.ts
3908
- var PKG_VERSION = "0.6.0";
4051
+ var PKG_VERSION = "0.7.0";
3909
4052
 
3910
4053
  // src/server.ts
3911
4054
  var SERVER_NAME = "tenkeybridge";