@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/cli.js CHANGED
@@ -883,6 +883,26 @@ var CATALOG = {
883
883
  "support": "full",
884
884
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
885
885
  },
886
+ {
887
+ "qbo": "ProjectRef",
888
+ "support": "full",
889
+ "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."
890
+ },
891
+ {
892
+ "qbo": "EmailStatus",
893
+ "support": "partial",
894
+ "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."
895
+ },
896
+ {
897
+ "qbo": "PrintStatus",
898
+ "support": "partial",
899
+ "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."
900
+ },
901
+ {
902
+ "qbo": "BillEmail",
903
+ "support": "partial",
904
+ "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."
905
+ },
886
906
  {
887
907
  "qbo": "Line",
888
908
  "support": "partial",
@@ -915,9 +935,8 @@ var CATALOG = {
915
935
  },
916
936
  {
917
937
  "qbo": "ApplyTaxAfterDiscount",
918
- "support": "none",
919
- "note": "Desktop credit memos have no ApplyTaxAfterDiscount toggle. Control tax via per-line TaxCodeRef / TxnTaxDetail.TxnTaxCodeRef instead.",
920
- "error": "UNSUPPORTED_BY_DESKTOP"
938
+ "support": "partial",
939
+ "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)."
921
940
  }
922
941
  ],
923
942
  "unsupported": [
@@ -932,9 +951,9 @@ var CATALOG = {
932
951
  "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
933
952
  },
934
953
  {
935
- "case": "ApplyTaxAfterDiscount supplied",
954
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
936
955
  "error": "UNSUPPORTED_BY_DESKTOP",
937
- "note": "Desktop credit memos have no ApplyTaxAfterDiscount toggle. Control tax via per-line TaxCodeRef / TxnTaxDetail.TxnTaxCodeRef instead."
956
+ "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."
938
957
  }
939
958
  ]
940
959
  },
@@ -1046,6 +1065,11 @@ var CATALOG = {
1046
1065
  "support": "full",
1047
1066
  "note": "Read-only, derived by Desktop Sublevel."
1048
1067
  },
1068
+ {
1069
+ "qbo": "IsProject",
1070
+ "support": "full",
1071
+ "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."
1072
+ },
1049
1073
  {
1050
1074
  "qbo": "CustomField",
1051
1075
  "support": "partial",
@@ -1483,6 +1507,27 @@ var CATALOG = {
1483
1507
  "support": "full",
1484
1508
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
1485
1509
  },
1510
+ {
1511
+ "qbo": "ProjectRef",
1512
+ "support": "full",
1513
+ "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."
1514
+ },
1515
+ {
1516
+ "qbo": "EmailStatus",
1517
+ "support": "partial",
1518
+ "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."
1519
+ },
1520
+ {
1521
+ "qbo": "PrintStatus",
1522
+ "support": "none",
1523
+ "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.",
1524
+ "error": "UNSUPPORTED_BY_DESKTOP"
1525
+ },
1526
+ {
1527
+ "qbo": "BillEmail",
1528
+ "support": "partial",
1529
+ "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."
1530
+ },
1486
1531
  {
1487
1532
  "qbo": "Line",
1488
1533
  "support": "partial",
@@ -1534,6 +1579,11 @@ var CATALOG = {
1534
1579
  "support": "none",
1535
1580
  "note": "Desktop estimates have no accepted-date field. Track acceptance in your own system.",
1536
1581
  "error": "UNSUPPORTED_BY_DESKTOP"
1582
+ },
1583
+ {
1584
+ "qbo": "ApplyTaxAfterDiscount",
1585
+ "support": "partial",
1586
+ "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)."
1537
1587
  }
1538
1588
  ],
1539
1589
  "unsupported": [
@@ -1546,6 +1596,11 @@ var CATALOG = {
1546
1596
  "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
1547
1597
  "error": "UNSUPPORTED_BY_DESKTOP",
1548
1598
  "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
1599
+ },
1600
+ {
1601
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
1602
+ "error": "UNSUPPORTED_BY_DESKTOP",
1603
+ "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."
1549
1604
  }
1550
1605
  ]
1551
1606
  },
