@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 +156 -13
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +156 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +156 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -851,6 +851,26 @@ var CATALOG = {
|
|
|
851
851
|
"support": "full",
|
|
852
852
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
853
853
|
},
|
|
854
|
+
{
|
|
855
|
+
"qbo": "ProjectRef",
|
|
856
|
+
"support": "full",
|
|
857
|
+
"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."
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"qbo": "EmailStatus",
|
|
861
|
+
"support": "partial",
|
|
862
|
+
"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."
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"qbo": "PrintStatus",
|
|
866
|
+
"support": "partial",
|
|
867
|
+
"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."
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"qbo": "BillEmail",
|
|
871
|
+
"support": "partial",
|
|
872
|
+
"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."
|
|
873
|
+
},
|
|
854
874
|
{
|
|
855
875
|
"qbo": "Line",
|
|
856
876
|
"support": "partial",
|
|
@@ -883,9 +903,8 @@ var CATALOG = {
|
|
|
883
903
|
},
|
|
884
904
|
{
|
|
885
905
|
"qbo": "ApplyTaxAfterDiscount",
|
|
886
|
-
"support": "
|
|
887
|
-
"note": "
|
|
888
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
906
|
+
"support": "partial",
|
|
907
|
+
"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)."
|
|
889
908
|
}
|
|
890
909
|
],
|
|
891
910
|
"unsupported": [
|
|
@@ -900,9 +919,9 @@ var CATALOG = {
|
|
|
900
919
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
901
920
|
},
|
|
902
921
|
{
|
|
903
|
-
"case": "ApplyTaxAfterDiscount
|
|
922
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
904
923
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
905
|
-
"note": "Desktop
|
|
924
|
+
"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."
|
|
906
925
|
}
|
|
907
926
|
]
|
|
908
927
|
},
|
|
@@ -1014,6 +1033,11 @@ var CATALOG = {
|
|
|
1014
1033
|
"support": "full",
|
|
1015
1034
|
"note": "Read-only, derived by Desktop Sublevel."
|
|
1016
1035
|
},
|
|
1036
|
+
{
|
|
1037
|
+
"qbo": "IsProject",
|
|
1038
|
+
"support": "full",
|
|
1039
|
+
"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."
|
|
1040
|
+
},
|
|
1017
1041
|
{
|
|
1018
1042
|
"qbo": "CustomField",
|
|
1019
1043
|
"support": "partial",
|
|
@@ -1451,6 +1475,27 @@ var CATALOG = {
|
|
|
1451
1475
|
"support": "full",
|
|
1452
1476
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
1453
1477
|
},
|
|
1478
|
+
{
|
|
1479
|
+
"qbo": "ProjectRef",
|
|
1480
|
+
"support": "full",
|
|
1481
|
+
"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."
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"qbo": "EmailStatus",
|
|
1485
|
+
"support": "partial",
|
|
1486
|
+
"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."
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"qbo": "PrintStatus",
|
|
1490
|
+
"support": "none",
|
|
1491
|
+
"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.",
|
|
1492
|
+
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"qbo": "BillEmail",
|
|
1496
|
+
"support": "partial",
|
|
1497
|
+
"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."
|
|
1498
|
+
},
|
|
1454
1499
|
{
|
|
1455
1500
|
"qbo": "Line",
|
|
1456
1501
|
"support": "partial",
|
|
@@ -1502,6 +1547,11 @@ var CATALOG = {
|
|
|
1502
1547
|
"support": "none",
|
|
1503
1548
|
"note": "Desktop estimates have no accepted-date field. Track acceptance in your own system.",
|
|
1504
1549
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
1553
|
+
"support": "partial",
|
|
1554
|
+
"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)."
|
|
1505
1555
|
}
|
|
1506
1556
|
],
|
|
1507
1557
|
"unsupported": [
|
|
@@ -1514,6 +1564,11 @@ var CATALOG = {
|
|
|
1514
1564
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
1515
1565
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1516
1566
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
1570
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1571
|
+
"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."
|
|
1517
1572
|
}
|
|
1518
1573
|
]
|
|
1519
1574
|
},
|
|
@@ -1694,6 +1749,26 @@ var CATALOG = {
|
|
|
1694
1749
|
"support": "full",
|
|
1695
1750
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
1696
1751
|
},
|
|
1752
|
+
{
|
|
1753
|
+
"qbo": "ProjectRef",
|
|
1754
|
+
"support": "full",
|
|
1755
|
+
"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."
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"qbo": "EmailStatus",
|
|
1759
|
+
"support": "partial",
|
|
1760
|
+
"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."
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"qbo": "PrintStatus",
|
|
1764
|
+
"support": "partial",
|
|
1765
|
+
"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."
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"qbo": "BillEmail",
|
|
1769
|
+
"support": "partial",
|
|
1770
|
+
"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."
|
|
1771
|
+
},
|
|
1697
1772
|
{
|
|
1698
1773
|
"qbo": "Line",
|
|
1699
1774
|
"support": "partial",
|
|
@@ -1743,6 +1818,11 @@ var CATALOG = {
|
|
|
1743
1818
|
"qbo": "operation=void",
|
|
1744
1819
|
"support": "partial",
|
|
1745
1820
|
"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)."
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
1824
|
+
"support": "partial",
|
|
1825
|
+
"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)."
|
|
1746
1826
|
}
|
|
1747
1827
|
],
|
|
1748
1828
|
"unsupported": [
|
|
@@ -1755,6 +1835,11 @@ var CATALOG = {
|
|
|
1755
1835
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
1756
1836
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1757
1837
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
1841
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1842
|
+
"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."
|
|
1758
1843
|
}
|
|
1759
1844
|
]
|
|
1760
1845
|
},
|
|
@@ -2414,7 +2499,7 @@ var CATALOG = {
|
|
|
2414
2499
|
{
|
|
2415
2500
|
"qbo": "Line",
|
|
2416
2501
|
"support": "partial",
|
|
2417
|
-
"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."
|
|
2502
|
+
"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."
|
|
2418
2503
|
},
|
|
2419
2504
|
{
|
|
2420
2505
|
"qbo": "TotalAmt",
|
|
@@ -2530,6 +2615,16 @@ var CATALOG = {
|
|
|
2530
2615
|
"support": "partial",
|
|
2531
2616
|
"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."
|
|
2532
2617
|
},
|
|
2618
|
+
{
|
|
2619
|
+
"qbo": "BillEmail",
|
|
2620
|
+
"support": "partial",
|
|
2621
|
+
"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."
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
2625
|
+
"support": "partial",
|
|
2626
|
+
"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)."
|
|
2627
|
+
},
|
|
2533
2628
|
{
|
|
2534
2629
|
"qbo": "TxnDate",
|
|
2535
2630
|
"support": "full",
|
|
@@ -2580,6 +2675,11 @@ var CATALOG = {
|
|
|
2580
2675
|
"case": "Update / sparse update",
|
|
2581
2676
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2582
2677
|
"note": "Neither refund family (ARRefundCreditCard or Check applied to a credit memo) has an update path in this release. Delete and create again."
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"case": "ApplyTaxAfterDiscount is not a boolean",
|
|
2681
|
+
"error": "2010",
|
|
2682
|
+
"note": "ApplyTaxAfterDiscount must be true or false. Either value is accepted and has no effect on a refund receipt, which carries no discount lines."
|
|
2583
2683
|
}
|
|
2584
2684
|
]
|
|
2585
2685
|
},
|
|
@@ -2626,7 +2726,7 @@ var CATALOG = {
|
|
|
2626
2726
|
"group": "platform",
|
|
2627
2727
|
"read": "partial",
|
|
2628
2728
|
"write": "none",
|
|
2629
|
-
"headline": "
|
|
2729
|
+
"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.",
|
|
2630
2730
|
"usage": "GET /v3/company/{companyId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31&summarize_column_by=Month",
|
|
2631
2731
|
"fields": [
|
|
2632
2732
|
{
|
|
@@ -2699,10 +2799,22 @@ var CATALOG = {
|
|
|
2699
2799
|
"support": "partial",
|
|
2700
2800
|
"note": "Built from Desktop's account list (AccountQueryRq). Desktop has no account detail type, so that column is absent."
|
|
2701
2801
|
},
|
|
2802
|
+
{
|
|
2803
|
+
"qbo": "ClassSales",
|
|
2804
|
+
"support": "partial",
|
|
2805
|
+
"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.",
|
|
2806
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"qbo": "BudgetOverview / BudgetVsActuals",
|
|
2810
|
+
"support": "partial",
|
|
2811
|
+
"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.",
|
|
2812
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2813
|
+
},
|
|
2702
2814
|
{
|
|
2703
2815
|
"qbo": "Desktop extension reports",
|
|
2704
2816
|
"support": "full",
|
|
2705
|
-
"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."
|
|
2817
|
+
"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."
|
|
2706
2818
|
},
|
|
2707
2819
|
{
|
|
2708
2820
|
"qbo": "start_date / end_date / date_macro",
|
|
@@ -2779,9 +2891,9 @@ var CATALOG = {
|
|
|
2779
2891
|
"note": "qbXML's SummarizeColumnsBy has no per-item, per-employee or per-location split (ItemType splits by item type, not by item)."
|
|
2780
2892
|
},
|
|
2781
2893
|
{
|
|
2782
|
-
"case": "
|
|
2894
|
+
"case": "DepartmentSales",
|
|
2783
2895
|
"error": "REPORT_UNKNOWN",
|
|
2784
|
-
"note": "
|
|
2896
|
+
"note": "Desktop has no departments. Use ClassSales."
|
|
2785
2897
|
},
|
|
2786
2898
|
{
|
|
2787
2899
|
"case": "TransactionListWithSplits",
|
|
@@ -2856,6 +2968,26 @@ var CATALOG = {
|
|
|
2856
2968
|
"support": "full",
|
|
2857
2969
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
2858
2970
|
},
|
|
2971
|
+
{
|
|
2972
|
+
"qbo": "ProjectRef",
|
|
2973
|
+
"support": "full",
|
|
2974
|
+
"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."
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"qbo": "EmailStatus",
|
|
2978
|
+
"support": "partial",
|
|
2979
|
+
"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."
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"qbo": "PrintStatus",
|
|
2983
|
+
"support": "partial",
|
|
2984
|
+
"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."
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"qbo": "BillEmail",
|
|
2988
|
+
"support": "partial",
|
|
2989
|
+
"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."
|
|
2990
|
+
},
|
|
2859
2991
|
{
|
|
2860
2992
|
"qbo": "Line",
|
|
2861
2993
|
"support": "partial",
|
|
@@ -2900,9 +3032,20 @@ var CATALOG = {
|
|
|
2900
3032
|
"qbo": "operation=void",
|
|
2901
3033
|
"support": "partial",
|
|
2902
3034
|
"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)."
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
3038
|
+
"support": "partial",
|
|
3039
|
+
"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)."
|
|
2903
3040
|
}
|
|
2904
3041
|
],
|
|
2905
|
-
"unsupported": [
|
|
3042
|
+
"unsupported": [
|
|
3043
|
+
{
|
|
3044
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
3045
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
3046
|
+
"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."
|
|
3047
|
+
}
|
|
3048
|
+
]
|
|
2906
3049
|
},
|
|
2907
3050
|
"Tag": {
|
|
2908
3051
|
"entity": "Tag",
|
|
@@ -3814,7 +3957,7 @@ function registerTools(server, client) {
|
|
|
3814
3957
|
server.registerTool(
|
|
3815
3958
|
"run_report",
|
|
3816
3959
|
{
|
|
3817
|
-
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.",
|
|
3960
|
+
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.",
|
|
3818
3961
|
inputSchema: {
|
|
3819
3962
|
report: import_zod.z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
|
|
3820
3963
|
params: import_zod.z.record(import_zod.z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
|
|
@@ -3943,7 +4086,7 @@ function registerTools(server, client) {
|
|
|
3943
4086
|
}
|
|
3944
4087
|
|
|
3945
4088
|
// src/version.ts
|
|
3946
|
-
var PKG_VERSION = "0.
|
|
4089
|
+
var PKG_VERSION = "0.7.0";
|
|
3947
4090
|
|
|
3948
4091
|
// src/server.ts
|
|
3949
4092
|
var SERVER_NAME = "tenkeybridge";
|