@tenkeybridge/mcp 0.1.0 → 0.2.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 +139 -33
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +139 -33
- 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 +139 -33
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -214,6 +214,11 @@ var CATALOG = {
|
|
|
214
214
|
"support": "full",
|
|
215
215
|
"note": "Required and unique per request; echoed verbatim on each BatchItemResponse slot."
|
|
216
216
|
},
|
|
217
|
+
{
|
|
218
|
+
"qbo": "operation (create | update | delete) + optionsData: void",
|
|
219
|
+
"support": "partial",
|
|
220
|
+
"note": "Void is QBO's `operation: update` + `optionsData: void` (`operation: void` is accepted as an alias). Same pipeline and limits as single-shot ?operation=void (Invoice, SalesReceipt, Purchase, BillPayment; Payment refused). Any other optionsData value faults."
|
|
221
|
+
},
|
|
217
222
|
{
|
|
218
223
|
"qbo": "operation (create | update | delete)",
|
|
219
224
|
"support": "full",
|
|
@@ -237,9 +242,9 @@ var CATALOG = {
|
|
|
237
242
|
"note": "QBO's own per-request cap, cloned. Split into multiple batch calls."
|
|
238
243
|
},
|
|
239
244
|
{
|
|
240
|
-
"case": "optionsData (
|
|
245
|
+
"case": "optionsData other than void (or void paired with create/delete)",
|
|
241
246
|
"error": "BATCH_UNSUPPORTED_OPTION",
|
|
242
|
-
"note": "
|
|
247
|
+
"note": 'Only optionsData "void" on an update item is wired \u2014 any other value faults that item loud; the rest of the batch runs.'
|
|
243
248
|
},
|
|
244
249
|
{
|
|
245
250
|
"case": "transactional rollback",
|
|
@@ -275,7 +280,8 @@ var CATALOG = {
|
|
|
275
280
|
},
|
|
276
281
|
{
|
|
277
282
|
"qbo": "DocNumber",
|
|
278
|
-
"support": "full"
|
|
283
|
+
"support": "full",
|
|
284
|
+
"note": "Desktop RefNumber: max 20 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
279
285
|
},
|
|
280
286
|
{
|
|
281
287
|
"qbo": "SalesTermRef",
|
|
@@ -299,7 +305,7 @@ var CATALOG = {
|
|
|
299
305
|
{
|
|
300
306
|
"qbo": "Balance",
|
|
301
307
|
"support": "full",
|
|
302
|
-
"note": "Read-only, as
|
|
308
|
+
"note": "Read-only. Desktop's BillRet.OpenAmount is the VENDOR's total open balance across every open bill for that vendor, not this bill's own remaining amount (verified live, 2026-09-24) \u2014 never used directly. Computed instead as 0 when IsPaid, else AmountDue minus whatever BillPaymentCheck/BillPaymentCreditCard/VendorCredit amounts LinkedTxn shows applied to this bill."
|
|
303
309
|
},
|
|
304
310
|
{
|
|
305
311
|
"qbo": "CustomField",
|
|
@@ -319,7 +325,7 @@ var CATALOG = {
|
|
|
319
325
|
{
|
|
320
326
|
"qbo": "LinkedTxn",
|
|
321
327
|
"support": "none",
|
|
322
|
-
"note": "QBO Bill has no paid-by LinkedTxn field. Desktop may return
|
|
328
|
+
"note": "QBO Bill has no paid-by LinkedTxn field. Desktop may return LinkedTxn when IncludeLinkedTxns is set, but there is no honest QBO home \u2014 not projected.",
|
|
323
329
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
324
330
|
}
|
|
325
331
|
],
|
|
@@ -349,7 +355,8 @@ var CATALOG = {
|
|
|
349
355
|
},
|
|
350
356
|
{
|
|
351
357
|
"qbo": "DocNumber",
|
|
352
|
-
"support": "full"
|
|
358
|
+
"support": "full",
|
|
359
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
353
360
|
},
|
|
354
361
|
{
|
|
355
362
|
"qbo": "PrivateNote",
|
|
@@ -378,7 +385,7 @@ var CATALOG = {
|
|
|
378
385
|
{
|
|
379
386
|
"qbo": "Line",
|
|
380
387
|
"support": "partial",
|
|
381
|
-
"note": "LinkedTxn bills \u2192 AppliedToTxnAdd; additional LinkedTxn VendorCredit \u2192 SetCredit. Sparse updates cannot modify lines yet."
|
|
388
|
+
"note": "Required \u2014 at least one; QuickBooks Desktop's BillPaymentCheckAdd/BillPaymentCreditCardAdd schema requires one or more AppliedToTxnAdd. Write: LinkedTxn bills \u2192 AppliedToTxnAdd; additional LinkedTxn VendorCredit \u2192 SetCredit (the Add request shape). Read: an applied vendor credit comes back nested as AppliedToTxnRet.LinkedTxn (TxnType VendorCredit, Amount negative \u2014 absolute value surfaced as QBO LinkedTxn.Amount), not SetCreditRet/SetCredit, which Desktop never returns on this Ret (verified live, 2026-09-28). Sparse updates cannot modify lines yet."
|
|
382
389
|
},
|
|
383
390
|
{
|
|
384
391
|
"qbo": "CurrencyRef",
|
|
@@ -391,6 +398,11 @@ var CATALOG = {
|
|
|
391
398
|
"support": "none",
|
|
392
399
|
"note": "Multicurrency not yet supported.",
|
|
393
400
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"qbo": "operation=void",
|
|
404
|
+
"support": "partial",
|
|
405
|
+
"note": "POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType BillPaymentCheck / BillPaymentCreditCard, picked by a read of the record), 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, check family): amounts zeroed, the applied-to-bill Line entries are removed and the paid bills reopen, PrivateNote prefixed `VOID: `; voiding again succeeds. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
|
|
394
406
|
}
|
|
395
407
|
],
|
|
396
408
|
"unsupported": [
|
|
@@ -403,24 +415,82 @@ var CATALOG = {
|
|
|
403
415
|
},
|
|
404
416
|
"Budget": {
|
|
405
417
|
"entity": "Budget",
|
|
406
|
-
"verdict": "
|
|
407
|
-
"group": "
|
|
408
|
-
"read": "
|
|
418
|
+
"verdict": "live",
|
|
419
|
+
"group": "company",
|
|
420
|
+
"read": "partial",
|
|
409
421
|
"write": "none",
|
|
410
|
-
"headline":
|
|
411
|
-
"fields": [
|
|
422
|
+
"headline": 'Read-only, synthesized from BudgetSummaryReportQuery \u2014 qbXML has no Budget record, so Id is synthetic and deterministic ({fiscalYear}-{BudgetType}, e.g. 2026-ProfitAndLoss) with SyncToken pinned to "0", SELECT * probes the current calendar year \xB11 against both statement types, and budget writes stay in the QuickBooks Desktop UI forever',
|
|
423
|
+
"fields": [
|
|
424
|
+
{
|
|
425
|
+
"qbo": "Name",
|
|
426
|
+
"support": "partial",
|
|
427
|
+
"note": 'Synthesized from the id \u2014 "FY2026 Profit and Loss Budget", "FY2026 Balance Sheet Budget". Desktop budget names are not exposed by BudgetSummaryReportQuery, so this is a stable derived label, not the name you typed in QuickBooks.'
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"qbo": "StartDate",
|
|
431
|
+
"support": "full",
|
|
432
|
+
"note": "The 1st of the first budgeted month column, e.g. January 1 for a calendar-year budget. Never taken from the report's ReportSubtitle prose, which can state a mid-year as-of window (a year-to-date subtitle) even though the report's money columns cover the full fiscal year."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"qbo": "EndDate",
|
|
436
|
+
"support": "full",
|
|
437
|
+
"note": "The last day of the last budgeted month column, e.g. December 31 for a calendar-year budget \u2014 not the report's ReportSubtitle, which can understate this (a year-to-date subtitle names today's date, not the budget's fiscal-year end)."
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"qbo": "BudgetType",
|
|
441
|
+
"support": "partial",
|
|
442
|
+
"note": "ProfitAndLoss (ProfitAndLossBudgetOverview) and BalanceSheet (BalanceSheetBudgetOverview). Desktop's three budget-vs-actual report types mix actuals and variance into the same table \u2014 those are reports, not budgets, and are not exposed here."
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"qbo": "BudgetEntryType",
|
|
446
|
+
"support": "partial",
|
|
447
|
+
"note": 'Always "Monthly". Desktop budgets are entered by month, and the report is requested with monthly columns; Yearly entry is not represented.'
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"qbo": "Active",
|
|
451
|
+
"support": "partial",
|
|
452
|
+
"note": "Always true. A budget that returns amounts exists; Desktop has no inactive flag for budgets."
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"qbo": "BudgetDetail",
|
|
456
|
+
"support": "partial",
|
|
457
|
+
"note": 'One entry per account \xD7 budgeted month, with BudgetDate (first of the month), Amount, and AccountRef. Months with no budgeted amount are omitted, matching QBO \u2014 a Desktop 0.00 cell is indistinguishable from "not budgeted".'
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"qbo": "MetaData",
|
|
461
|
+
"support": "none",
|
|
462
|
+
"note": "Desktop's budget report carries no created/modified stamp, so CreateTime/LastUpdatedTime are omitted rather than invented."
|
|
463
|
+
}
|
|
464
|
+
],
|
|
412
465
|
"unsupported": [
|
|
413
466
|
{
|
|
414
|
-
"case": "
|
|
467
|
+
"case": "query \u2014 SELECT * cannot enumerate every budget",
|
|
468
|
+
"error": "UNSUPPORTED_QUERY",
|
|
469
|
+
"note": "qbXML cannot list budgets: BudgetSummaryReportQueryRq requires a FiscalYear. SELECT * FROM Budget probes a fixed window \u2014 the current calendar year, the one before it, and the one after it \u2014 against both statement types (six report requests in one round-trip) and returns the ones that come back with budgeted amounts. A budget outside that window is invisible to SELECT *. Because the probe is speculative, the query never faults on an individual report's status: a company with no budgets gets an empty list, exactly as QBO answers. GET by id has one report and does surface its status.",
|
|
470
|
+
"workaround": "Fetch it by id: GET /v3/company/{realmId}/budget/{fiscalYear}-{BudgetType}, e.g. 2023-ProfitAndLoss, which issues exactly one report request for that year."
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"case": "query \u2014 WHERE on anything but Id",
|
|
474
|
+
"error": "UNSUPPORTED_QUERY",
|
|
475
|
+
"note": "Budget is not a Desktop list, so there is no query filter to compile a WHERE clause into. Only WHERE Id = '{fiscalYear}-{BudgetType}' is accepted; it resolves to the same single report request GET by id uses.",
|
|
476
|
+
"workaround": "Fetch the window with SELECT * FROM Budget and filter the (at most six) rows client-side."
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"case": "read \u2014 Class and Customer budget breakdowns",
|
|
415
480
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
416
|
-
"note": "
|
|
417
|
-
"workaround": "
|
|
481
|
+
"note": "Desktop's BudgetCriterion also offers AccountsAndClasses and AccountsAndCustomers, which QBO would carry as ClassRef/CustomerRef on BudgetDetail. TenkeyBridge sends the Accounts criterion only: the extra breakdowns come back as report rows whose sole identity is a display label, and splitting a label into account + class would be a guess.",
|
|
482
|
+
"workaround": "Read the class- or customer-level figures from the budget reports in QuickBooks Desktop directly."
|
|
418
483
|
},
|
|
419
484
|
{
|
|
420
|
-
"case": "
|
|
485
|
+
"case": "read \u2014 budget-vs-actual report types",
|
|
421
486
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
422
|
-
"note": "
|
|
423
|
-
"workaround": "
|
|
487
|
+
"note": "BalanceSheetBudgetVsActual, ProfitAndLossBudgetVsActual and ProfitAndLossBudgetPerformance mix actuals and variance columns into the budget table. Those are reports, not budgets; putting non-budget money in BudgetDetail.Amount would be wrong.",
|
|
488
|
+
"workaround": "Pull the actuals with the Reports surface (ProfitAndLoss / BalanceSheet) and compare them against this Budget client-side."
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"case": "read \u2014 AccountRef.value on an unrecognised row label",
|
|
492
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
493
|
+
"note": `Desktop report rows name an account by display label only; there is no ListID anywhere in the report. TenkeyBridge resolves the label against the chart of accounts it fetches in the same round-trip \u2014 matching FullName (stripping a leading "{AccountNumber} \xB7 " from every colon-separated segment of a qualified/subaccount label, e.g. "40100 \xB7 Construction Income:40130 \xB7 Labor Income") and, failing that, the leaf segment's own AccountNumber \u2014 but a label neither can explain yields AccountRef with a name and no value rather than an invented id.`
|
|
424
494
|
},
|
|
425
495
|
{
|
|
426
496
|
"case": "create",
|
|
@@ -484,6 +554,12 @@ var CATALOG = {
|
|
|
484
554
|
"case": "deleted TaxAgency / ExchangeRate / Transfer detection",
|
|
485
555
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
486
556
|
"note": "Tax agencies are vendors on Desktop (deletion indistinguishable); exchange rates ride the Currency list; 'Transfer' is not a valid TxnDelType."
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"case": "Budget in the entities list",
|
|
560
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
561
|
+
"note": "Budget is synthesized from a Desktop report rather than stored as a record, so there is no created/modified timestamp to compare a CDC window against. It returns a per-entity Fault slot; the other entities in the same request still return data.",
|
|
562
|
+
"workaround": "Re-read it with SELECT * FROM Budget (or GET /budget/{fiscalYear}-{BudgetType}) whenever you need the current figures."
|
|
487
563
|
}
|
|
488
564
|
]
|
|
489
565
|
},
|
|
@@ -664,7 +740,8 @@ var CATALOG = {
|
|
|
664
740
|
},
|
|
665
741
|
{
|
|
666
742
|
"qbo": "DocNumber",
|
|
667
|
-
"support": "full"
|
|
743
|
+
"support": "full",
|
|
744
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
668
745
|
},
|
|
669
746
|
{
|
|
670
747
|
"qbo": "BillAddr",
|
|
@@ -1002,7 +1079,7 @@ var CATALOG = {
|
|
|
1002
1079
|
{
|
|
1003
1080
|
"qbo": "Line",
|
|
1004
1081
|
"support": "partial",
|
|
1005
|
-
"note": "LinkedTxn (PaymentTxnID path) for undeposited payments, or DepositLineDetail{Entity, AccountRef, PaymentMethodRef, CheckNum}. Sparse updates cannot modify lines yet."
|
|
1082
|
+
"note": "Write: LinkedTxn (PaymentTxnID path) for undeposited payments, or DepositLineDetail{Entity, AccountRef, PaymentMethodRef, CheckNum} for a manual line \u2014 one or the other, and a manual line's DepositLineDetail.AccountRef is required. Read: Desktop always returns DepositLineDetail; a line sourced from a deposited payment also carries LinkedTxn (TxnId/TxnType Payment) alongside it. Sparse updates cannot modify lines yet."
|
|
1006
1083
|
},
|
|
1007
1084
|
{
|
|
1008
1085
|
"qbo": "CashBack",
|
|
@@ -1142,7 +1219,8 @@ var CATALOG = {
|
|
|
1142
1219
|
},
|
|
1143
1220
|
{
|
|
1144
1221
|
"qbo": "DocNumber",
|
|
1145
|
-
"support": "full"
|
|
1222
|
+
"support": "full",
|
|
1223
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
1146
1224
|
},
|
|
1147
1225
|
{
|
|
1148
1226
|
"qbo": "BillAddr",
|
|
@@ -1186,7 +1264,7 @@ var CATALOG = {
|
|
|
1186
1264
|
{
|
|
1187
1265
|
"qbo": "LinkedTxn",
|
|
1188
1266
|
"support": "full",
|
|
1189
|
-
"note": "Populated on read from
|
|
1267
|
+
"note": "Populated on read from LinkedTxn (IncludeLinkedTxns automatic) \u2014 progress-invoicing links when present. Links to Desktop-only transaction types (SalesOrder, ItemReceipt, \u2026) are omitted rather than guessed at. Accepted and ignored on write."
|
|
1190
1268
|
},
|
|
1191
1269
|
{
|
|
1192
1270
|
"qbo": "CustomField",
|
|
@@ -1317,7 +1395,8 @@ var CATALOG = {
|
|
|
1317
1395
|
},
|
|
1318
1396
|
{
|
|
1319
1397
|
"qbo": "DocNumber",
|
|
1320
|
-
"support": "full"
|
|
1398
|
+
"support": "full",
|
|
1399
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
1321
1400
|
},
|
|
1322
1401
|
{
|
|
1323
1402
|
"qbo": "BillAddr",
|
|
@@ -1369,7 +1448,7 @@ var CATALOG = {
|
|
|
1369
1448
|
{
|
|
1370
1449
|
"qbo": "LinkedTxn",
|
|
1371
1450
|
"support": "full",
|
|
1372
|
-
"note": "Populated on read from
|
|
1451
|
+
"note": "Populated on read from LinkedTxn when IncludeLinkedTxns is requested (automatic). Desktop ReceivePayment \u2192 QBO Payment; links to Desktop-only transaction types (SalesOrder, ItemReceipt, \u2026) are omitted rather than guessed at. Accepted and ignored on write \u2014 same as QBO treats it as read-only."
|
|
1373
1452
|
},
|
|
1374
1453
|
{
|
|
1375
1454
|
"qbo": "CustomField",
|
|
@@ -1395,6 +1474,11 @@ var CATALOG = {
|
|
|
1395
1474
|
"qbo": "ExchangeRate",
|
|
1396
1475
|
"support": "partial",
|
|
1397
1476
|
"note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"qbo": "operation=void",
|
|
1480
|
+
"support": "partial",
|
|
1481
|
+
"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; voiding again succeeds. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
|
|
1398
1482
|
}
|
|
1399
1483
|
],
|
|
1400
1484
|
"unsupported": [
|
|
@@ -1571,7 +1655,8 @@ var CATALOG = {
|
|
|
1571
1655
|
},
|
|
1572
1656
|
{
|
|
1573
1657
|
"qbo": "DocNumber",
|
|
1574
|
-
"support": "full"
|
|
1658
|
+
"support": "full",
|
|
1659
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
1575
1660
|
},
|
|
1576
1661
|
{
|
|
1577
1662
|
"qbo": "PrivateNote",
|
|
@@ -1642,7 +1727,7 @@ var CATALOG = {
|
|
|
1642
1727
|
{
|
|
1643
1728
|
"qbo": "PaymentRefNum",
|
|
1644
1729
|
"support": "full",
|
|
1645
|
-
"note": "Desktop RefNumber. Query filtering by PaymentRefNum is not supported yet \u2014 query by Id or date range."
|
|
1730
|
+
"note": "Desktop RefNumber: max 20 characters; longer values are rejected up front with a 400 fault (code 2050). Query filtering by PaymentRefNum is not supported yet \u2014 query by Id or date range."
|
|
1646
1731
|
},
|
|
1647
1732
|
{
|
|
1648
1733
|
"qbo": "TotalAmt",
|
|
@@ -1704,7 +1789,13 @@ var CATALOG = {
|
|
|
1704
1789
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1705
1790
|
}
|
|
1706
1791
|
],
|
|
1707
|
-
"unsupported": [
|
|
1792
|
+
"unsupported": [
|
|
1793
|
+
{
|
|
1794
|
+
"case": "operation=void",
|
|
1795
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1796
|
+
"note": "qbXML's TxnVoidType has no ReceivePayment value \u2014 a customer payment cannot be voided through the SDK (HTTP 400). Delete it (?operation=delete) and re-enter it if needed."
|
|
1797
|
+
}
|
|
1798
|
+
]
|
|
1708
1799
|
},
|
|
1709
1800
|
"PaymentMethod": {
|
|
1710
1801
|
"entity": "PaymentMethod",
|
|
@@ -1845,7 +1936,8 @@ var CATALOG = {
|
|
|
1845
1936
|
},
|
|
1846
1937
|
{
|
|
1847
1938
|
"qbo": "DocNumber",
|
|
1848
|
-
"support": "full"
|
|
1939
|
+
"support": "full",
|
|
1940
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
1849
1941
|
},
|
|
1850
1942
|
{
|
|
1851
1943
|
"qbo": "PrivateNote",
|
|
@@ -1877,6 +1969,11 @@ var CATALOG = {
|
|
|
1877
1969
|
"support": "none",
|
|
1878
1970
|
"note": "Multicurrency not yet supported.",
|
|
1879
1971
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"qbo": "operation=void",
|
|
1975
|
+
"support": "partial",
|
|
1976
|
+
"note": "POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType Check / CreditCardCharge / CreditCardCredit, picked by a read of the record), 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, Check family): amounts zeroed, PrintStatus becomes PrintComplete, and PrivateNote becomes `VOID: <memo> GJE, RGJE created on MM/DD/YYYY` \u2014 Desktop posts a journal entry and a reversing journal entry dated the void day, whatever the check's date; voiding again succeeds. CreditCardCharge/CreditCardCredit voids are not yet live-tested. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
|
|
1880
1977
|
}
|
|
1881
1978
|
],
|
|
1882
1979
|
"unsupported": [
|
|
@@ -1910,7 +2007,8 @@ var CATALOG = {
|
|
|
1910
2007
|
},
|
|
1911
2008
|
{
|
|
1912
2009
|
"qbo": "DocNumber",
|
|
1913
|
-
"support": "full"
|
|
2010
|
+
"support": "full",
|
|
2011
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
1914
2012
|
},
|
|
1915
2013
|
{
|
|
1916
2014
|
"qbo": "VendorAddr",
|
|
@@ -2048,7 +2146,8 @@ var CATALOG = {
|
|
|
2048
2146
|
},
|
|
2049
2147
|
{
|
|
2050
2148
|
"qbo": "DocNumber",
|
|
2051
|
-
"support": "full"
|
|
2149
|
+
"support": "full",
|
|
2150
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
2052
2151
|
},
|
|
2053
2152
|
{
|
|
2054
2153
|
"qbo": "PrivateNote",
|
|
@@ -2209,7 +2308,8 @@ var CATALOG = {
|
|
|
2209
2308
|
},
|
|
2210
2309
|
{
|
|
2211
2310
|
"qbo": "DocNumber",
|
|
2212
|
-
"support": "full"
|
|
2311
|
+
"support": "full",
|
|
2312
|
+
"note": "Desktop RefNumber: max 11 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
2213
2313
|
},
|
|
2214
2314
|
{
|
|
2215
2315
|
"qbo": "BillAddr",
|
|
@@ -2274,6 +2374,11 @@ var CATALOG = {
|
|
|
2274
2374
|
"qbo": "ExchangeRate",
|
|
2275
2375
|
"support": "partial",
|
|
2276
2376
|
"note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
"qbo": "operation=void",
|
|
2380
|
+
"support": "partial",
|
|
2381
|
+
"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)."
|
|
2277
2382
|
}
|
|
2278
2383
|
],
|
|
2279
2384
|
"unsupported": [
|
|
@@ -2839,7 +2944,8 @@ var CATALOG = {
|
|
|
2839
2944
|
},
|
|
2840
2945
|
{
|
|
2841
2946
|
"qbo": "DocNumber",
|
|
2842
|
-
"support": "full"
|
|
2947
|
+
"support": "full",
|
|
2948
|
+
"note": "Desktop RefNumber: max 20 characters. A longer value is rejected up front with a 400 fault (code 2050) rather than reaching Desktop. A single quote is allowed; query it with a backslash escape."
|
|
2843
2949
|
},
|
|
2844
2950
|
{
|
|
2845
2951
|
"qbo": "PrivateNote",
|
|
@@ -3114,7 +3220,7 @@ function registerTools(server, client) {
|
|
|
3114
3220
|
}
|
|
3115
3221
|
|
|
3116
3222
|
// src/version.ts
|
|
3117
|
-
var PKG_VERSION = "0.
|
|
3223
|
+
var PKG_VERSION = "0.2.0";
|
|
3118
3224
|
|
|
3119
3225
|
// src/server.ts
|
|
3120
3226
|
var SERVER_NAME = "tenkeybridge";
|