@@ -1726,6 +1781,26 @@ var CATALOG = {
1726
1781
  "support": "full",
1727
1782
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
1728
1783
  },
1784
+ {
1785
+ "qbo": "ProjectRef",
1786
+ "support": "full",
1787
+ "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."
1788
+ },
1789
+ {
1790
+ "qbo": "EmailStatus",
1791
+ "support": "partial",
1792
+ "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."
1793
+ },
1794
+ {
1795
+ "qbo": "PrintStatus",
1796
+ "support": "partial",
1797
+ "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."
1798
+ },
1799
+ {
1800
+ "qbo": "BillEmail",
1801
+ "support": "partial",
1802
+ "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."
1803
+ },
1729
1804
  {
1730
1805
  "qbo": "Line",
1731
1806
  "support": "partial",
@@ -1775,6 +1850,11 @@ var CATALOG = {
1775
1850
  "qbo": "operation=void",
1776
1851
  "support": "partial",
1777
1852
  "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)."
1853
+ },
1854
+ {
1855
+ "qbo": "ApplyTaxAfterDiscount",
1856
+ "support": "partial",
1857
+ "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)."
1778
1858
  }
1779
1859
  ],
1780
1860
  "unsupported": [
@@ -1787,6 +1867,11 @@ var CATALOG = {
1787
1867
  "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
1788
1868
  "error": "UNSUPPORTED_BY_DESKTOP",
1789
1869
  "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
1870
+ },
1871
+ {
1872
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
1873
+ "error": "UNSUPPORTED_BY_DESKTOP",
1874
+ "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."
1790
1875
  }
1791
1876
  ]
1792
1877
  },
@@ -2446,7 +2531,7 @@ var CATALOG = {
2446
2531
  {
2447
2532
  "qbo": "Line",
2448
2533
  "support": "partial",
2449
- "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."
2534
+ "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."
2450
2535
  },
2451
2536
  {
2452
2537
  "qbo": "TotalAmt",
@@ -2562,6 +2647,16 @@ var CATALOG = {
2562
2647
  "support": "partial",
2563
2648
  "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."
2564
2649
  },
2650
+ {
2651
+ "qbo": "BillEmail",
2652
+ "support": "partial",
2653
+ "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."
2654
+ },
2655
+ {
2656
+ "qbo": "ApplyTaxAfterDiscount",
2657
+ "support": "partial",
2658
+ "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)."
2659
+ },
2565
2660
  {
2566
2661
  "qbo": "TxnDate",
2567
2662
  "support": "full",
@@ -2612,6 +2707,11 @@ var CATALOG = {
2612
2707
  "case": "Update / sparse update",
2613
2708
  "error": "UNSUPPORTED_BY_DESKTOP",
2614
2709
  "note": "Neither refund family (ARRefundCreditCard or Check applied to a credit memo) has an update path in this release. Delete and create again."
2710
+ },
2711
+ {
2712
+ "case": "ApplyTaxAfterDiscount is not a boolean",
2713
+ "error": "2010",
2714
+ "note": "ApplyTaxAfterDiscount must be true or false. Either value is accepted and has no effect on a refund receipt, which carries no discount lines."
2615
2715
  }
2616
2716
  ]
2617
2717
  },
@@ -2658,7 +2758,7 @@ var CATALOG = {
2658
2758
  "group": "platform",
2659
2759
  "read": "partial",
2660
2760
  "write": "none",
2661
- "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.",
2761
+ "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.",
2662
2762
  "usage": "GET /v3/company/{companyId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31&summarize_column_by=Month",
2663
2763
  "fields": [
2664
2764
  {
@@ -2731,10 +2831,22 @@ var CATALOG = {
2731
2831
  "support": "partial",
2732
2832
  "note": "Built from Desktop's account list (AccountQueryRq). Desktop has no account detail type, so that column is absent."
2733
2833
  },
2834
+ {
2835
+ "qbo": "ClassSales",
2836
+ "support": "partial",
2837
+ "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.",
2838
+ "error": "REPORT_UNSUPPORTED_OPTION"
2839
+ },
2840
+ {
2841
+ "qbo": "BudgetOverview / BudgetVsActuals",
2842
+ "support": "partial",
2843
+ "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.",
2844
+ "error": "REPORT_UNSUPPORTED_OPTION"
2845
+ },
2734
2846
  {
2735
2847
  "qbo": "Desktop extension reports",
2736
2848
  "support": "full",
2737
- "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."
2849
+ "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."
2738
2850
  },
2739
2851
  {
2740
2852
  "qbo": "start_date / end_date / date_macro",
@@ -2811,9 +2923,9 @@ var CATALOG = {
2811
2923
  "note": "qbXML's SummarizeColumnsBy has no per-item, per-employee or per-location split (ItemType splits by item type, not by item)."
2812
2924
  },
2813
2925
  {
2814
- "case": "ClassSales / DepartmentSales",
2926
+ "case": "DepartmentSales",
2815
2927
  "error": "REPORT_UNKNOWN",
2816
- "note": "No Desktop SDK report. Use ProfitAndLoss?summarize_column_by=Classes."
2928
+ "note": "Desktop has no departments. Use ClassSales."
2817
2929
  },
2818
2930
  {
2819
2931
  "case": "TransactionListWithSplits",
@@ -2888,6 +3000,26 @@ var CATALOG = {
2888
3000
  "support": "full",
2889
3001
  "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
2890
3002
  },
3003
+ {
3004
+ "qbo": "ProjectRef",
3005
+ "support": "full",
3006
+ "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."
3007
+ },
3008
+ {
3009
+ "qbo": "EmailStatus",
3010
+ "support": "partial",
3011
+ "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."
3012
+ },
3013
+ {
3014
+ "qbo": "PrintStatus",
3015
+ "support": "partial",
3016
+ "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."
3017
+ },
3018
+ {
3019
+ "qbo": "BillEmail",
3020
+ "support": "partial",
3021
+ "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."
3022
+ },
2891
3023
  {
2892
3024
  "qbo": "Line",
2893
3025
  "support": "partial",
@@ -2932,9 +3064,20 @@ var CATALOG = {
2932
3064
  "qbo": "operation=void",
2933
3065
  "support": "partial",
2934
3066
  "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)."
3067
+ },
3068
+ {
3069
+ "qbo": "ApplyTaxAfterDiscount",
3070
+ "support": "partial",
3071
+ "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)."
2935
3072
  }
2936
3073
  ],
2937
- "unsupported": []
3074
+ "unsupported": [
3075
+ {
3076
+ "case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
3077
+ "error": "UNSUPPORTED_BY_DESKTOP",
3078
+ "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."
3079
+ }
3080
+ ]
2938
3081
  },
2939
3082
  "Tag": {
2940
3083
  "entity": "Tag",
@@ -3846,7 +3989,7 @@ function registerTools(server, client) {
3846
3989
  server.registerTool(
3847
3990
  "run_report",
3848
3991
  {
3849
- 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.",
3992
+ 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.",
3850
3993
  inputSchema: {
3851
3994
  report: z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
3852
3995
  params: z.record(z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
@@ -3975,7 +4118,7 @@ function registerTools(server, client) {
3975
4118
  }
3976
4119
 
3977
4120
  // src/version.ts
3978
- var PKG_VERSION = "0.6.0";
4121
+ var PKG_VERSION = "0.7.0";
3979
4122
 
3980
4123
  // src/server.ts
3981
4124
  var SERVER_NAME = "tenkeybridge";