@tenkeybridge/mcp 0.1.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.cjs ADDED
@@ -0,0 +1,3175 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ CATALOG: () => CATALOG,
24
+ PKG_VERSION: () => PKG_VERSION,
25
+ SERVER_NAME: () => SERVER_NAME,
26
+ buildServer: () => buildServer,
27
+ catalogSummary: () => catalogSummary,
28
+ defaultTokenFile: () => defaultTokenFile,
29
+ loadConfig: () => loadConfig,
30
+ persistRefreshToken: () => persistRefreshToken,
31
+ readStoredRefreshToken: () => readStoredRefreshToken,
32
+ registerResources: () => registerResources,
33
+ registerTools: () => registerTools,
34
+ resolveCatalog: () => resolveCatalog,
35
+ resolveEntityName: () => resolveEntityName
36
+ });
37
+ module.exports = __toCommonJS(index_exports);
38
+
39
+ // src/server.ts
40
+ var import_mcp2 = require("@modelcontextprotocol/sdk/server/mcp.js");
41
+
42
+ // src/resources.ts
43
+ var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
44
+
45
+ // src/generated/catalog.ts
46
+ var CATALOG = {
47
+ "Account": {
48
+ "entity": "Account",
49
+ "verdict": "live",
50
+ "group": "banking",
51
+ "read": "full",
52
+ "write": "full",
53
+ "headline": "AccountType / AccountSubType enum mapping",
54
+ "fields": [
55
+ {
56
+ "qbo": "Name",
57
+ "support": "full"
58
+ },
59
+ {
60
+ "qbo": "Active",
61
+ "support": "full"
62
+ },
63
+ {
64
+ "qbo": "ParentRef",
65
+ "support": "full",
66
+ "note": "Becomes a Desktop sub-account; FullName is colon-delimited."
67
+ },
68
+ {
69
+ "qbo": "AcctNum",
70
+ "support": "full"
71
+ },
72
+ {
73
+ "qbo": "Description",
74
+ "support": "full"
75
+ },
76
+ {
77
+ "qbo": "AccountType",
78
+ "support": "partial",
79
+ "note": "Mapped per the COMPATIBILITY.md appendix; unmapped values return 422 UNMAPPED_ACCOUNT_TYPE. Desktop-only Non-Posting appears on reads."
80
+ },
81
+ {
82
+ "qbo": "AccountSubType",
83
+ "support": "partial",
84
+ "note": "Accepted and ignored \u2014 Desktop has no account subtype; reads never return one."
85
+ },
86
+ {
87
+ "qbo": "FullyQualifiedName",
88
+ "support": "full",
89
+ "note": "Read-only, derived by Desktop."
90
+ },
91
+ {
92
+ "qbo": "SubAccount",
93
+ "support": "full",
94
+ "note": "Read-only, derived from Desktop Sublevel."
95
+ },
96
+ {
97
+ "qbo": "CurrentBalance",
98
+ "support": "full",
99
+ "note": "Read-only, as in QBO."
100
+ },
101
+ {
102
+ "qbo": "CurrentBalanceWithSubAccounts",
103
+ "support": "full",
104
+ "note": "Read-only; Desktop TotalBalance."
105
+ },
106
+ {
107
+ "qbo": "Classification",
108
+ "support": "partial",
109
+ "note": "Accepted and ignored on writes; not returned on reads \u2014 derive it from AccountType client-side."
110
+ },
111
+ {
112
+ "qbo": "CustomField",
113
+ "support": "partial",
114
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
115
+ },
116
+ {
117
+ "qbo": "CurrencyRef",
118
+ "support": "partial",
119
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
120
+ },
121
+ {
122
+ "qbo": "ExchangeRate",
123
+ "support": "partial",
124
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
125
+ },
126
+ {
127
+ "qbo": "CashFlowClassification",
128
+ "support": "none",
129
+ "note": "Desktop AccountRet.CashFlowClassification has no honest QBO Account field; omitted rather than guessed at.",
130
+ "error": "UNSUPPORTED_BY_DESKTOP"
131
+ },
132
+ {
133
+ "qbo": "SpecialAccountType",
134
+ "support": "none",
135
+ "note": "Desktop SpecialAccountType has no honest QBO Account field; omitted rather than guessed at.",
136
+ "error": "UNSUPPORTED_BY_DESKTOP"
137
+ }
138
+ ],
139
+ "unsupported": []
140
+ },
141
+ "Attachable": {
142
+ "entity": "Attachable",
143
+ "verdict": "gap",
144
+ "group": "gaps",
145
+ "read": "none",
146
+ "write": "none",
147
+ "headline": "QuickBooks Desktop's qbXML API has no attachments interface \u2014 the word 'Attachment' does not occur anywhere in the qbxmlops130 message set.",
148
+ "fields": [],
149
+ "unsupported": [
150
+ {
151
+ "case": "read",
152
+ "error": "UNSUPPORTED_BY_DESKTOP",
153
+ "note": "Re-audited 2026-07-29: zero occurrences of any attachment message (no AttachmentAdd/Query/Ref of any kind) across the full qbxmlops130 schema. Desktop's Attached Documents feature is UI-only; files attached in Desktop cannot be listed or fetched through TenkeyBridge.",
154
+ "workaround": "Store documents in your own system keyed by the TenkeyBridge entity Id \u2014 that is what QBD integrations have always had to do."
155
+ },
156
+ {
157
+ "case": "query",
158
+ "error": "UNSUPPORTED_BY_DESKTOP",
159
+ "note": "Desktop has no attachments API over qbXML \u2014 Attachable queries always fail loud."
160
+ },
161
+ {
162
+ "case": "create",
163
+ "error": "UNSUPPORTED_BY_DESKTOP",
164
+ "note": "Desktop has no attachments API over qbXML \u2014 attachments cannot be uploaded through TenkeyBridge."
165
+ },
166
+ {
167
+ "case": "update",
168
+ "error": "UNSUPPORTED_BY_DESKTOP",
169
+ "note": "Desktop has no attachments API over qbXML \u2014 attachments cannot be modified through TenkeyBridge."
170
+ },
171
+ {
172
+ "case": "delete",
173
+ "error": "UNSUPPORTED_BY_DESKTOP",
174
+ "note": "Desktop has no attachments API over qbXML \u2014 attachments cannot be deleted through TenkeyBridge."
175
+ }
176
+ ]
177
+ },
178
+ "Batch": {
179
+ "entity": "Batch",
180
+ "verdict": "live",
181
+ "group": "platform",
182
+ "read": "full",
183
+ "write": "full",
184
+ "headline": "Batch envelope \u2014 up to 30 create/update/delete/query operations in one request, executed sequentially with per-item faults.",
185
+ "usage": "POST /v3/company/{realmId}/batch",
186
+ "fields": [
187
+ {
188
+ "qbo": "bId",
189
+ "support": "full",
190
+ "note": "Required and unique per request; echoed verbatim on each BatchItemResponse slot."
191
+ },
192
+ {
193
+ "qbo": "operation (create | update | delete)",
194
+ "support": "full",
195
+ "note": "Runs the identical pipeline as the single-shot entity routes \u2014 same classification, faults, and result shapes."
196
+ },
197
+ {
198
+ "qbo": "Query items",
199
+ "support": "full",
200
+ "note": "Full /query parity: the shared WHERE subset, STARTPOSITION/MAXRESULTS, iterator-backed deep pages."
201
+ },
202
+ {
203
+ "qbo": "per-item faults",
204
+ "support": "full",
205
+ "note": "A failed item returns a Fault slot (with the tkb help block); the rest of the batch still runs."
206
+ }
207
+ ],
208
+ "unsupported": [
209
+ {
210
+ "case": "more than 30 items",
211
+ "error": "BATCH_TOO_MANY_ITEMS",
212
+ "note": "QBO's own per-request cap, cloned. Split into multiple batch calls."
213
+ },
214
+ {
215
+ "case": "optionsData (e.g. void)",
216
+ "error": "BATCH_UNSUPPORTED_OPTION",
217
+ "note": "No wired TxnVoid path against Desktop yet \u2014 the item faults loud; the rest of the batch runs."
218
+ },
219
+ {
220
+ "case": "transactional rollback",
221
+ "error": "UNSUPPORTED_BY_DESKTOP",
222
+ "note": "Batch is not a transaction (QBO's isn't either): items succeed or fault independently; earlier writes are never rolled back by a later failure."
223
+ },
224
+ {
225
+ "case": "entity CRUD or /query on Batch itself",
226
+ "error": "UNSUPPORTED_BY_DESKTOP",
227
+ "note": "Batch is a platform endpoint, not an entity \u2014 POST /v3/company/{realmId}/batch."
228
+ }
229
+ ]
230
+ },
231
+ "Bill": {
232
+ "entity": "Bill",
233
+ "verdict": "live",
234
+ "group": "purchasing",
235
+ "read": "full",
236
+ "write": "full",
237
+ "headline": "Account vs. item expense lines map cleanly",
238
+ "fields": [
239
+ {
240
+ "qbo": "VendorRef",
241
+ "support": "full"
242
+ },
243
+ {
244
+ "qbo": "TxnDate",
245
+ "support": "full"
246
+ },
247
+ {
248
+ "qbo": "DueDate",
249
+ "support": "full"
250
+ },
251
+ {
252
+ "qbo": "DocNumber",
253
+ "support": "full"
254
+ },
255
+ {
256
+ "qbo": "SalesTermRef",
257
+ "support": "full",
258
+ "note": "Desktop TermsRef."
259
+ },
260
+ {
261
+ "qbo": "PrivateNote",
262
+ "support": "full"
263
+ },
264
+ {
265
+ "qbo": "Line",
266
+ "support": "full",
267
+ "note": "Account-based and item-based expense lines; other line types return UNSUPPORTED_BY_DESKTOP. Sparse updates cannot modify lines/memo/tax yet. Both AccountBasedExpenseLineDetail.ClassRef and ItemBasedExpenseLineDetail.ClassRef are read/written, mapping to Desktop ExpenseLineAdd/ExpenseLineRet and ItemLineAdd/ItemLineRet ClassRef respectively \u2014 on ExpenseLineAdd, ClassRef sits in OSR position (AccountRef < Amount < Memo < CustomerRef < ClassRef)."
268
+ },
269
+ {
270
+ "qbo": "TotalAmt",
271
+ "support": "full",
272
+ "note": "Read-only, computed by Desktop as AmountDue."
273
+ },
274
+ {
275
+ "qbo": "Balance",
276
+ "support": "full",
277
+ "note": "Read-only, as in QBO."
278
+ },
279
+ {
280
+ "qbo": "CustomField",
281
+ "support": "partial",
282
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
283
+ },
284
+ {
285
+ "qbo": "CurrencyRef",
286
+ "support": "partial",
287
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
288
+ },
289
+ {
290
+ "qbo": "ExchangeRate",
291
+ "support": "partial",
292
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
293
+ },
294
+ {
295
+ "qbo": "LinkedTxn",
296
+ "support": "none",
297
+ "note": "QBO Bill has no paid-by LinkedTxn field. Desktop may return LinkedTxnRet when IncludeLinkedTxns is set, but there is no honest QBO home \u2014 not projected.",
298
+ "error": "UNSUPPORTED_BY_DESKTOP"
299
+ }
300
+ ],
301
+ "unsupported": []
302
+ },
303
+ "BillPayment": {
304
+ "entity": "BillPayment",
305
+ "verdict": "live",
306
+ "group": "purchasing",
307
+ "read": "full",
308
+ "write": "partial",
309
+ "headline": "Fans out to BillPaymentCheck / BillPaymentCreditCard by PayType",
310
+ "fields": [
311
+ {
312
+ "qbo": "PayType",
313
+ "support": "full",
314
+ "note": "Check \u2192 BillPaymentCheck*; CreditCard \u2192 BillPaymentCreditCard*. Updates: Check family only \u2014 qbXML has no BillPaymentCreditCardMod, so credit-card-family updates fail loud with UNSUPPORTED_BY_DESKTOP (#75); delete and re-create instead."
315
+ },
316
+ {
317
+ "qbo": "VendorRef",
318
+ "support": "full",
319
+ "note": "Maps to Desktop PayeeEntityRef."
320
+ },
321
+ {
322
+ "qbo": "TxnDate",
323
+ "support": "full"
324
+ },
325
+ {
326
+ "qbo": "DocNumber",
327
+ "support": "full"
328
+ },
329
+ {
330
+ "qbo": "PrivateNote",
331
+ "support": "full"
332
+ },
333
+ {
334
+ "qbo": "TotalAmt",
335
+ "support": "full",
336
+ "note": "Read-only from Desktop Amount; write-ignored on create/update \u2014 neither BillPaymentCheckAdd nor BillPaymentCreditCardAdd has a top-level Amount element in the OSR, Desktop derives it from the summed AppliedToTxnAdd/PaymentAmount values instead."
337
+ },
338
+ {
339
+ "qbo": "CheckPayment",
340
+ "support": "full",
341
+ "note": "CheckPayment.BankAccountRef \u21C4 BankAccountRef."
342
+ },
343
+ {
344
+ "qbo": "CreditCardPayment",
345
+ "support": "full",
346
+ "note": "CreditCardPayment.CCAccountRef \u21C4 CreditCardAccountRef."
347
+ },
348
+ {
349
+ "qbo": "PrintStatus",
350
+ "support": "partial",
351
+ "note": "Check flavor only; \u21C4 IsToBePrinted. BillPaymentCheckAdd requires IsToBePrinted OR RefNumber (Desktop OSR); when a create supplies neither PrintStatus nor DocNumber, TenkeyBridge synthesizes IsToBePrinted=false so the Add stays schema-valid."
352
+ },
353
+ {
354
+ "qbo": "Line",
355
+ "support": "partial",
356
+ "note": "LinkedTxn bills \u2192 AppliedToTxnAdd; additional LinkedTxn VendorCredit \u2192 SetCredit. Sparse updates cannot modify lines yet."
357
+ },
358
+ {
359
+ "qbo": "CurrencyRef",
360
+ "support": "none",
361
+ "note": "Multicurrency not yet supported.",
362
+ "error": "UNSUPPORTED_BY_DESKTOP"
363
+ },
364
+ {
365
+ "qbo": "ExchangeRate",
366
+ "support": "none",
367
+ "note": "Multicurrency not yet supported.",
368
+ "error": "UNSUPPORTED_BY_DESKTOP"
369
+ }
370
+ ],
371
+ "unsupported": [
372
+ {
373
+ "case": "PayType outside Check/CreditCard",
374
+ "error": "UNSUPPORTED_BY_DESKTOP",
375
+ "note": "Only Check and CreditCard map to Desktop bill-payment families."
376
+ }
377
+ ]
378
+ },
379
+ "Budget": {
380
+ "entity": "Budget",
381
+ "verdict": "planned",
382
+ "group": "planned",
383
+ "read": "none",
384
+ "write": "none",
385
+ "headline": "qbXML has no Budget records, but budget figures are readable through BudgetSummaryReportQuery \u2014 a read-only Budget synthesized from that report is planned; budget writes stay in the Desktop UI forever.",
386
+ "fields": [],
387
+ "unsupported": [
388
+ {
389
+ "case": "read",
390
+ "error": "UNSUPPORTED_BY_DESKTOP",
391
+ "note": "Not yet implemented. qbXML has no Budget record API (no BudgetQuery in the qbxmlops130 message set), but BudgetSummaryReportQuery returns budget amounts by account \xD7 period (optionally \xD7 class or \xD7 customer), which is the data QBO's read-only Budget carries. A synthesized read is planned \u2014 see the tracking issue.",
392
+ "workaround": "Until the read path ships, pull the budget-vs-actual reports from Desktop directly (or export), not via the Accounting API."
393
+ },
394
+ {
395
+ "case": "query",
396
+ "error": "UNSUPPORTED_BY_DESKTOP",
397
+ "note": "Not yet implemented. qbXML cannot enumerate budgets \u2014 BudgetSummaryReportQuery requires a FiscalYear \u2014 so the planned query path probes a bounded fiscal-year window and synthesizes deterministic Ids. See the tracking issue for the design.",
398
+ "workaround": "Until the read path ships, pull the budget-vs-actual reports from Desktop directly (or export), not via the Accounting API."
399
+ },
400
+ {
401
+ "case": "create",
402
+ "error": "UNSUPPORTED_BY_DESKTOP",
403
+ "note": "Permanent: qbXML has no BudgetAdd. Budget setup stays in the Desktop UI \u2014 QBO's own Budget entity is read-only too, so no QBO-compatible client loses anything here."
404
+ },
405
+ {
406
+ "case": "update",
407
+ "error": "UNSUPPORTED_BY_DESKTOP",
408
+ "note": "Permanent: qbXML has no BudgetMod. Budget changes stay in the Desktop UI."
409
+ },
410
+ {
411
+ "case": "delete",
412
+ "error": "UNSUPPORTED_BY_DESKTOP",
413
+ "note": "Permanent: qbXML has no BudgetDel."
414
+ }
415
+ ]
416
+ },
417
+ "CDC": {
418
+ "entity": "CDC",
419
+ "verdict": "live",
420
+ "group": "platform",
421
+ "read": "full",
422
+ "write": "none",
423
+ "headline": "Change Data Capture \u2014 one poll returns changed + deleted records across entities.",
424
+ "usage": "GET /v3/company/{realmId}/cdc?entities=Invoice,Customer&changedSince=2026-07-01",
425
+ "fields": [
426
+ {
427
+ "qbo": "entities",
428
+ "support": "full",
429
+ "note": "Comma-separated QBO entity names. Unsupported names return per-entity Fault slots; live entities in the same request still return data."
430
+ },
431
+ {
432
+ "qbo": "changedSince",
433
+ "support": "full",
434
+ "note": "ISO 8601 timestamp or YYYY-MM-DD, at most 30 days back (QBO's own limit)."
435
+ },
436
+ {
437
+ "qbo": "deleted-record stubs",
438
+ "support": "full",
439
+ "note": "status:'Deleted' stubs via Desktop's TxnDeletedQuery/ListDeletedQuery, with TimeDeleted as MetaData.LastUpdatedTime."
440
+ }
441
+ ],
442
+ "unsupported": [
443
+ {
444
+ "case": "changedSince older than 30 days",
445
+ "error": "CDC_INVALID_CHANGED_SINCE",
446
+ "note": "Hard limit, cloned from QBO. Use /query with a MetaData.LastUpdatedTime filter for older data."
447
+ },
448
+ {
449
+ "case": "more than 1,000 objects for one entity",
450
+ "error": "CDC_OVERFLOW",
451
+ "note": "Loud per-entity fault, never silent truncation. Page through /query instead."
452
+ },
453
+ {
454
+ "case": "deactivated list records reported as deletions",
455
+ "error": "UNSUPPORTED_BY_DESKTOP",
456
+ "note": "Desktop only hard-deletes unused list records. Active:false is a change, not a deletion \u2014 it surfaces as a changed record."
457
+ },
458
+ {
459
+ "case": "deleted TaxAgency / ExchangeRate / Transfer detection",
460
+ "error": "UNSUPPORTED_BY_DESKTOP",
461
+ "note": "Tax agencies are vendors on Desktop (deletion indistinguishable); exchange rates ride the Currency list; 'Transfer' is not a valid TxnDelType."
462
+ }
463
+ ]
464
+ },
465
+ "Class": {
466
+ "entity": "Class",
467
+ "verdict": "live",
468
+ "group": "lists",
469
+ "read": "full",
470
+ "write": "full",
471
+ "headline": "Hierarchical Class list; SubClass/FullyQualifiedName from Desktop Sublevel/FullName",
472
+ "fields": [
473
+ {
474
+ "qbo": "Name",
475
+ "support": "full"
476
+ },
477
+ {
478
+ "qbo": "Active",
479
+ "support": "full"
480
+ },
481
+ {
482
+ "qbo": "ParentRef",
483
+ "support": "full",
484
+ "note": "Becomes a Desktop sub-class; FullName is colon-delimited (e.g. Services:West Coast)."
485
+ },
486
+ {
487
+ "qbo": "FullyQualifiedName",
488
+ "support": "full",
489
+ "note": "Read-only, derived by Desktop from the parent chain."
490
+ },
491
+ {
492
+ "qbo": "SubClass",
493
+ "support": "full",
494
+ "note": "Read-only, derived from Desktop Sublevel (true when Sublevel > 0)."
495
+ }
496
+ ],
497
+ "unsupported": []
498
+ },
499
+ "CompanyCurrency": {
500
+ "entity": "CompanyCurrency",
501
+ "verdict": "live",
502
+ "group": "lists",
503
+ "read": "full",
504
+ "write": "none",
505
+ "headline": "Desktop CurrencyQuery list; empty when multicurrency is off (statusCode 3250, confirmed live, and 3170 both normalized to [])",
506
+ "fields": [
507
+ {
508
+ "qbo": "Name",
509
+ "support": "full"
510
+ },
511
+ {
512
+ "qbo": "Active",
513
+ "support": "full"
514
+ },
515
+ {
516
+ "qbo": "Code",
517
+ "support": "full",
518
+ "note": "Desktop CurrencyCode."
519
+ }
520
+ ],
521
+ "unsupported": [
522
+ {
523
+ "case": "Create, update, or delete",
524
+ "error": "UNSUPPORTED_BY_DESKTOP",
525
+ "note": "CompanyCurrency is read/query only \u2014 Desktop CurrencyAdd/Mod is out of scope for this stretch entity; QBO also treats company currency catalog as admin-managed."
526
+ }
527
+ ]
528
+ },
529
+ "CompanyInfo": {
530
+ "entity": "CompanyInfo",
531
+ "verdict": "live",
532
+ "group": "company",
533
+ "read": "full",
534
+ "write": "none",
535
+ "headline": "Read-only; Id equals the realm ID, no Desktop write path",
536
+ "fields": [
537
+ {
538
+ "qbo": "CompanyName",
539
+ "support": "full"
540
+ },
541
+ {
542
+ "qbo": "LegalName",
543
+ "support": "full",
544
+ "note": "Desktop LegalCompanyName."
545
+ },
546
+ {
547
+ "qbo": "CompanyAddr",
548
+ "support": "full",
549
+ "note": "Desktop Address."
550
+ },
551
+ {
552
+ "qbo": "CustomerCommunicationAddr",
553
+ "support": "full",
554
+ "note": "Desktop CompanyAddressForCustomer \u2014 an independent address, not a copy of CompanyAddr; absent if Desktop has none on file."
555
+ },
556
+ {
557
+ "qbo": "LegalAddr",
558
+ "support": "full",
559
+ "note": "Desktop LegalAddress."
560
+ },
561
+ {
562
+ "qbo": "PrimaryPhone",
563
+ "support": "full",
564
+ "note": "Desktop Phone."
565
+ },
566
+ {
567
+ "qbo": "Email",
568
+ "support": "full"
569
+ },
570
+ {
571
+ "qbo": "FiscalYearStartMonth",
572
+ "support": "full",
573
+ "note": 'Desktop FirstMonthFiscalYear; both sides use English month names (live-verified "January").'
574
+ },
575
+ {
576
+ "qbo": "Country",
577
+ "support": "full",
578
+ "note": "Desktop Address.Country, passed through as free text \u2014 no normalization, and often blank on US company files."
579
+ },
580
+ {
581
+ "qbo": "NameValue",
582
+ "support": "none",
583
+ "note": "No Desktop CompanyRet equivalent \u2014 omitted rather than guessed at; never returned.",
584
+ "error": "UNSUPPORTED_BY_DESKTOP"
585
+ },
586
+ {
587
+ "qbo": "CompanyStartDate",
588
+ "support": "none",
589
+ "note": "No Desktop CompanyRet equivalent \u2014 omitted rather than guessed at; never returned.",
590
+ "error": "UNSUPPORTED_BY_DESKTOP"
591
+ },
592
+ {
593
+ "qbo": "SupportedLanguages",
594
+ "support": "none",
595
+ "note": "No Desktop CompanyRet equivalent \u2014 omitted rather than guessed at; never returned.",
596
+ "error": "UNSUPPORTED_BY_DESKTOP"
597
+ },
598
+ {
599
+ "qbo": "DefaultTimeZone",
600
+ "support": "none",
601
+ "note": "No Desktop CompanyRet equivalent \u2014 omitted rather than guessed at; never returned.",
602
+ "error": "UNSUPPORTED_BY_DESKTOP"
603
+ },
604
+ {
605
+ "qbo": "WebAddr",
606
+ "support": "none",
607
+ "note": "CompanyRet has no URL field \u2014 omitted rather than guessed at; never returned.",
608
+ "error": "UNSUPPORTED_BY_DESKTOP"
609
+ }
610
+ ],
611
+ "unsupported": [
612
+ {
613
+ "case": "Create, update, or delete",
614
+ "error": "UNSUPPORTED_BY_DESKTOP",
615
+ "note": "CompanyInfo is read/query only \u2014 there is exactly one company record, and Desktop has no API to create or modify it."
616
+ },
617
+ {
618
+ "case": "Any WHERE clause, or STARTPOSITION/MAXRESULTS",
619
+ "error": "UNSUPPORTED_QUERY",
620
+ "note": "CompanyQueryRq takes no filters and always returns the single open company record. Use SELECT * FROM CompanyInfo."
621
+ }
622
+ ]
623
+ },
624
+ "CreditMemo": {
625
+ "entity": "CreditMemo",
626
+ "verdict": "live",
627
+ "group": "sales",
628
+ "read": "full",
629
+ "write": "partial",
630
+ "headline": "Invoice twin \u2014 Balance and RemainingCredit both map from Desktop CreditRemaining",
631
+ "fields": [
632
+ {
633
+ "qbo": "CustomerRef",
634
+ "support": "full"
635
+ },
636
+ {
637
+ "qbo": "TxnDate",
638
+ "support": "full"
639
+ },
640
+ {
641
+ "qbo": "DocNumber",
642
+ "support": "full"
643
+ },
644
+ {
645
+ "qbo": "BillAddr",
646
+ "support": "full"
647
+ },
648
+ {
649
+ "qbo": "ShipAddr",
650
+ "support": "full"
651
+ },
652
+ {
653
+ "qbo": "PONumber",
654
+ "support": "full"
655
+ },
656
+ {
657
+ "qbo": "SalesTermRef",
658
+ "support": "full"
659
+ },
660
+ {
661
+ "qbo": "DueDate",
662
+ "support": "full"
663
+ },
664
+ {
665
+ "qbo": "PrivateNote",
666
+ "support": "full"
667
+ },
668
+ {
669
+ "qbo": "CustomerMemo",
670
+ "support": "full",
671
+ "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
672
+ },
673
+ {
674
+ "qbo": "Line",
675
+ "support": "partial",
676
+ "note": "Same DetailType support as Invoice: SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; DiscountLineDetail requires a Desktop discount item; other DetailTypes return UNSUPPORTED_BY_DESKTOP. Group lines read back as GroupLineDetail without nested line expansion; Desktop discount lines read back as regular item lines referencing the discount item. Updates carrying Line replace the entire line table: every line is re-created with a new line Id and lines omitted from the update are deleted by Desktop (v1 full replacement, #55)."
677
+ },
678
+ {
679
+ "qbo": "TxnTaxDetail",
680
+ "support": "partial",
681
+ "note": "Set TxnTaxCodeRef explicitly; computed TotalTax alone is rejected. Updatable via sparse update (#55)."
682
+ },
683
+ {
684
+ "qbo": "LinkedTxn",
685
+ "support": "partial",
686
+ "note": "Read-only; reflects applied payments/credits, ignored on write \u2014 same as QBO."
687
+ },
688
+ {
689
+ "qbo": "TotalAmt",
690
+ "support": "full",
691
+ "note": "Read-only, mapped from Desktop TotalAmount."
692
+ },
693
+ {
694
+ "qbo": "Balance",
695
+ "support": "full",
696
+ "note": "Read-only remaining unapplied credit; mapped from Desktop CreditRemaining."
697
+ },
698
+ {
699
+ "qbo": "RemainingCredit",
700
+ "support": "full",
701
+ "note": "Read-only \u2014 total credit still available to apply. A distinct QBO field, not an alias of Balance; both map from Desktop's single CreditRemaining since Desktop has only the one figure."
702
+ },
703
+ {
704
+ "qbo": "ApplyTaxAfterDiscount",
705
+ "support": "none",
706
+ "note": "Desktop credit memos have no ApplyTaxAfterDiscount toggle. Control tax via per-line TaxCodeRef / TxnTaxDetail.TxnTaxCodeRef instead.",
707
+ "error": "UNSUPPORTED_BY_DESKTOP"
708
+ }
709
+ ],
710
+ "unsupported": [
711
+ {
712
+ "case": "TxnTaxDetail.TotalTax supplied without TxnTaxCodeRef",
713
+ "error": "UNSUPPORTED_BY_DESKTOP",
714
+ "note": "Desktop cannot honor a computed tax total. Set TxnTaxDetail.TxnTaxCodeRef or per-line TaxCodeRef explicitly. See COMPATIBILITY.md."
715
+ },
716
+ {
717
+ "case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
718
+ "error": "MISSING_REQUIRED_DESKTOP_ITEM",
719
+ "note": "Desktop discounts are items. Create a discount item in the company file and reference it as DiscountLineDetail.ItemRef. See COMPATIBILITY.md."
720
+ },
721
+ {
722
+ "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
723
+ "error": "UNSUPPORTED_BY_DESKTOP",
724
+ "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
725
+ },
726
+ {
727
+ "case": "ApplyTaxAfterDiscount supplied",
728
+ "error": "UNSUPPORTED_BY_DESKTOP",
729
+ "note": "Desktop credit memos have no ApplyTaxAfterDiscount toggle. Control tax via per-line TaxCodeRef / TxnTaxDetail.TxnTaxCodeRef instead."
730
+ }
731
+ ]
732
+ },
733
+ "Customer": {
734
+ "entity": "Customer",
735
+ "verdict": "live",
736
+ "group": "sales",
737
+ "read": "full",
738
+ "write": "full",
739
+ "headline": "Sub-customer maps to Desktop Customer:Job",
740
+ "fields": [
741
+ {
742
+ "qbo": "DisplayName",
743
+ "support": "full"
744
+ },
745
+ {
746
+ "qbo": "CompanyName",
747
+ "support": "full"
748
+ },
749
+ {
750
+ "qbo": "Title",
751
+ "support": "full"
752
+ },
753
+ {
754
+ "qbo": "GivenName",
755
+ "support": "full"
756
+ },
757
+ {
758
+ "qbo": "MiddleName",
759
+ "support": "full"
760
+ },
761
+ {
762
+ "qbo": "FamilyName",
763
+ "support": "full"
764
+ },
765
+ {
766
+ "qbo": "PrimaryEmailAddr",
767
+ "support": "full"
768
+ },
769
+ {
770
+ "qbo": "PrimaryPhone",
771
+ "support": "full"
772
+ },
773
+ {
774
+ "qbo": "AlternatePhone",
775
+ "support": "full"
776
+ },
777
+ {
778
+ "qbo": "Fax",
779
+ "support": "full"
780
+ },
781
+ {
782
+ "qbo": "BillAddr",
783
+ "support": "full"
784
+ },
785
+ {
786
+ "qbo": "ShipAddr",
787
+ "support": "full"
788
+ },
789
+ {
790
+ "qbo": "Notes",
791
+ "support": "full"
792
+ },
793
+ {
794
+ "qbo": "Active",
795
+ "support": "full"
796
+ },
797
+ {
798
+ "qbo": "ParentRef",
799
+ "support": "full",
800
+ "note": "Becomes a Desktop Job under the parent; FullName is colon-delimited."
801
+ },
802
+ {
803
+ "qbo": "SalesTermRef",
804
+ "support": "full",
805
+ "note": "Desktop TermsRef."
806
+ },
807
+ {
808
+ "qbo": "CustomerTypeRef",
809
+ "support": "full"
810
+ },
811
+ {
812
+ "qbo": "DefaultTaxCodeRef",
813
+ "support": "full",
814
+ "note": "Desktop SalesTaxCodeRef."
815
+ },
816
+ {
817
+ "qbo": "AcctNum",
818
+ "support": "full",
819
+ "note": "Desktop AccountNumber."
820
+ },
821
+ {
822
+ "qbo": "Balance",
823
+ "support": "full",
824
+ "note": "Read-only, as in QBO."
825
+ },
826
+ {
827
+ "qbo": "BalanceWithJobs",
828
+ "support": "full",
829
+ "note": "Read-only; Desktop TotalBalance."
830
+ },
831
+ {
832
+ "qbo": "FullyQualifiedName",
833
+ "support": "full",
834
+ "note": "Read-only, derived by Desktop."
835
+ },
836
+ {
837
+ "qbo": "Job",
838
+ "support": "full",
839
+ "note": "Read-only, derived by Desktop Sublevel."
840
+ },
841
+ {
842
+ "qbo": "CustomField",
843
+ "support": "partial",
844
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
845
+ },
846
+ {
847
+ "qbo": "CurrencyRef",
848
+ "support": "partial",
849
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
850
+ },
851
+ {
852
+ "qbo": "ExchangeRate",
853
+ "support": "partial",
854
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
855
+ },
856
+ {
857
+ "qbo": "PreferredPaymentMethodRef",
858
+ "support": "partial",
859
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
860
+ },
861
+ {
862
+ "qbo": "PreferredDeliveryMethod",
863
+ "support": "none",
864
+ "note": "Desktop has no delivery-method preference. Remove the field from your payload.",
865
+ "error": "UNSUPPORTED_BY_DESKTOP"
866
+ },
867
+ {
868
+ "qbo": "Taxable",
869
+ "support": "none",
870
+ "note": "Desktop customers have no taxable flag; set tax codes on transactions instead.",
871
+ "error": "UNSUPPORTED_BY_DESKTOP"
872
+ },
873
+ {
874
+ "qbo": "PrintOnCheckName",
875
+ "support": "none",
876
+ "note": "Desktop CustomerRet has no PrintAs element (unlike Vendor/Employee).",
877
+ "error": "UNSUPPORTED_BY_DESKTOP"
878
+ },
879
+ {
880
+ "qbo": "Mobile",
881
+ "support": "none",
882
+ "note": "Desktop CustomerRet has no separate mobile-phone element beyond Phone/AltPhone/Fax.",
883
+ "error": "UNSUPPORTED_BY_DESKTOP"
884
+ },
885
+ {
886
+ "qbo": "WebAddr",
887
+ "support": "none",
888
+ "note": "Desktop CustomerRet has no website element.",
889
+ "error": "UNSUPPORTED_BY_DESKTOP"
890
+ }
891
+ ],
892
+ "unsupported": []
893
+ },
894
+ "CustomerType": {
895
+ "entity": "CustomerType",
896
+ "verdict": "live",
897
+ "group": "lists",
898
+ "read": "full",
899
+ "write": "none",
900
+ "headline": "Read/query only \u2014 QBO CustomerType is read-only via the API; Desktop hierarchy is not exposed",
901
+ "fields": [
902
+ {
903
+ "qbo": "Name",
904
+ "support": "full"
905
+ },
906
+ {
907
+ "qbo": "Active",
908
+ "support": "full"
909
+ }
910
+ ],
911
+ "unsupported": [
912
+ {
913
+ "case": "Create or update",
914
+ "error": "UNSUPPORTED_BY_DESKTOP",
915
+ "note": "QBO's CustomerType is read-only via the API. TenkeyBridge matches that parity even though Desktop allows CustomerTypeAdd. Desktop ParentRef/Sublevel/FullName have no QBO CustomerType fields and are not surfaced."
916
+ }
917
+ ]
918
+ },
919
+ "Department": {
920
+ "entity": "Department",
921
+ "verdict": "gap",
922
+ "group": "gaps",
923
+ "read": "none",
924
+ "write": "none",
925
+ "headline": "QBO Departments (locations) have no Desktop equivalent \u2014 the only 'Department'/'Location' strings in qbXML are free-text fields on Employee, FixedAsset, and Lead, and Desktop's one real dimensional list (Class) is already exposed faithfully as Class.",
926
+ "fields": [],
927
+ "unsupported": [
928
+ {
929
+ "case": "read",
930
+ "error": "UNSUPPORTED_BY_DESKTOP",
931
+ "note": "Re-audited 2026-07-29 against the qbxmlops130 message set: qbXML has no Department or Location list \u2014 no Add/Mod/Query message pair exists. The tokens only appear as plain STRTYPE fields (Employee.Department, FixedAsset.Location, Lead.Location), which are annotations, not a queryable list.",
932
+ "workaround": "If your integration treats QBO locations as just another dimension, remap DepartmentRef onto Class in your own code \u2014 Class is live in TenkeyBridge. We decided against a built-in Department\u2192Class alias, even opt-in: ClassRef already maps to Class, so aliasing would make two QBO fields silently write one Desktop list and collide when a client sends both."
933
+ },
934
+ {
935
+ "case": "query",
936
+ "error": "UNSUPPORTED_BY_DESKTOP",
937
+ "note": "qbXML has no Department/Location list to query \u2014 confirmed absent from the qbxmlops130 message set.",
938
+ "workaround": "Query Class instead if you remap locations client-side; that remapping is your call, TenkeyBridge never reinterprets DepartmentRef silently."
939
+ },
940
+ {
941
+ "case": "create",
942
+ "error": "UNSUPPORTED_BY_DESKTOP",
943
+ "note": "Desktop has no Department create. Use Class if you need a dimensional axis on Desktop."
944
+ },
945
+ {
946
+ "case": "update",
947
+ "error": "UNSUPPORTED_BY_DESKTOP",
948
+ "note": "Desktop has no Department update."
949
+ },
950
+ {
951
+ "case": "delete",
952
+ "error": "UNSUPPORTED_BY_DESKTOP",
953
+ "note": "Desktop has no Department delete."
954
+ }
955
+ ]
956
+ },
957
+ "Deposit": {
958
+ "entity": "Deposit",
959
+ "verdict": "live",
960
+ "group": "banking",
961
+ "read": "full",
962
+ "write": "partial",
963
+ "headline": "Undeposited Funds \u2192 bank via LinkedTxn or manual DepositLineDetail",
964
+ "fields": [
965
+ {
966
+ "qbo": "DepositToAccountRef",
967
+ "support": "full"
968
+ },
969
+ {
970
+ "qbo": "TxnDate",
971
+ "support": "full"
972
+ },
973
+ {
974
+ "qbo": "PrivateNote",
975
+ "support": "full"
976
+ },
977
+ {
978
+ "qbo": "Line",
979
+ "support": "partial",
980
+ "note": "LinkedTxn (PaymentTxnID path) for undeposited payments, or DepositLineDetail{Entity, AccountRef, PaymentMethodRef, CheckNum}. Sparse updates cannot modify lines yet."
981
+ },
982
+ {
983
+ "qbo": "CashBack",
984
+ "support": "full",
985
+ "note": "Maps to Desktop CashBackInfo."
986
+ },
987
+ {
988
+ "qbo": "TotalAmt",
989
+ "support": "full",
990
+ "note": "Read-only from Desktop DepositTotal."
991
+ },
992
+ {
993
+ "qbo": "CurrencyRef",
994
+ "support": "none",
995
+ "note": "Multicurrency not yet supported.",
996
+ "error": "UNSUPPORTED_BY_DESKTOP"
997
+ },
998
+ {
999
+ "qbo": "ExchangeRate",
1000
+ "support": "none",
1001
+ "note": "Multicurrency not yet supported.",
1002
+ "error": "UNSUPPORTED_BY_DESKTOP"
1003
+ }
1004
+ ],
1005
+ "unsupported": []
1006
+ },
1007
+ "Employee": {
1008
+ "entity": "Employee",
1009
+ "verdict": "live",
1010
+ "group": "lists",
1011
+ "read": "full",
1012
+ "write": "none",
1013
+ "headline": "Read/query only \u2014 no Desktop write path this release; payroll aggregates out of scope",
1014
+ "fields": [
1015
+ {
1016
+ "qbo": "GivenName",
1017
+ "support": "full"
1018
+ },
1019
+ {
1020
+ "qbo": "MiddleName",
1021
+ "support": "full"
1022
+ },
1023
+ {
1024
+ "qbo": "FamilyName",
1025
+ "support": "full"
1026
+ },
1027
+ {
1028
+ "qbo": "Suffix",
1029
+ "support": "full"
1030
+ },
1031
+ {
1032
+ "qbo": "DisplayName",
1033
+ "support": "full"
1034
+ },
1035
+ {
1036
+ "qbo": "PrintOnCheckName",
1037
+ "support": "full",
1038
+ "note": "Desktop PrintAs."
1039
+ },
1040
+ {
1041
+ "qbo": "Active",
1042
+ "support": "full"
1043
+ },
1044
+ {
1045
+ "qbo": "PrimaryPhone",
1046
+ "support": "full"
1047
+ },
1048
+ {
1049
+ "qbo": "Mobile",
1050
+ "support": "full"
1051
+ },
1052
+ {
1053
+ "qbo": "PrimaryEmailAddr",
1054
+ "support": "full"
1055
+ },
1056
+ {
1057
+ "qbo": "PrimaryAddr",
1058
+ "support": "full"
1059
+ },
1060
+ {
1061
+ "qbo": "HiredDate",
1062
+ "support": "full"
1063
+ },
1064
+ {
1065
+ "qbo": "ReleasedDate",
1066
+ "support": "full"
1067
+ },
1068
+ {
1069
+ "qbo": "BirthDate",
1070
+ "support": "full"
1071
+ },
1072
+ {
1073
+ "qbo": "Gender",
1074
+ "support": "full"
1075
+ },
1076
+ {
1077
+ "qbo": "CustomField",
1078
+ "support": "partial",
1079
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only."
1080
+ },
1081
+ {
1082
+ "qbo": "TargetBonus",
1083
+ "support": "none",
1084
+ "note": "Desktop payroll aggregate; license-gated and out of scope.",
1085
+ "error": "UNSUPPORTED_BY_DESKTOP"
1086
+ },
1087
+ {
1088
+ "qbo": "AdditionalContactRef",
1089
+ "support": "none",
1090
+ "note": "Desktop AdditionalContactRef has no honest QBO Employee field; omitted rather than guessed at.",
1091
+ "error": "UNSUPPORTED_BY_DESKTOP"
1092
+ }
1093
+ ],
1094
+ "unsupported": [
1095
+ {
1096
+ "case": "Create or update",
1097
+ "error": "UNSUPPORTED_BY_DESKTOP",
1098
+ "note": "Employee is read/query only this release; TenkeyBridge doesn't expose a Desktop write path for it."
1099
+ }
1100
+ ]
1101
+ },
1102
+ "Estimate": {
1103
+ "entity": "Estimate",
1104
+ "verdict": "live",
1105
+ "group": "sales",
1106
+ "read": "full",
1107
+ "write": "partial",
1108
+ "headline": "Same shape as Invoice; no expiration/acceptance tracking",
1109
+ "fields": [
1110
+ {
1111
+ "qbo": "CustomerRef",
1112
+ "support": "full"
1113
+ },
1114
+ {
1115
+ "qbo": "TxnDate",
1116
+ "support": "full"
1117
+ },
1118
+ {
1119
+ "qbo": "DocNumber",
1120
+ "support": "full"
1121
+ },
1122
+ {
1123
+ "qbo": "BillAddr",
1124
+ "support": "full"
1125
+ },
1126
+ {
1127
+ "qbo": "ShipAddr",
1128
+ "support": "full"
1129
+ },
1130
+ {
1131
+ "qbo": "PONumber",
1132
+ "support": "full"
1133
+ },
1134
+ {
1135
+ "qbo": "SalesTermRef",
1136
+ "support": "full"
1137
+ },
1138
+ {
1139
+ "qbo": "DueDate",
1140
+ "support": "full"
1141
+ },
1142
+ {
1143
+ "qbo": "PrivateNote",
1144
+ "support": "full"
1145
+ },
1146
+ {
1147
+ "qbo": "CustomerMemo",
1148
+ "support": "full",
1149
+ "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
1150
+ },
1151
+ {
1152
+ "qbo": "Line",
1153
+ "support": "partial",
1154
+ "note": "Same DetailType support as Invoice: SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail requires a Desktop discount item; other DetailTypes return UNSUPPORTED_BY_DESKTOP. Group lines read back as GroupLineDetail without nested line expansion; Desktop discount lines read back as regular item lines referencing the discount item. Updates carrying Line replace the entire line table: every line is re-created with a new line Id and lines omitted from the update are deleted by Desktop (v1 full replacement, #55)."
1155
+ },
1156
+ {
1157
+ "qbo": "TxnTaxDetail",
1158
+ "support": "partial",
1159
+ "note": "Set TxnTaxCodeRef explicitly on write; computed TotalTax alone is rejected. On read: TotalTax, TxnTaxCodeRef, and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}]. NetAmountTaxable never returned. Updatable via sparse update (#55)."
1160
+ },
1161
+ {
1162
+ "qbo": "LinkedTxn",
1163
+ "support": "full",
1164
+ "note": "Populated on read from LinkedTxnRet (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."
1165
+ },
1166
+ {
1167
+ "qbo": "CustomField",
1168
+ "support": "partial",
1169
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
1170
+ },
1171
+ {
1172
+ "qbo": "TotalAmt",
1173
+ "support": "full",
1174
+ "note": "Read-only, computed by Desktop as Subtotal + SalesTaxTotal (not independently verified live \u2014 see issue #38 report)."
1175
+ },
1176
+ {
1177
+ "qbo": "CurrencyRef",
1178
+ "support": "partial",
1179
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
1180
+ },
1181
+ {
1182
+ "qbo": "ExchangeRate",
1183
+ "support": "partial",
1184
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
1185
+ },
1186
+ {
1187
+ "qbo": "ExpirationDate",
1188
+ "support": "none",
1189
+ "note": "Desktop estimates have no expiration date. Track it in your own system if needed.",
1190
+ "error": "UNSUPPORTED_BY_DESKTOP"
1191
+ },
1192
+ {
1193
+ "qbo": "AcceptedBy",
1194
+ "support": "none",
1195
+ "note": "Desktop estimates have no accepted-by field. Track acceptance in your own system.",
1196
+ "error": "UNSUPPORTED_BY_DESKTOP"
1197
+ },
1198
+ {
1199
+ "qbo": "AcceptedDate",
1200
+ "support": "none",
1201
+ "note": "Desktop estimates have no accepted-date field. Track acceptance in your own system.",
1202
+ "error": "UNSUPPORTED_BY_DESKTOP"
1203
+ },
1204
+ {
1205
+ "qbo": "TxnStatus",
1206
+ "support": "none",
1207
+ "note": "Desktop estimates have no status field matching QBO's Pending/Accepted/Closed/Rejected enum. Track status in your own system.",
1208
+ "error": "UNSUPPORTED_BY_DESKTOP"
1209
+ }
1210
+ ],
1211
+ "unsupported": [
1212
+ {
1213
+ "case": "TxnTaxDetail.TotalTax supplied without TxnTaxCodeRef",
1214
+ "error": "UNSUPPORTED_BY_DESKTOP",
1215
+ "note": "Desktop cannot honor a computed tax total. Set TxnTaxDetail.TxnTaxCodeRef or per-line TaxCodeRef explicitly. See COMPATIBILITY.md."
1216
+ },
1217
+ {
1218
+ "case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
1219
+ "error": "MISSING_REQUIRED_DESKTOP_ITEM",
1220
+ "note": "Desktop discounts are items. Create a discount item in the company file and reference it as DiscountLineDetail.ItemRef. See COMPATIBILITY.md."
1221
+ },
1222
+ {
1223
+ "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
1224
+ "error": "UNSUPPORTED_BY_DESKTOP",
1225
+ "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
1226
+ }
1227
+ ]
1228
+ },
1229
+ "ExchangeRate": {
1230
+ "entity": "ExchangeRate",
1231
+ "verdict": "live",
1232
+ "group": "lists",
1233
+ "read": "partial",
1234
+ "write": "none",
1235
+ "headline": "Projected from CurrencyRet.ExchangeRate + AsOfDate; one row per currency that carries a rate; empty when multicurrency is off (statusCode 3250, confirmed live, and 3170 both normalized to [])",
1236
+ "fields": [
1237
+ {
1238
+ "qbo": "SourceCurrencyCode",
1239
+ "support": "full",
1240
+ "note": "Desktop CurrencyCode on the same CurrencyRet."
1241
+ },
1242
+ {
1243
+ "qbo": "Rate",
1244
+ "support": "full",
1245
+ "note": "Desktop ExchangeRate."
1246
+ },
1247
+ {
1248
+ "qbo": "AsOfDate",
1249
+ "support": "full",
1250
+ "note": "Desktop AsOfDate when present; omitted when Desktop has none."
1251
+ },
1252
+ {
1253
+ "qbo": "TargetCurrencyCode",
1254
+ "support": "none",
1255
+ "note": "CurrencyRet has no per-row target; home currency lives on Preferences.CurrencyPrefs.HomeCurrency \u2014 never invented here.",
1256
+ "error": "UNSUPPORTED_BY_DESKTOP"
1257
+ }
1258
+ ],
1259
+ "unsupported": [
1260
+ {
1261
+ "case": "QBO-style keyed lookup GET /exchangerate?sourcecurrencycode=EUR[&asofdate=...]",
1262
+ "error": "UNSUPPORTED_QUERY",
1263
+ "note": "Real QBO keys ExchangeRate by sourcecurrencycode/asofdate query params. TenkeyBridge exposes it as a conventional Id-keyed resource (Id = Desktop currency ListID) with SELECT * queries \u2014 filter by SourceCurrencyCode client-side."
1264
+ },
1265
+ {
1266
+ "case": "Create, update, or delete",
1267
+ "error": "UNSUPPORTED_BY_DESKTOP",
1268
+ "note": "ExchangeRate is read/query only \u2014 projected from CurrencyQuery, not a writable Desktop list."
1269
+ },
1270
+ {
1271
+ "case": "Currencies without ExchangeRate on CurrencyRet",
1272
+ "error": "UNSUPPORTED_BY_DESKTOP",
1273
+ "note": "Projection skips CurrencyRets that do not carry ExchangeRate (home currency rows often omit it)."
1274
+ }
1275
+ ]
1276
+ },
1277
+ "Invoice": {
1278
+ "entity": "Invoice",
1279
+ "verdict": "live",
1280
+ "group": "sales",
1281
+ "read": "full",
1282
+ "write": "partial",
1283
+ "headline": "Line model, tax, discount, linked txns, and custom fields",
1284
+ "fields": [
1285
+ {
1286
+ "qbo": "CustomerRef",
1287
+ "support": "full"
1288
+ },
1289
+ {
1290
+ "qbo": "TxnDate",
1291
+ "support": "full"
1292
+ },
1293
+ {
1294
+ "qbo": "DocNumber",
1295
+ "support": "full"
1296
+ },
1297
+ {
1298
+ "qbo": "BillAddr",
1299
+ "support": "full"
1300
+ },
1301
+ {
1302
+ "qbo": "ShipAddr",
1303
+ "support": "full"
1304
+ },
1305
+ {
1306
+ "qbo": "ShipDate",
1307
+ "support": "full"
1308
+ },
1309
+ {
1310
+ "qbo": "ShipMethodRef",
1311
+ "support": "full"
1312
+ },
1313
+ {
1314
+ "qbo": "PONumber",
1315
+ "support": "full"
1316
+ },
1317
+ {
1318
+ "qbo": "SalesTermRef",
1319
+ "support": "full"
1320
+ },
1321
+ {
1322
+ "qbo": "DueDate",
1323
+ "support": "full"
1324
+ },
1325
+ {
1326
+ "qbo": "PrivateNote",
1327
+ "support": "full"
1328
+ },
1329
+ {
1330
+ "qbo": "CustomerMemo",
1331
+ "support": "full",
1332
+ "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
1333
+ },
1334
+ {
1335
+ "qbo": "Line",
1336
+ "support": "partial",
1337
+ "note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail requires a Desktop discount item referenced via DiscountLineDetail.ItemRef; other DetailTypes (e.g. SubTotalLineDetail) return UNSUPPORTED_BY_DESKTOP. Group lines read back as GroupLineDetail without nested line expansion; Desktop discount lines read back as regular item lines referencing the discount item. Updates carrying Line replace the entire line table: every line is re-created with a new line Id and lines omitted from the update are deleted by Desktop (v1 full replacement, #55)."
1338
+ },
1339
+ {
1340
+ "qbo": "TxnTaxDetail",
1341
+ "support": "partial",
1342
+ "note": "Set TxnTaxCodeRef explicitly on write; computed TotalTax alone is rejected. On read: TotalTax, TxnTaxCodeRef (from ItemSalesTaxRef), and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}] from SalesTaxTotal/ItemSalesTaxRef/SalesTaxPercentage. NetAmountTaxable is never returned (Desktop has no taxable basis). Updatable via sparse update (#55)."
1343
+ },
1344
+ {
1345
+ "qbo": "LinkedTxn",
1346
+ "support": "full",
1347
+ "note": "Populated on read from LinkedTxnRet 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."
1348
+ },
1349
+ {
1350
+ "qbo": "CustomField",
1351
+ "support": "partial",
1352
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
1353
+ },
1354
+ {
1355
+ "qbo": "TotalAmt",
1356
+ "support": "full",
1357
+ "note": "Read-only, computed by Desktop as Subtotal + SalesTaxTotal."
1358
+ },
1359
+ {
1360
+ "qbo": "Balance",
1361
+ "support": "full",
1362
+ "note": "Read-only, computed by Desktop as BalanceRemaining."
1363
+ },
1364
+ {
1365
+ "qbo": "CurrencyRef",
1366
+ "support": "partial",
1367
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
1368
+ },
1369
+ {
1370
+ "qbo": "ExchangeRate",
1371
+ "support": "partial",
1372
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
1373
+ }
1374
+ ],
1375
+ "unsupported": [
1376
+ {
1377
+ "case": "TxnTaxDetail.TotalTax supplied without TxnTaxCodeRef",
1378
+ "error": "UNSUPPORTED_BY_DESKTOP",
1379
+ "note": "Desktop cannot honor a computed tax total. Set TxnTaxDetail.TxnTaxCodeRef or per-line TaxCodeRef explicitly. See COMPATIBILITY.md."
1380
+ },
1381
+ {
1382
+ "case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
1383
+ "error": "MISSING_REQUIRED_DESKTOP_ITEM",
1384
+ "note": "Desktop discounts are items. Create a discount item in the company file and reference it as DiscountLineDetail.ItemRef. See COMPATIBILITY.md."
1385
+ },
1386
+ {
1387
+ "case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly (e.g. SubTotalLineDetail)",
1388
+ "error": "UNSUPPORTED_BY_DESKTOP",
1389
+ "note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
1390
+ }
1391
+ ]
1392
+ },
1393
+ "Item": {
1394
+ "entity": "Item",
1395
+ "verdict": "live",
1396
+ "group": "sales",
1397
+ "read": "partial",
1398
+ "write": "none",
1399
+ "headline": "One Item becomes several Desktop item types",
1400
+ "fields": [
1401
+ {
1402
+ "qbo": "Name",
1403
+ "support": "full"
1404
+ },
1405
+ {
1406
+ "qbo": "FullyQualifiedName",
1407
+ "support": "full",
1408
+ "note": "Read-only in this release."
1409
+ },
1410
+ {
1411
+ "qbo": "Active",
1412
+ "support": "full",
1413
+ "note": "Read-only in this release."
1414
+ },
1415
+ {
1416
+ "qbo": "Type",
1417
+ "support": "partial",
1418
+ "note": "Service, NonInventory, Inventory, Group map; other Desktop types are omitted from query results."
1419
+ },
1420
+ {
1421
+ "qbo": "Description",
1422
+ "support": "full",
1423
+ "note": "Read-only in this release."
1424
+ },
1425
+ {
1426
+ "qbo": "UnitPrice",
1427
+ "support": "full",
1428
+ "note": "Read-only in this release."
1429
+ },
1430
+ {
1431
+ "qbo": "Sku",
1432
+ "support": "partial",
1433
+ "note": "QBO Sku \u21C4 Desktop ManufacturerPartNumber \u2014 Desktop has no first-class SKU field; barcode (Advanced Inventory) is intentionally not used. Read-only in this release."
1434
+ },
1435
+ {
1436
+ "qbo": "QtyOnHand",
1437
+ "support": "full",
1438
+ "note": "Read-only in this release."
1439
+ },
1440
+ {
1441
+ "qbo": "IncomeAccountRef",
1442
+ "support": "full",
1443
+ "note": "Read-only in this release."
1444
+ },
1445
+ {
1446
+ "qbo": "ExpenseAccountRef",
1447
+ "support": "partial",
1448
+ "note": "Inventory: COGSAccountRef. Two-sided Service/NonInventory (SalesAndPurchase): ExpenseAccountRef. One-sided Service/NonInventory have no expense account."
1449
+ },
1450
+ {
1451
+ "qbo": "AssetAccountRef",
1452
+ "support": "full",
1453
+ "note": "Read-only in this release; Inventory only."
1454
+ },
1455
+ {
1456
+ "qbo": "PurchaseDesc",
1457
+ "support": "full",
1458
+ "note": "Inventory and two-sided Service/NonInventory (SalesAndPurchase)."
1459
+ },
1460
+ {
1461
+ "qbo": "PurchaseCost",
1462
+ "support": "full",
1463
+ "note": "Inventory and two-sided Service/NonInventory (SalesAndPurchase)."
1464
+ },
1465
+ {
1466
+ "qbo": "PrefVendorRef",
1467
+ "support": "full",
1468
+ "note": "Inventory and two-sided Service/NonInventory."
1469
+ },
1470
+ {
1471
+ "qbo": "ParentRef",
1472
+ "support": "full",
1473
+ "note": "Desktop item hierarchy."
1474
+ },
1475
+ {
1476
+ "qbo": "SubItem",
1477
+ "support": "full",
1478
+ "note": "Derived from Desktop Sublevel."
1479
+ },
1480
+ {
1481
+ "qbo": "CustomField",
1482
+ "support": "partial",
1483
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now."
1484
+ }
1485
+ ],
1486
+ "unsupported": [
1487
+ {
1488
+ "case": "Item types other than Service, NonInventory, Inventory, and Group (assemblies, discounts, sales tax items, payment items, fixed assets, other charge, subtotal)",
1489
+ "error": "UNSUPPORTED_BY_DESKTOP",
1490
+ "note": "Omitted from query results; a direct get by id on one of these Desktop items returns a 422 UNSUPPORTED_BY_DESKTOP fault."
1491
+ },
1492
+ {
1493
+ "case": "Item create/update",
1494
+ "error": "UNSUPPORTED_BY_DESKTOP",
1495
+ "note": "Lands in a later release."
1496
+ }
1497
+ ]
1498
+ },
1499
+ "JournalCode": {
1500
+ "entity": "JournalCode",
1501
+ "verdict": "gap",
1502
+ "group": "gaps",
1503
+ "read": "none",
1504
+ "write": "none",
1505
+ "headline": "France-only QBO regulatory feature; not applicable to Desktop \u2014 'JournalCode' occurs nowhere in the qbxmlops130 message set.",
1506
+ "fields": [],
1507
+ "unsupported": [
1508
+ {
1509
+ "case": "read",
1510
+ "error": "UNSUPPORTED_BY_DESKTOP",
1511
+ "note": "Re-audited 2026-07-29: JournalCode is a France-locale QBO regulatory concept (mandatory journal coding for FEC compliance) with zero counterpart in qbXML \u2014 US Desktop has no such concept to map."
1512
+ },
1513
+ {
1514
+ "case": "query",
1515
+ "error": "UNSUPPORTED_BY_DESKTOP",
1516
+ "note": "JournalCode is a France-locale QBO regulatory concept with no Desktop counterpart."
1517
+ },
1518
+ {
1519
+ "case": "create",
1520
+ "error": "UNSUPPORTED_BY_DESKTOP",
1521
+ "note": "JournalCode is a France-locale QBO regulatory concept with no Desktop counterpart."
1522
+ },
1523
+ {
1524
+ "case": "update",
1525
+ "error": "UNSUPPORTED_BY_DESKTOP",
1526
+ "note": "JournalCode is a France-locale QBO regulatory concept with no Desktop counterpart."
1527
+ },
1528
+ {
1529
+ "case": "delete",
1530
+ "error": "UNSUPPORTED_BY_DESKTOP",
1531
+ "note": "JournalCode is a France-locale QBO regulatory concept with no Desktop counterpart."
1532
+ }
1533
+ ]
1534
+ },
1535
+ "JournalEntry": {
1536
+ "entity": "JournalEntry",
1537
+ "verdict": "live",
1538
+ "group": "banking",
1539
+ "read": "full",
1540
+ "write": "partial",
1541
+ "headline": "Debit/Credit lines split across Desktop JournalDebitLine / JournalCreditLine",
1542
+ "fields": [
1543
+ {
1544
+ "qbo": "TxnDate",
1545
+ "support": "full"
1546
+ },
1547
+ {
1548
+ "qbo": "DocNumber",
1549
+ "support": "full"
1550
+ },
1551
+ {
1552
+ "qbo": "PrivateNote",
1553
+ "support": "full",
1554
+ "note": "Maps to Desktop Memo when the company file/OSR returns a header Memo on JournalEntry."
1555
+ },
1556
+ {
1557
+ "qbo": "Adjustment",
1558
+ "support": "full",
1559
+ "note": "Maps to Desktop IsAdjustment."
1560
+ },
1561
+ {
1562
+ "qbo": "Line",
1563
+ "support": "partial",
1564
+ "note": "JournalEntryLineDetail only. Write splits by PostingType into JournalDebitLine / JournalCreditLine; read interleaves debit then credit lists. Debits must equal credits or create fails UNSUPPORTED_BY_DESKTOP before the Desktop round-trip. Sparse updates cannot modify lines yet (Desktop JE Mod replaces the entire line table when lines are provided \u2014 same out-of-scope stance as Invoice lines / issue #55). JournalEntryLineDetail.Entity: only EntityRef is populated on read \u2014 Desktop's line-level EntityRef carries no entity-kind flag, so we don't stamp a Type (Vendor/Customer/Employee); a wrong guess is worse than omitting it. Set Type yourself on write if you know it; it's accepted and simply not echoed back."
1565
+ },
1566
+ {
1567
+ "qbo": "TotalAmt",
1568
+ "support": "full",
1569
+ "note": "Read-only aggregate when present; not independently computed."
1570
+ },
1571
+ {
1572
+ "qbo": "CurrencyRef",
1573
+ "support": "none",
1574
+ "note": "Multicurrency not yet supported.",
1575
+ "error": "UNSUPPORTED_BY_DESKTOP"
1576
+ },
1577
+ {
1578
+ "qbo": "ExchangeRate",
1579
+ "support": "none",
1580
+ "note": "Multicurrency not yet supported.",
1581
+ "error": "UNSUPPORTED_BY_DESKTOP"
1582
+ }
1583
+ ],
1584
+ "unsupported": [
1585
+ {
1586
+ "case": "Unbalanced journal entry (debits \u2260 credits)",
1587
+ "error": "UNSUPPORTED_BY_DESKTOP",
1588
+ "note": "Desktop rejects unbalanced JEs. Balance debits and credits before create."
1589
+ },
1590
+ {
1591
+ "case": "Line DetailType other than JournalEntryLineDetail",
1592
+ "error": "UNSUPPORTED_BY_DESKTOP",
1593
+ "note": "Only JournalEntryLineDetail maps to Desktop journal lines."
1594
+ }
1595
+ ]
1596
+ },
1597
+ "Payment": {
1598
+ "entity": "Payment",
1599
+ "verdict": "live",
1600
+ "group": "sales",
1601
+ "read": "full",
1602
+ "write": "partial",
1603
+ "headline": "Applying a payment to specific invoices",
1604
+ "fields": [
1605
+ {
1606
+ "qbo": "CustomerRef",
1607
+ "support": "full"
1608
+ },
1609
+ {
1610
+ "qbo": "ARAccountRef",
1611
+ "support": "full"
1612
+ },
1613
+ {
1614
+ "qbo": "TxnDate",
1615
+ "support": "full"
1616
+ },
1617
+ {
1618
+ "qbo": "PaymentRefNum",
1619
+ "support": "full",
1620
+ "note": "Desktop RefNumber. Query filtering by PaymentRefNum is not supported yet \u2014 query by Id or date range."
1621
+ },
1622
+ {
1623
+ "qbo": "TotalAmt",
1624
+ "support": "full"
1625
+ },
1626
+ {
1627
+ "qbo": "PaymentMethodRef",
1628
+ "support": "full"
1629
+ },
1630
+ {
1631
+ "qbo": "PrivateNote",
1632
+ "support": "full"
1633
+ },
1634
+ {
1635
+ "qbo": "DepositToAccountRef",
1636
+ "support": "full",
1637
+ "note": "Omit to use Desktop's Undeposited Funds preference, same as QBO."
1638
+ },
1639
+ {
1640
+ "qbo": "Line",
1641
+ "support": "partial",
1642
+ "note": "LinkedTxn applications to Invoices only; no Line means an unapplied payment (IsAutoApply=false). CreditMemo/Deposit applications land later. AppliedToTxnRet.TxnDate/RefNumber/BalanceRemaining have no honest home in QBO Payment.Line.LinkedTxn ({TxnId, TxnType} only) and are not projected \u2014 re-fetch the invoice for balance/date/doc number."
1643
+ },
1644
+ {
1645
+ "qbo": "UnappliedAmt",
1646
+ "support": "full",
1647
+ "note": "Read-only; Desktop UnusedPayment."
1648
+ },
1649
+ {
1650
+ "qbo": "CustomField",
1651
+ "support": "partial",
1652
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
1653
+ },
1654
+ {
1655
+ "qbo": "CurrencyRef",
1656
+ "support": "partial",
1657
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
1658
+ },
1659
+ {
1660
+ "qbo": "ExchangeRate",
1661
+ "support": "partial",
1662
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
1663
+ },
1664
+ {
1665
+ "qbo": "ProcessPayment",
1666
+ "support": "partial",
1667
+ "note": "Accepted and ignored \u2014 TenkeyBridge never initiates card processing."
1668
+ },
1669
+ {
1670
+ "qbo": "TxnNumber",
1671
+ "support": "none",
1672
+ "note": "Desktop's internal auto-increment TxnNumber has no QBO equivalent and is not surfaced.",
1673
+ "error": "UNSUPPORTED_BY_DESKTOP"
1674
+ },
1675
+ {
1676
+ "qbo": "UnusedCredits",
1677
+ "support": "none",
1678
+ "note": "Desktop UnusedCredits (unapplied credit memos available to the customer) is distinct from UnappliedAmt/UnusedPayment; no honest home on Payment \u2014 belongs on CreditMemo.Balance.",
1679
+ "error": "UNSUPPORTED_BY_DESKTOP"
1680
+ }
1681
+ ],
1682
+ "unsupported": []
1683
+ },
1684
+ "PaymentMethod": {
1685
+ "entity": "PaymentMethod",
1686
+ "verdict": "live",
1687
+ "group": "lists",
1688
+ "read": "full",
1689
+ "write": "partial",
1690
+ "headline": "Create only \u2014 Desktop has no PaymentMethodMod; Type coarsens Desktop's fine enum to CREDIT_CARD | NON_CREDIT_CARD",
1691
+ "fields": [
1692
+ {
1693
+ "qbo": "Name",
1694
+ "support": "full"
1695
+ },
1696
+ {
1697
+ "qbo": "Active",
1698
+ "support": "full"
1699
+ },
1700
+ {
1701
+ "qbo": "Type",
1702
+ "support": "partial",
1703
+ "note": "Desktop PaymentMethodType (Visa, Cash, Check, \u2026) coarsens to QBO CREDIT_CARD | NON_CREDIT_CARD on read. Create writes a representative Desktop value (OtherCreditCard / Other) \u2014 the fine enum is not preserved across a round-trip."
1704
+ }
1705
+ ],
1706
+ "unsupported": [
1707
+ {
1708
+ "case": "Update",
1709
+ "error": "UNSUPPORTED_BY_DESKTOP",
1710
+ "note": "Desktop has no PaymentMethodMod. Create a new PaymentMethod instead; list entities are not deleted \u2014 deactivate is also unavailable without Mod."
1711
+ }
1712
+ ]
1713
+ },
1714
+ "Preferences": {
1715
+ "entity": "Preferences",
1716
+ "verdict": "live",
1717
+ "group": "company",
1718
+ "read": "partial",
1719
+ "write": "none",
1720
+ "headline": "Read-only singleton (Id=1); honest subset of Desktop PreferencesQuery groups",
1721
+ "fields": [
1722
+ {
1723
+ "qbo": "AccountingInfoPrefs",
1724
+ "support": "partial",
1725
+ "note": "ClassTrackingPerTxn/ClassTrackingPerTxnLine \u2190 IsUsingClassTracking (same bool projected to both); TrackDepartments always false (no Desktop Locations)."
1726
+ },
1727
+ {
1728
+ "qbo": "CurrencyPrefs",
1729
+ "support": "partial",
1730
+ "note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef."
1731
+ },
1732
+ {
1733
+ "qbo": "TimeTrackingPrefs",
1734
+ "support": "partial",
1735
+ "note": "WorkWeekStartDate \u2190 FirstDayOfWeek only."
1736
+ },
1737
+ {
1738
+ "qbo": "TaxPrefs",
1739
+ "support": "partial",
1740
+ "note": "UsingSalesTax true when SalesTaxPreferences is present on PreferencesRet; no other TaxPrefs fields."
1741
+ },
1742
+ {
1743
+ "qbo": "SalesFormsPrefs",
1744
+ "support": "partial",
1745
+ "note": "DefaultShipMethodRef; AllowEstimates/UsingProgressInvoicing from JobsAndEstimatesPreferences. DefaultTerms never populated \u2014 Desktop SalesAndCustomersPreferences carries no DefaultTermsRef (qbXML 13.0). IsAutoApplyingPayments has no honest QBO SalesFormsPrefs twin \u2014 omitted."
1746
+ },
1747
+ {
1748
+ "qbo": "VendorAndPurchasesPrefs",
1749
+ "support": "partial",
1750
+ "note": "UsingInventory \u2190 IsUsingInventory only. DaysBillsAreDue / auto-discount have no honest QBO twin."
1751
+ },
1752
+ {
1753
+ "qbo": "ReportPrefs",
1754
+ "support": "partial",
1755
+ "note": "ReportBasis \u2190 SummaryReportBasis when Cash or Accrual."
1756
+ },
1757
+ {
1758
+ "qbo": "ProductAndServicesPrefs",
1759
+ "support": "none",
1760
+ "note": "No honest PreferencesRet projection \u2014 omitted rather than guessed.",
1761
+ "error": "UNSUPPORTED_BY_DESKTOP"
1762
+ },
1763
+ {
1764
+ "qbo": "EmailMessagesPrefs",
1765
+ "support": "none",
1766
+ "note": "No honest PreferencesRet projection \u2014 omitted rather than guessed.",
1767
+ "error": "UNSUPPORTED_BY_DESKTOP"
1768
+ },
1769
+ {
1770
+ "qbo": "OtherPrefs",
1771
+ "support": "none",
1772
+ "note": "No honest PreferencesRet projection \u2014 omitted rather than guessed.",
1773
+ "error": "UNSUPPORTED_BY_DESKTOP"
1774
+ }
1775
+ ],
1776
+ "unsupported": [
1777
+ {
1778
+ "case": "Create, update, or delete",
1779
+ "error": "UNSUPPORTED_BY_DESKTOP",
1780
+ "note": "Preferences is read/query only in QBO and Desktop \u2014 there is no PreferencesAdd/Mod."
1781
+ },
1782
+ {
1783
+ "case": "Any WHERE clause, or STARTPOSITION/MAXRESULTS",
1784
+ "error": "UNSUPPORTED_QUERY",
1785
+ "note": "PreferencesQueryRq takes no filters and always returns the single open company PreferencesRet. Use SELECT * FROM Preferences."
1786
+ }
1787
+ ]
1788
+ },
1789
+ "Purchase": {
1790
+ "entity": "Purchase",
1791
+ "verdict": "live",
1792
+ "group": "purchasing",
1793
+ "read": "full",
1794
+ "write": "partial",
1795
+ "headline": "Fans out to Check / CreditCardCharge / CreditCardCredit by PaymentType",
1796
+ "fields": [
1797
+ {
1798
+ "qbo": "PaymentType",
1799
+ "support": "partial",
1800
+ "note": "Check and CreditCard map to Desktop families; Cash is partial (maps to Check against the supplied bank/petty-cash AccountRef \u2014 Desktop has no separate cash purchase type)."
1801
+ },
1802
+ {
1803
+ "qbo": "Credit",
1804
+ "support": "full",
1805
+ "note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*."
1806
+ },
1807
+ {
1808
+ "qbo": "AccountRef",
1809
+ "support": "full",
1810
+ "note": "Bank account (Check/Cash) or credit-card account (CreditCard)."
1811
+ },
1812
+ {
1813
+ "qbo": "EntityRef",
1814
+ "support": "full",
1815
+ "note": "Maps to Desktop PayeeEntityRef (Customer/Vendor/Employee)."
1816
+ },
1817
+ {
1818
+ "qbo": "TxnDate",
1819
+ "support": "full"
1820
+ },
1821
+ {
1822
+ "qbo": "DocNumber",
1823
+ "support": "full"
1824
+ },
1825
+ {
1826
+ "qbo": "PrivateNote",
1827
+ "support": "full"
1828
+ },
1829
+ {
1830
+ "qbo": "PrintStatus",
1831
+ "support": "partial",
1832
+ "note": "NeedToPrint/PrintComplete \u21C4 IsToBePrinted (Check family)."
1833
+ },
1834
+ {
1835
+ "qbo": "Line",
1836
+ "support": "full",
1837
+ "note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery. Sparse updates cannot modify lines yet."
1838
+ },
1839
+ {
1840
+ "qbo": "TotalAmt",
1841
+ "support": "full",
1842
+ "note": "Read-only from Desktop Amount."
1843
+ },
1844
+ {
1845
+ "qbo": "CurrencyRef",
1846
+ "support": "none",
1847
+ "note": "Multicurrency not yet supported.",
1848
+ "error": "UNSUPPORTED_BY_DESKTOP"
1849
+ },
1850
+ {
1851
+ "qbo": "ExchangeRate",
1852
+ "support": "none",
1853
+ "note": "Multicurrency not yet supported.",
1854
+ "error": "UNSUPPORTED_BY_DESKTOP"
1855
+ }
1856
+ ],
1857
+ "unsupported": [
1858
+ {
1859
+ "case": "PaymentType outside Check/Cash/CreditCard",
1860
+ "error": "UNSUPPORTED_BY_DESKTOP",
1861
+ "note": "Only Check, Cash (\u2192Check), and CreditCard map to Desktop purchase families."
1862
+ },
1863
+ {
1864
+ "case": "List query STARTPOSITION > 1 across multi-type families",
1865
+ "error": "UNSUPPORTED_QUERY",
1866
+ "note": "Deep iterator pagination uses the primary Check family only; page-1 and filtered queries merge Check + CreditCardCharge + CreditCardCredit (per-type order concatenated)."
1867
+ }
1868
+ ]
1869
+ },
1870
+ "PurchaseOrder": {
1871
+ "entity": "PurchaseOrder",
1872
+ "verdict": "live",
1873
+ "group": "purchasing",
1874
+ "read": "full",
1875
+ "write": "partial",
1876
+ "headline": "Non-posting; item lines only \u2014 never touches the GL on either side",
1877
+ "fields": [
1878
+ {
1879
+ "qbo": "VendorRef",
1880
+ "support": "full"
1881
+ },
1882
+ {
1883
+ "qbo": "TxnDate",
1884
+ "support": "full"
1885
+ },
1886
+ {
1887
+ "qbo": "DocNumber",
1888
+ "support": "full"
1889
+ },
1890
+ {
1891
+ "qbo": "VendorAddr",
1892
+ "support": "full"
1893
+ },
1894
+ {
1895
+ "qbo": "ShipAddr",
1896
+ "support": "full"
1897
+ },
1898
+ {
1899
+ "qbo": "DueDate",
1900
+ "support": "full"
1901
+ },
1902
+ {
1903
+ "qbo": "ExpectedDate",
1904
+ "support": "full"
1905
+ },
1906
+ {
1907
+ "qbo": "ShipMethodRef",
1908
+ "support": "full"
1909
+ },
1910
+ {
1911
+ "qbo": "PrivateNote",
1912
+ "support": "full"
1913
+ },
1914
+ {
1915
+ "qbo": "Line",
1916
+ "support": "partial",
1917
+ "note": "ItemBasedExpenseLineDetail only (PurchaseOrderLineAdd). AccountBasedExpenseLineDetail returns UNSUPPORTED_BY_DESKTOP. ReceivedQty maps from ReceivedQuantity on read (read-only). Sparse updates cannot modify lines yet."
1918
+ },
1919
+ {
1920
+ "qbo": "TotalAmt",
1921
+ "support": "full",
1922
+ "note": "Read-only from Desktop TotalAmount."
1923
+ },
1924
+ {
1925
+ "qbo": "POStatus",
1926
+ "support": "partial",
1927
+ "note": "Open/Closed map to Desktop IsManuallyClosed, a Mod-only element \u2014 PurchaseOrderAdd has no IsManuallyClosed at all. Create with POStatus Open (or omitted) works; POStatus Closed on create returns UNSUPPORTED_BY_DESKTOP (create the PO open, then close it via an update). Closing via sparse update is not wired yet \u2014 POStatus is effectively read-only through TenkeyBridge until that lands."
1928
+ },
1929
+ {
1930
+ "qbo": "APAccountRef",
1931
+ "support": "none",
1932
+ "note": "Purchase orders are non-posting \u2014 there is no AP account on Desktop POs.",
1933
+ "error": "UNSUPPORTED_BY_DESKTOP"
1934
+ },
1935
+ {
1936
+ "qbo": "CurrencyRef",
1937
+ "support": "none",
1938
+ "note": "Multicurrency not yet supported.",
1939
+ "error": "UNSUPPORTED_BY_DESKTOP"
1940
+ },
1941
+ {
1942
+ "qbo": "ExchangeRate",
1943
+ "support": "none",
1944
+ "note": "Multicurrency not yet supported.",
1945
+ "error": "UNSUPPORTED_BY_DESKTOP"
1946
+ }
1947
+ ],
1948
+ "unsupported": [
1949
+ {
1950
+ "case": "AccountBasedExpenseLineDetail on a PurchaseOrder line",
1951
+ "error": "UNSUPPORTED_BY_DESKTOP",
1952
+ "note": "Desktop PO lines are item-only. Use ItemBasedExpenseLineDetail, or post a Bill/Purchase for account expenses."
1953
+ },
1954
+ {
1955
+ "case": "POStatus Closed on create",
1956
+ "error": "UNSUPPORTED_BY_DESKTOP",
1957
+ "note": "Desktop's PurchaseOrderAdd has no IsManuallyClosed element \u2014 a PO can't be created already closed. Create it open, then close it via an update."
1958
+ }
1959
+ ]
1960
+ },
1961
+ "RecurringTransaction": {
1962
+ "entity": "RecurringTransaction",
1963
+ "verdict": "gap",
1964
+ "group": "gaps",
1965
+ "read": "none",
1966
+ "write": "none",
1967
+ "headline": "Desktop's memorized transactions are not exposed by qbXML \u2014 there is no message to list, read, create, or execute them.",
1968
+ "fields": [],
1969
+ "unsupported": [
1970
+ {
1971
+ "case": "read",
1972
+ "error": "UNSUPPORTED_BY_DESKTOP",
1973
+ "note": "Re-audited 2026-07-29: no MemorizedTxn message of any kind exists in the qbxmlops130 message set. The only trace of the concept in the entire schema is a cosmetic 'memorizedTxn' row label in generic report output \u2014 a taxonomy tag, not an access path to a memorized transaction's contents or schedule.",
1974
+ "workaround": "Manage memorized transactions in the Desktop UI. Transactions they generate ARE visible through TenkeyBridge once QuickBooks posts them \u2014 they arrive as ordinary invoices/bills/etc."
1975
+ },
1976
+ {
1977
+ "case": "query",
1978
+ "error": "UNSUPPORTED_BY_DESKTOP",
1979
+ "note": "Memorized transactions cannot be enumerated via qbXML \u2014 zero functional API surface."
1980
+ },
1981
+ {
1982
+ "case": "create",
1983
+ "error": "UNSUPPORTED_BY_DESKTOP",
1984
+ "note": "Memorized transactions cannot be created via qbXML; manage them in the Desktop UI."
1985
+ },
1986
+ {
1987
+ "case": "update",
1988
+ "error": "UNSUPPORTED_BY_DESKTOP",
1989
+ "note": "Memorized transactions cannot be updated via qbXML; manage them in the Desktop UI."
1990
+ },
1991
+ {
1992
+ "case": "delete",
1993
+ "error": "UNSUPPORTED_BY_DESKTOP",
1994
+ "note": "Memorized transactions cannot be deleted via qbXML; manage them in the Desktop UI."
1995
+ }
1996
+ ]
1997
+ },
1998
+ "RefundReceipt": {
1999
+ "entity": "RefundReceipt",
2000
+ "verdict": "live",
2001
+ "group": "sales",
2002
+ "read": "partial",
2003
+ "write": "partial",
2004
+ "headline": "Card refunds of applied credits only (ARRefundCreditCard) \u2014 not general item-line refunds",
2005
+ "fields": [
2006
+ {
2007
+ "qbo": "CustomerRef",
2008
+ "support": "full"
2009
+ },
2010
+ {
2011
+ "qbo": "DepositToAccountRef",
2012
+ "support": "full",
2013
+ "note": "Maps to Desktop RefundFromAccountRef."
2014
+ },
2015
+ {
2016
+ "qbo": "PaymentMethodRef",
2017
+ "support": "full",
2018
+ "note": "Must be a credit-card payment method in the company file."
2019
+ },
2020
+ {
2021
+ "qbo": "TxnDate",
2022
+ "support": "full"
2023
+ },
2024
+ {
2025
+ "qbo": "DocNumber",
2026
+ "support": "full"
2027
+ },
2028
+ {
2029
+ "qbo": "PrivateNote",
2030
+ "support": "full"
2031
+ },
2032
+ {
2033
+ "qbo": "Line",
2034
+ "support": "partial",
2035
+ "note": "LinkedTxn credit-memo applications \u2192 RefundAppliedToTxnAdd only. At least one Line is required on create \u2014 Desktop's ARRefundCreditCardAdd requires one or more RefundAppliedToTxnAdd; an empty/missing Line array fails loud rather than sending Desktop an invalid request. SalesItemLineDetail / item-line refunds return UNSUPPORTED_BY_DESKTOP \u2014 use CreditMemo + payment/refund pair instead (see CreditMemo)."
2036
+ },
2037
+ {
2038
+ "qbo": "TotalAmt",
2039
+ "support": "full",
2040
+ "note": "Read-only from Desktop TotalAmount."
2041
+ },
2042
+ {
2043
+ "qbo": "CurrencyRef",
2044
+ "support": "none",
2045
+ "note": "Multicurrency not yet supported.",
2046
+ "error": "UNSUPPORTED_BY_DESKTOP"
2047
+ },
2048
+ {
2049
+ "qbo": "ExchangeRate",
2050
+ "support": "none",
2051
+ "note": "Multicurrency not yet supported.",
2052
+ "error": "UNSUPPORTED_BY_DESKTOP"
2053
+ }
2054
+ ],
2055
+ "unsupported": [
2056
+ {
2057
+ "case": "Item-line RefundReceipt (SalesItemLineDetail etc.)",
2058
+ "error": "UNSUPPORTED_BY_DESKTOP",
2059
+ "note": "Desktop has no general item-line refund receipt. Create a CreditMemo and refund via payment/ARRefundCreditCard, or handle cash/check refunds outside this entity."
2060
+ },
2061
+ {
2062
+ "case": "Update / sparse update",
2063
+ "error": "UNSUPPORTED_BY_DESKTOP",
2064
+ "note": "ARRefundCreditCard has no Mod path in this release."
2065
+ }
2066
+ ]
2067
+ },
2068
+ "ReimburseCharge": {
2069
+ "entity": "ReimburseCharge",
2070
+ "verdict": "gap",
2071
+ "group": "gaps",
2072
+ "read": "none",
2073
+ "write": "none",
2074
+ "headline": "QBO's billable-charge object has no Desktop record behind it \u2014 in qbXML, billability is a status flag (BillableStatus) on the source expense/item/time lines, never a standalone charge you can query.",
2075
+ "fields": [],
2076
+ "unsupported": [
2077
+ {
2078
+ "case": "read",
2079
+ "error": "UNSUPPORTED_BY_DESKTOP",
2080
+ "note": "Re-audited 2026-07-29: 'ReimburseCharge' occurs nowhere in the qbxmlops130 message set. Desktop models billability as a BillableStatus enum (Billable / NotBillable / HasBeenBilled) on expense and item lines of purchase transactions and on time entries \u2014 there is no separate queryable charge object to project one from.",
2081
+ "workaround": "Read billable state where Desktop actually keeps it: TimeActivity exposes BillableStatus today, and billable purchase lines live on their source Bill/Purchase transactions."
2082
+ },
2083
+ {
2084
+ "case": "query",
2085
+ "error": "UNSUPPORTED_BY_DESKTOP",
2086
+ "note": "No standalone billable-charge object exists in qbXML to query; billability is line-level state on source transactions."
2087
+ },
2088
+ {
2089
+ "case": "create",
2090
+ "error": "UNSUPPORTED_BY_DESKTOP",
2091
+ "note": "ReimburseCharge is a QBO cloud concept with no Desktop qbXML analog; mark source lines Billable instead."
2092
+ },
2093
+ {
2094
+ "case": "update",
2095
+ "error": "UNSUPPORTED_BY_DESKTOP",
2096
+ "note": "ReimburseCharge is a QBO cloud concept with no Desktop qbXML analog."
2097
+ },
2098
+ {
2099
+ "case": "delete",
2100
+ "error": "UNSUPPORTED_BY_DESKTOP",
2101
+ "note": "ReimburseCharge is a QBO cloud concept with no Desktop qbXML analog."
2102
+ }
2103
+ ]
2104
+ },
2105
+ "Reports": {
2106
+ "entity": "Reports",
2107
+ "verdict": "live",
2108
+ "group": "platform",
2109
+ "read": "partial",
2110
+ "write": "none",
2111
+ "headline": "Five QBO-compatible reports translated live from Desktop's report engine.",
2112
+ "usage": "GET /v3/company/{realmId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31",
2113
+ "fields": [
2114
+ {
2115
+ "qbo": "ProfitAndLoss / BalanceSheet / TrialBalance",
2116
+ "support": "full",
2117
+ "note": "GeneralSummaryReportQueryRq (ProfitAndLossStandard / BalanceSheetStandard / TrialBalance). Values verbatim from Desktop \u2014 no recomputation."
2118
+ },
2119
+ {
2120
+ "qbo": "AgedReceivables / AgedPayables",
2121
+ "support": "full",
2122
+ "note": "AgingReportQueryRq (ARAgingSummary / APAgingSummary). Desktop's file-configured aging buckets come back as columns, honestly."
2123
+ },
2124
+ {
2125
+ "qbo": "start_date / end_date / date_macro",
2126
+ "support": "full",
2127
+ "note": "ISO dates or QBO date macros (fiscal-relative on both sides, so macros map 1:1). Omit them and you get fiscal year-to-date, matching QBO \u2014 Desktop's own bare default is month-to-date, so TenkeyBridge always sends an explicit period."
2128
+ },
2129
+ {
2130
+ "qbo": "report_date",
2131
+ "support": "full",
2132
+ "note": "The aging reports are as-of a single date. Omit it and QBO's default (today) is used."
2133
+ },
2134
+ {
2135
+ "qbo": "accounting_method",
2136
+ "support": "partial",
2137
+ "note": "Cash/Accrual on the three summary reports. Aging reports reject it \u2014 qbXML has no ReportBasis there.",
2138
+ "error": "REPORT_UNSUPPORTED_OPTION"
2139
+ },
2140
+ {
2141
+ "qbo": "Column titles",
2142
+ "support": "partial",
2143
+ "note": "Desktop's own column titles pass through verbatim, so aging buckets read '> 90' where QBO says '91 and over', and a period column reads 'Jan - Dec 26' where QBO says 'Total'. QBO's MetaData.ColKey has no Desktop equivalent and is not invented."
2144
+ }
2145
+ ],
2146
+ "unsupported": [
2147
+ {
2148
+ "case": "columns / customer / vendor / item / class / department / qzurl / adjusted_gain_loss",
2149
+ "error": "REPORT_UNSUPPORTED_OPTION",
2150
+ "note": "Column and filter customization is v2. Desktop returns its standard report layout."
2151
+ },
2152
+ {
2153
+ "case": "aging_period / num_periods / aging_method",
2154
+ "error": "REPORT_UNSUPPORTED_OPTION",
2155
+ "note": "Desktop aging buckets are company-file configuration, not request parameters."
2156
+ },
2157
+ {
2158
+ "case": "summarize_column_by other than Total",
2159
+ "error": "REPORT_UNSUPPORTED_OPTION",
2160
+ "note": "qbXML SummarizeColumnsBy exists \u2014 clean v2 upgrade path."
2161
+ },
2162
+ {
2163
+ "case": "other QBO report names (CashFlow, detail/aging-detail variants, \u2026)",
2164
+ "error": "REPORT_UNKNOWN",
2165
+ "note": "Planned. The fault lists the five supported reports."
2166
+ }
2167
+ ]
2168
+ },
2169
+ "SalesReceipt": {
2170
+ "entity": "SalesReceipt",
2171
+ "verdict": "live",
2172
+ "group": "sales",
2173
+ "read": "full",
2174
+ "write": "partial",
2175
+ "headline": "Same as Invoice + deposit account",
2176
+ "fields": [
2177
+ {
2178
+ "qbo": "CustomerRef",
2179
+ "support": "full"
2180
+ },
2181
+ {
2182
+ "qbo": "TxnDate",
2183
+ "support": "full"
2184
+ },
2185
+ {
2186
+ "qbo": "DocNumber",
2187
+ "support": "full"
2188
+ },
2189
+ {
2190
+ "qbo": "BillAddr",
2191
+ "support": "full"
2192
+ },
2193
+ {
2194
+ "qbo": "ShipAddr",
2195
+ "support": "full"
2196
+ },
2197
+ {
2198
+ "qbo": "ShipDate",
2199
+ "support": "full"
2200
+ },
2201
+ {
2202
+ "qbo": "ShipMethodRef",
2203
+ "support": "full"
2204
+ },
2205
+ {
2206
+ "qbo": "PrivateNote",
2207
+ "support": "full"
2208
+ },
2209
+ {
2210
+ "qbo": "DepositToAccountRef",
2211
+ "support": "full"
2212
+ },
2213
+ {
2214
+ "qbo": "CustomerMemo",
2215
+ "support": "full",
2216
+ "note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
2217
+ },
2218
+ {
2219
+ "qbo": "Line",
2220
+ "support": "partial",
2221
+ "note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail requires a Desktop discount item referenced via DiscountLineDetail.ItemRef; other DetailTypes (e.g. SubTotalLineDetail) return UNSUPPORTED_BY_DESKTOP. Group lines read back as GroupLineDetail without nested line expansion; Desktop discount lines read back as regular item lines referencing the discount item. Updates carrying Line replace the entire line table: every line is re-created with a new line Id and lines omitted from the update are deleted by Desktop (v1 full replacement, #55)."
2222
+ },
2223
+ {
2224
+ "qbo": "TxnTaxDetail",
2225
+ "support": "partial",
2226
+ "note": "Set TxnTaxCodeRef explicitly on write; computed TotalTax alone is rejected. On read: TotalTax, TxnTaxCodeRef, and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}]. NetAmountTaxable never returned. Updatable via sparse update (#55)."
2227
+ },
2228
+ {
2229
+ "qbo": "LinkedTxn",
2230
+ "support": "partial",
2231
+ "note": "Desktop SalesReceiptQueryRq has no IncludeLinkedTxns and SalesReceiptRet carries no LinkedTxnRet (qbXML 13.0) \u2014 never populated on read. Accepted and ignored on write."
2232
+ },
2233
+ {
2234
+ "qbo": "CustomField",
2235
+ "support": "partial",
2236
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
2237
+ },
2238
+ {
2239
+ "qbo": "TotalAmt",
2240
+ "support": "full",
2241
+ "note": "Read-only; Desktop computes it."
2242
+ },
2243
+ {
2244
+ "qbo": "CurrencyRef",
2245
+ "support": "partial",
2246
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
2247
+ },
2248
+ {
2249
+ "qbo": "ExchangeRate",
2250
+ "support": "partial",
2251
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
2252
+ }
2253
+ ],
2254
+ "unsupported": [
2255
+ {
2256
+ "case": "TxnTaxDetail.TotalTax supplied without TxnTaxCodeRef",
2257
+ "error": "UNSUPPORTED_BY_DESKTOP",
2258
+ "note": "Desktop cannot honor a computed tax total. Set TxnTaxDetail.TxnTaxCodeRef or per-line TaxCodeRef explicitly. See COMPATIBILITY.md."
2259
+ }
2260
+ ]
2261
+ },
2262
+ "TaxAgency": {
2263
+ "entity": "TaxAgency",
2264
+ "verdict": "live",
2265
+ "group": "lists",
2266
+ "read": "full",
2267
+ "write": "none",
2268
+ "headline": "Read-only projection \u2014 Vendors referenced by any ItemSalesTax.TaxVendorRef (no native Desktop TaxAgency list)",
2269
+ "fields": [
2270
+ {
2271
+ "qbo": "DisplayName",
2272
+ "support": "full",
2273
+ "note": "Vendor Name."
2274
+ },
2275
+ {
2276
+ "qbo": "Active",
2277
+ "support": "full"
2278
+ },
2279
+ {
2280
+ "qbo": "TaxTrackedOnPurchases",
2281
+ "support": "none",
2282
+ "note": "No Desktop equivalent on the Vendor projection.",
2283
+ "error": "UNSUPPORTED_BY_DESKTOP"
2284
+ },
2285
+ {
2286
+ "qbo": "TaxTrackedOnSales",
2287
+ "support": "none",
2288
+ "note": "No Desktop equivalent on the Vendor projection.",
2289
+ "error": "UNSUPPORTED_BY_DESKTOP"
2290
+ }
2291
+ ],
2292
+ "unsupported": [
2293
+ {
2294
+ "case": "Create or update",
2295
+ "error": "UNSUPPORTED_BY_DESKTOP",
2296
+ "note": "TaxAgency is a read-only projection of tax-vendor Vendors. Manage the Vendor (and ItemSalesTax.TaxVendorRef) in Desktop."
2297
+ }
2298
+ ]
2299
+ },
2300
+ "TaxClassification": {
2301
+ "entity": "TaxClassification",
2302
+ "verdict": "gap",
2303
+ "group": "gaps",
2304
+ "read": "none",
2305
+ "write": "none",
2306
+ "headline": "Cloud automated-sales-tax concept with no Desktop counterpart \u2014 Desktop's tax model is explicit tax items and codes, all of which TenkeyBridge exposes.",
2307
+ "fields": [],
2308
+ "unsupported": [
2309
+ {
2310
+ "case": "read",
2311
+ "error": "UNSUPPORTED_BY_DESKTOP",
2312
+ "note": "Re-audited 2026-07-29: 'TaxClassification' occurs nowhere in the qbxmlops130 message set. Desktop's tax machinery is ItemSalesTax / ItemSalesTaxGroup / SalesTaxCode \u2014 explicit records, not AST classification codes \u2014 and those ARE available through TenkeyBridge as TaxRate, TaxCode, and TaxAgency.",
2313
+ "workaround": "Use TaxCode/TaxRate/TaxAgency for Desktop's real tax model instead of AST classifications."
2314
+ },
2315
+ {
2316
+ "case": "query",
2317
+ "error": "UNSUPPORTED_BY_DESKTOP",
2318
+ "note": "TaxClassification is part of QBO's automated sales tax stack; Desktop uses explicit tax items/codes instead."
2319
+ },
2320
+ {
2321
+ "case": "create",
2322
+ "error": "UNSUPPORTED_BY_DESKTOP",
2323
+ "note": "TaxClassification cannot be created on Desktop via qbXML."
2324
+ },
2325
+ {
2326
+ "case": "update",
2327
+ "error": "UNSUPPORTED_BY_DESKTOP",
2328
+ "note": "TaxClassification cannot be updated on Desktop via qbXML."
2329
+ },
2330
+ {
2331
+ "case": "delete",
2332
+ "error": "UNSUPPORTED_BY_DESKTOP",
2333
+ "note": "TaxClassification cannot be deleted on Desktop via qbXML."
2334
+ }
2335
+ ]
2336
+ },
2337
+ "TaxCode": {
2338
+ "entity": "TaxCode",
2339
+ "verdict": "live",
2340
+ "group": "lists",
2341
+ "read": "full",
2342
+ "write": "full",
2343
+ "headline": "Desktop SalesTaxCode list (TAX/NON); Name max 3 chars (fail-loud, never truncated); a plain taxable/non-taxable flag pair, not a rate container",
2344
+ "fields": [
2345
+ {
2346
+ "qbo": "Name",
2347
+ "support": "full",
2348
+ "note": "Desktop limits Name to 3 characters. Longer names return 400 \u2014 never truncated."
2349
+ },
2350
+ {
2351
+ "qbo": "Active",
2352
+ "support": "full"
2353
+ },
2354
+ {
2355
+ "qbo": "Description",
2356
+ "support": "full",
2357
+ "note": "Desktop Desc."
2358
+ },
2359
+ {
2360
+ "qbo": "Taxable",
2361
+ "support": "full",
2362
+ "note": "Desktop IsTaxable."
2363
+ },
2364
+ {
2365
+ "qbo": "SalesTaxRateList",
2366
+ "support": "none",
2367
+ "note": "Desktop's US edition (QBD) does not have ItemSalesTaxRef/ItemPurchaseTaxRef on SalesTaxCode \u2014 the OSR marks both 'not in QBD' (they exist only for QBCA/QBUK/QBAU). US Desktop SalesTaxCode is just the taxable/non-taxable flag pair; rate association lives on ItemSalesTax items. Read TaxRate for rate values/agency. Never returned on read; writing it faults UNMAPPED_FIELD.",
2368
+ "error": "UNMAPPED_FIELD"
2369
+ }
2370
+ ],
2371
+ "unsupported": []
2372
+ },
2373
+ "TaxRate": {
2374
+ "entity": "TaxRate",
2375
+ "verdict": "live",
2376
+ "group": "lists",
2377
+ "read": "full",
2378
+ "write": "none",
2379
+ "headline": "Read-only (parity with QBO) \u2014 Desktop ItemSalesTaxQuery; each single rate item is a TaxRate; sales-tax groups are not projected as TaxRates",
2380
+ "fields": [
2381
+ {
2382
+ "qbo": "Name",
2383
+ "support": "full"
2384
+ },
2385
+ {
2386
+ "qbo": "Active",
2387
+ "support": "full"
2388
+ },
2389
+ {
2390
+ "qbo": "RateValue",
2391
+ "support": "full",
2392
+ "note": "Desktop TaxRate percentage."
2393
+ },
2394
+ {
2395
+ "qbo": "Description",
2396
+ "support": "full",
2397
+ "note": "Desktop ItemDesc."
2398
+ },
2399
+ {
2400
+ "qbo": "AgencyRef",
2401
+ "support": "full",
2402
+ "note": "Desktop TaxVendorRef \u2014 the tax agency Vendor."
2403
+ }
2404
+ ],
2405
+ "unsupported": [
2406
+ {
2407
+ "case": "Create or update",
2408
+ "error": "UNSUPPORTED_BY_DESKTOP",
2409
+ "note": "TaxRate is read-only in QBO; TenkeyBridge matches that parity. Desktop ItemSalesTax items are managed as Items in the company file."
2410
+ },
2411
+ {
2412
+ "case": "ItemSalesTaxGroup as TaxRate",
2413
+ "error": "UNSUPPORTED_BY_DESKTOP",
2414
+ "note": "Sales-tax groups are not projected as TaxRate rows. Group members are themselves ItemSalesTax list items and appear as individual TaxRates via ItemSalesTaxQuery."
2415
+ }
2416
+ ]
2417
+ },
2418
+ "TaxService": {
2419
+ "entity": "TaxService",
2420
+ "verdict": "gap",
2421
+ "group": "gaps",
2422
+ "read": "none",
2423
+ "write": "none",
2424
+ "headline": "Cloud AST onboarding operation with no Desktop counterpart \u2014 'TaxService' occurs nowhere in the qbxmlops130 message set.",
2425
+ "fields": [],
2426
+ "unsupported": [
2427
+ {
2428
+ "case": "read",
2429
+ "error": "UNSUPPORTED_BY_DESKTOP",
2430
+ "note": "Re-audited 2026-07-29: TaxService is QBO's automated-sales-tax onboarding endpoint; qbXML has zero AST surface. Desktop tax setup happens through ItemSalesTax/SalesTaxCode records, exposed by TenkeyBridge as TaxRate/TaxCode/TaxAgency.",
2431
+ "workaround": "Create tax rates and codes through TaxRate/TaxCode instead of the AST TaxService flow."
2432
+ },
2433
+ {
2434
+ "case": "query",
2435
+ "error": "UNSUPPORTED_BY_DESKTOP",
2436
+ "note": "TaxService is a QBO automated-sales-tax onboarding op with no Desktop API."
2437
+ },
2438
+ {
2439
+ "case": "create",
2440
+ "error": "UNSUPPORTED_BY_DESKTOP",
2441
+ "note": "TaxService is a QBO automated-sales-tax onboarding op with no Desktop API."
2442
+ },
2443
+ {
2444
+ "case": "update",
2445
+ "error": "UNSUPPORTED_BY_DESKTOP",
2446
+ "note": "TaxService is a QBO automated-sales-tax onboarding op with no Desktop API."
2447
+ },
2448
+ {
2449
+ "case": "delete",
2450
+ "error": "UNSUPPORTED_BY_DESKTOP",
2451
+ "note": "TaxService is a QBO automated-sales-tax onboarding op with no Desktop API."
2452
+ }
2453
+ ]
2454
+ },
2455
+ "Term": {
2456
+ "entity": "Term",
2457
+ "verdict": "live",
2458
+ "group": "lists",
2459
+ "read": "full",
2460
+ "write": "partial",
2461
+ "headline": "Merged StandardTerms + DateDrivenTerms; Type STANDARD | DATE_DRIVEN dispatches which Desktop list; create-only",
2462
+ "fields": [
2463
+ {
2464
+ "qbo": "Name",
2465
+ "support": "full"
2466
+ },
2467
+ {
2468
+ "qbo": "Active",
2469
+ "support": "full"
2470
+ },
2471
+ {
2472
+ "qbo": "Type",
2473
+ "support": "full",
2474
+ "note": "STANDARD \u21C4 StandardTerms*; DATE_DRIVEN \u21C4 DateDrivenTerms*. Fixed at create \u2014 the whole entity is create-only, so this can never change via update."
2475
+ },
2476
+ {
2477
+ "qbo": "DueDays",
2478
+ "support": "full",
2479
+ "note": "STANDARD only \u2014 Desktop StdDueDays."
2480
+ },
2481
+ {
2482
+ "qbo": "DiscountDays",
2483
+ "support": "full",
2484
+ "note": "STANDARD only \u2014 Desktop StdDiscountDays."
2485
+ },
2486
+ {
2487
+ "qbo": "DiscountPercent",
2488
+ "support": "full",
2489
+ "note": "Both types \u2014 Desktop DiscountPct."
2490
+ },
2491
+ {
2492
+ "qbo": "DayOfMonthDue",
2493
+ "support": "full",
2494
+ "note": "DATE_DRIVEN only."
2495
+ },
2496
+ {
2497
+ "qbo": "DueNextMonthDays",
2498
+ "support": "full",
2499
+ "note": "DATE_DRIVEN only."
2500
+ },
2501
+ {
2502
+ "qbo": "DiscountDayOfMonth",
2503
+ "support": "full",
2504
+ "note": "DATE_DRIVEN only."
2505
+ }
2506
+ ],
2507
+ "unsupported": [
2508
+ {
2509
+ "case": "Update any Term field",
2510
+ "error": "UNSUPPORTED_BY_DESKTOP",
2511
+ "note": "qbXML has no StandardTermsMod or DateDrivenTermsMod \u2014 Desktop's OSR only defines Add and Query for both Terms lists. Term write support is create-only."
2512
+ },
2513
+ {
2514
+ "case": "Deactivate a Term",
2515
+ "error": "UNSUPPORTED_BY_DESKTOP",
2516
+ "note": "Deactivation is a Mod-only operation (IsActive via StandardTermsMod/DateDrivenTermsMod), which doesn't exist in qbXML. Impossible via the SDK, not just unimplemented here."
2517
+ }
2518
+ ]
2519
+ },
2520
+ "TimeActivity": {
2521
+ "entity": "TimeActivity",
2522
+ "verdict": "live",
2523
+ "group": "lists",
2524
+ "read": "full",
2525
+ "write": "partial",
2526
+ "headline": "Employee time only; Duration compiled from Hours/Minutes or a StartTime/EndTime span",
2527
+ "fields": [
2528
+ {
2529
+ "qbo": "TxnDate",
2530
+ "support": "full"
2531
+ },
2532
+ {
2533
+ "qbo": "NameOf",
2534
+ "support": "partial",
2535
+ "note": 'Only "Employee" is accepted (or omitted); "Vendor" is rejected \u2014 see Not supported.'
2536
+ },
2537
+ {
2538
+ "qbo": "EmployeeRef",
2539
+ "support": "full",
2540
+ "note": "Required; Desktop EntityRef. Missing value returns 2020."
2541
+ },
2542
+ {
2543
+ "qbo": "CustomerRef",
2544
+ "support": "full"
2545
+ },
2546
+ {
2547
+ "qbo": "ItemRef",
2548
+ "support": "full",
2549
+ "note": "Desktop ItemServiceRef."
2550
+ },
2551
+ {
2552
+ "qbo": "ClassRef",
2553
+ "support": "full"
2554
+ },
2555
+ {
2556
+ "qbo": "Description",
2557
+ "support": "full",
2558
+ "note": "Desktop Notes."
2559
+ },
2560
+ {
2561
+ "qbo": "BillableStatus",
2562
+ "support": "partial",
2563
+ "note": `Billable, NotBillable, HasBeenBilled; any other value returns 2010. Desktop is stricter than QBO here: "Billable" requires BOTH CustomerRef and ItemRef on the same entry, or QuickBooks rejects the save ("Billable activities must have a customer:job and service item"). Send both, or mark the entry NotBillable. Omitted on create \u2192 we emit NotBillable explicitly (QBO's omitted-default); Desktop would otherwise infer Billable from CustomerRef alone. A sparse update that never mentions BillableStatus carries the stored value forward instead \u2014 the default only applies to genuinely-absent-on-create.`
2564
+ },
2565
+ {
2566
+ "qbo": "Hours",
2567
+ "support": "full",
2568
+ "note": "Explicit duration input; wins over StartTime/EndTime when both are present."
2569
+ },
2570
+ {
2571
+ "qbo": "Minutes",
2572
+ "support": "full",
2573
+ "note": "Explicit duration input; wins over StartTime/EndTime when both are present."
2574
+ },
2575
+ {
2576
+ "qbo": "StartTime",
2577
+ "support": "full",
2578
+ "note": "Alternate duration input paired with EndTime; Desktop only stores the computed Duration, not the span itself."
2579
+ },
2580
+ {
2581
+ "qbo": "EndTime",
2582
+ "support": "full",
2583
+ "note": "Alternate duration input paired with StartTime; must be after it, or 2010."
2584
+ },
2585
+ {
2586
+ "qbo": "BreakHours",
2587
+ "support": "partial",
2588
+ "note": "Only valid alongside StartTime/EndTime; supplying it with Hours/Minutes returns 2010."
2589
+ },
2590
+ {
2591
+ "qbo": "BreakMinutes",
2592
+ "support": "partial",
2593
+ "note": "Only valid alongside StartTime/EndTime; supplying it with Hours/Minutes returns 2010."
2594
+ },
2595
+ {
2596
+ "qbo": "HourlyRate",
2597
+ "support": "partial",
2598
+ "note": "Accepted and ignored \u2014 Desktop time tracking has no pay-rate override at the API level."
2599
+ },
2600
+ {
2601
+ "qbo": "CostRate",
2602
+ "support": "partial",
2603
+ "note": "Accepted and ignored \u2014 Desktop time tracking has no pay-rate override at the API level."
2604
+ },
2605
+ {
2606
+ "qbo": "Taxable",
2607
+ "support": "partial",
2608
+ "note": "Accepted and ignored \u2014 Desktop time tracking has no taxable flag."
2609
+ },
2610
+ {
2611
+ "qbo": "CustomField",
2612
+ "support": "partial",
2613
+ "note": "Desktop TimeTrackingQueryRq has no OwnerID element (qbXML 13.0), so custom fields are never returned for time entries. Accepted and ignored on write."
2614
+ },
2615
+ {
2616
+ "qbo": "CurrencyRef",
2617
+ "support": "partial",
2618
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
2619
+ },
2620
+ {
2621
+ "qbo": "ExchangeRate",
2622
+ "support": "partial",
2623
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
2624
+ },
2625
+ {
2626
+ "qbo": "PayrollItemRef",
2627
+ "support": "none",
2628
+ "note": "Desktop PayrollItemWageRef has no QBO Accounting TimeActivity equivalent (QBO Payroll is a separate product).",
2629
+ "error": "UNSUPPORTED_BY_DESKTOP"
2630
+ },
2631
+ {
2632
+ "qbo": "TxnNumber",
2633
+ "support": "none",
2634
+ "note": "Desktop's internal auto-increment TxnNumber has no QBO equivalent and is not surfaced.",
2635
+ "error": "UNSUPPORTED_BY_DESKTOP"
2636
+ }
2637
+ ],
2638
+ "unsupported": [
2639
+ {
2640
+ "case": 'Vendor/contractor time (NameOf: "Vendor", or a VendorRef)',
2641
+ "error": "UNSUPPORTED_BY_DESKTOP",
2642
+ "note": "Only employee time is supported this release; vendor/contractor time tracking lands in a later TenkeyBridge release."
2643
+ }
2644
+ ]
2645
+ },
2646
+ "Transfer": {
2647
+ "entity": "Transfer",
2648
+ "verdict": "live",
2649
+ "group": "banking",
2650
+ "read": "full",
2651
+ "write": "full",
2652
+ "headline": "Bank-to-bank transfer between two accounts",
2653
+ "fields": [
2654
+ {
2655
+ "qbo": "FromAccountRef",
2656
+ "support": "full",
2657
+ "note": "Maps to Desktop TransferFromAccountRef."
2658
+ },
2659
+ {
2660
+ "qbo": "ToAccountRef",
2661
+ "support": "full",
2662
+ "note": "Maps to Desktop TransferToAccountRef."
2663
+ },
2664
+ {
2665
+ "qbo": "Amount",
2666
+ "support": "full"
2667
+ },
2668
+ {
2669
+ "qbo": "TxnDate",
2670
+ "support": "full"
2671
+ },
2672
+ {
2673
+ "qbo": "PrivateNote",
2674
+ "support": "full"
2675
+ },
2676
+ {
2677
+ "qbo": "CurrencyRef",
2678
+ "support": "none",
2679
+ "note": "Multicurrency not yet supported.",
2680
+ "error": "UNSUPPORTED_BY_DESKTOP"
2681
+ },
2682
+ {
2683
+ "qbo": "ExchangeRate",
2684
+ "support": "none",
2685
+ "note": "Multicurrency not yet supported.",
2686
+ "error": "UNSUPPORTED_BY_DESKTOP"
2687
+ }
2688
+ ],
2689
+ "unsupported": [
2690
+ {
2691
+ "case": "Delete",
2692
+ "error": "UNSUPPORTED_BY_DESKTOP",
2693
+ "note": '"Transfer" is not a valid qbXML TxnDelType enum value, so delete is not wired for this entity.'
2694
+ }
2695
+ ]
2696
+ },
2697
+ "Vendor": {
2698
+ "entity": "Vendor",
2699
+ "verdict": "live",
2700
+ "group": "purchasing",
2701
+ "read": "full",
2702
+ "write": "full",
2703
+ "headline": "1099 / tax-ID field naming only",
2704
+ "fields": [
2705
+ {
2706
+ "qbo": "DisplayName",
2707
+ "support": "full"
2708
+ },
2709
+ {
2710
+ "qbo": "Active",
2711
+ "support": "full"
2712
+ },
2713
+ {
2714
+ "qbo": "CompanyName",
2715
+ "support": "full"
2716
+ },
2717
+ {
2718
+ "qbo": "Title",
2719
+ "support": "full"
2720
+ },
2721
+ {
2722
+ "qbo": "GivenName",
2723
+ "support": "full"
2724
+ },
2725
+ {
2726
+ "qbo": "MiddleName",
2727
+ "support": "full"
2728
+ },
2729
+ {
2730
+ "qbo": "FamilyName",
2731
+ "support": "full"
2732
+ },
2733
+ {
2734
+ "qbo": "PrintOnCheckName",
2735
+ "support": "full",
2736
+ "note": "Desktop PrintAs."
2737
+ },
2738
+ {
2739
+ "qbo": "BillAddr",
2740
+ "support": "full"
2741
+ },
2742
+ {
2743
+ "qbo": "PrimaryPhone",
2744
+ "support": "full"
2745
+ },
2746
+ {
2747
+ "qbo": "AlternatePhone",
2748
+ "support": "full"
2749
+ },
2750
+ {
2751
+ "qbo": "Fax",
2752
+ "support": "full"
2753
+ },
2754
+ {
2755
+ "qbo": "PrimaryEmailAddr",
2756
+ "support": "full"
2757
+ },
2758
+ {
2759
+ "qbo": "TaxIdentifier",
2760
+ "support": "full",
2761
+ "note": "Maps to Desktop VendorTaxIdent."
2762
+ },
2763
+ {
2764
+ "qbo": "Vendor1099",
2765
+ "support": "full",
2766
+ "note": "Maps to Desktop IsVendorEligibleFor1099."
2767
+ },
2768
+ {
2769
+ "qbo": "AcctNum",
2770
+ "support": "full"
2771
+ },
2772
+ {
2773
+ "qbo": "Balance",
2774
+ "support": "full",
2775
+ "note": "Read-only, as in QBO."
2776
+ },
2777
+ {
2778
+ "qbo": "CustomField",
2779
+ "support": "partial",
2780
+ "note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only for now. Accepted and ignored on write."
2781
+ },
2782
+ {
2783
+ "qbo": "CurrencyRef",
2784
+ "support": "partial",
2785
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
2786
+ },
2787
+ {
2788
+ "qbo": "ExchangeRate",
2789
+ "support": "partial",
2790
+ "note": "Accepted and ignored \u2014 Desktop manages this itself; multi-currency mapping lands later."
2791
+ }
2792
+ ],
2793
+ "unsupported": []
2794
+ },
2795
+ "VendorCredit": {
2796
+ "entity": "VendorCredit",
2797
+ "verdict": "live",
2798
+ "group": "purchasing",
2799
+ "read": "full",
2800
+ "write": "partial",
2801
+ "headline": "Bill mirror image \u2014 expense and item lines",
2802
+ "fields": [
2803
+ {
2804
+ "qbo": "VendorRef",
2805
+ "support": "full"
2806
+ },
2807
+ {
2808
+ "qbo": "APAccountRef",
2809
+ "support": "full"
2810
+ },
2811
+ {
2812
+ "qbo": "TxnDate",
2813
+ "support": "full"
2814
+ },
2815
+ {
2816
+ "qbo": "DocNumber",
2817
+ "support": "full"
2818
+ },
2819
+ {
2820
+ "qbo": "PrivateNote",
2821
+ "support": "full"
2822
+ },
2823
+ {
2824
+ "qbo": "Line",
2825
+ "support": "full",
2826
+ "note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery. Sparse updates cannot modify lines yet."
2827
+ },
2828
+ {
2829
+ "qbo": "TotalAmt",
2830
+ "support": "full",
2831
+ "note": "Read-only from Desktop CreditAmount."
2832
+ },
2833
+ {
2834
+ "qbo": "Balance",
2835
+ "support": "full",
2836
+ "note": "Read-only remaining credit from Desktop CreditRemaining."
2837
+ },
2838
+ {
2839
+ "qbo": "CurrencyRef",
2840
+ "support": "none",
2841
+ "note": "Multicurrency not yet supported.",
2842
+ "error": "UNSUPPORTED_BY_DESKTOP"
2843
+ },
2844
+ {
2845
+ "qbo": "ExchangeRate",
2846
+ "support": "none",
2847
+ "note": "Multicurrency not yet supported.",
2848
+ "error": "UNSUPPORTED_BY_DESKTOP"
2849
+ }
2850
+ ],
2851
+ "unsupported": []
2852
+ }
2853
+ };
2854
+
2855
+ // src/catalog.ts
2856
+ var import_client = require("@tenkeybridge/client");
2857
+ function resolveCatalog(name) {
2858
+ const key = Object.keys(CATALOG).find((k) => k.toLowerCase() === name.toLowerCase());
2859
+ return key ? CATALOG[key] : void 0;
2860
+ }
2861
+ function resolveEntityName(name) {
2862
+ return Object.keys(import_client.ENTITIES).find(
2863
+ (e) => e.toLowerCase() === name.toLowerCase()
2864
+ );
2865
+ }
2866
+ function catalogSummary() {
2867
+ return Object.values(CATALOG).map(({ entity, verdict, group, read, write, headline, usage }) => ({
2868
+ entity,
2869
+ verdict,
2870
+ group,
2871
+ read,
2872
+ write,
2873
+ headline,
2874
+ ...usage ? { usage } : {}
2875
+ }));
2876
+ }
2877
+
2878
+ // src/resources.ts
2879
+ function registerResources(server) {
2880
+ server.registerResource(
2881
+ "compat-catalog",
2882
+ "compat://catalog",
2883
+ {
2884
+ title: "TenkeyBridge compatibility catalog",
2885
+ description: "Per-entity support summary (verdict, read/write level, headline). Read compat://entity/{name} for field-level detail before create/update calls.",
2886
+ mimeType: "application/json"
2887
+ },
2888
+ async (uri) => ({
2889
+ contents: [
2890
+ { uri: uri.href, mimeType: "application/json", text: JSON.stringify(catalogSummary(), null, 2) }
2891
+ ]
2892
+ })
2893
+ );
2894
+ server.registerResource(
2895
+ "compat-entity",
2896
+ new import_mcp.ResourceTemplate("compat://entity/{name}", {
2897
+ list: () => ({
2898
+ resources: Object.values(CATALOG).map((entry) => ({
2899
+ uri: `compat://entity/${entry.entity.toLowerCase()}`,
2900
+ name: `${entry.entity} compatibility`,
2901
+ mimeType: "application/json"
2902
+ }))
2903
+ })
2904
+ }),
2905
+ {
2906
+ title: "Entity compatibility detail",
2907
+ description: "Full field-level support, unsupported cases, and workarounds for one entity.",
2908
+ mimeType: "application/json"
2909
+ },
2910
+ async (uri, variables) => {
2911
+ const entry = resolveCatalog(String(variables.name));
2912
+ if (!entry) {
2913
+ throw new Error(`No compatibility entry for "${String(variables.name)}" \u2014 read compat://catalog for the list.`);
2914
+ }
2915
+ return {
2916
+ contents: [{ uri: uri.href, mimeType: "application/json", text: JSON.stringify(entry, null, 2) }]
2917
+ };
2918
+ }
2919
+ );
2920
+ }
2921
+
2922
+ // src/tools.ts
2923
+ var import_client2 = require("@tenkeybridge/client");
2924
+ var import_zod = require("zod");
2925
+ function ok(result) {
2926
+ return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
2927
+ }
2928
+ function fail(message) {
2929
+ return { isError: true, content: [{ type: "text", text: message }] };
2930
+ }
2931
+ function failure(err) {
2932
+ if (err instanceof import_client2.TenkeyBridgeApiError) {
2933
+ return fail(
2934
+ JSON.stringify(
2935
+ {
2936
+ status: err.status,
2937
+ code: err.code,
2938
+ message: err.message,
2939
+ fixes: err.tkb?.fixes,
2940
+ docsUrl: err.tkb?.docsUrl
2941
+ },
2942
+ null,
2943
+ 2
2944
+ )
2945
+ );
2946
+ }
2947
+ return fail(err instanceof Error ? err.message : String(err));
2948
+ }
2949
+ function unknownEntity(name) {
2950
+ const gap = resolveCatalog(name);
2951
+ if (gap) {
2952
+ if (gap.verdict === "live") {
2953
+ return fail(
2954
+ `${gap.entity} is a platform endpoint, not reachable through this server's entity tools. Call the REST API directly: ${gap.usage}. Detail: compat://entity/${gap.entity.toLowerCase()}`
2955
+ );
2956
+ }
2957
+ const cases = gap.unsupported.map((u) => `- ${u.case}: ${u.error}${u.workaround ? ` \u2014 workaround: ${u.workaround}` : ""}`).join("\n");
2958
+ return fail(`${gap.entity}: ${gap.headline}
2959
+ ${cases}
2960
+ Detail: compat://entity/${gap.entity.toLowerCase()}`);
2961
+ }
2962
+ return fail(
2963
+ `Unknown entity "${name}". Supported entities: ${Object.keys(import_client2.ENTITIES).join(", ")}. Read the compat://catalog resource to check support before calling.`
2964
+ );
2965
+ }
2966
+ function accessor(client, name) {
2967
+ return client[import_client2.ENTITIES[name].accessor];
2968
+ }
2969
+ function readOnly(name) {
2970
+ const entry = resolveCatalog(name);
2971
+ return fail(
2972
+ `${name} is read-only through TenkeyBridge (write: ${import_client2.ENTITIES[name].write}).` + (entry ? ` ${entry.headline}` : "") + ` Detail: compat://entity/${name.toLowerCase()}`
2973
+ );
2974
+ }
2975
+ function registerTools(server, client) {
2976
+ const entityArg = import_zod.z.string().describe('Entity name, e.g. "Invoice" or "Customer" (case-insensitive). See compat://catalog.');
2977
+ server.registerTool(
2978
+ "query",
2979
+ {
2980
+ description: "Run a QBO-style query against the connected QuickBooks Desktop company file. Supports one WHERE condition plus startPosition/maxResults paging. Check the compat://catalog resource for entity support first.",
2981
+ inputSchema: {
2982
+ entity: entityArg,
2983
+ where: import_zod.z.string().optional().describe(`Single WHERE condition in QBO query grammar, e.g. "TxnDate >= '2026-01-01'"`),
2984
+ startPosition: import_zod.z.number().int().positive().optional(),
2985
+ maxResults: import_zod.z.number().int().positive().max(1e3).optional()
2986
+ }
2987
+ },
2988
+ async ({ entity, where, startPosition, maxResults }) => {
2989
+ const name = resolveEntityName(entity);
2990
+ if (!name) return unknownEntity(entity);
2991
+ try {
2992
+ return ok(await client.query(name, {
2993
+ ...where !== void 0 ? { where } : {},
2994
+ ...startPosition !== void 0 ? { startPosition } : {},
2995
+ ...maxResults !== void 0 ? { maxResults } : {}
2996
+ }));
2997
+ } catch (err) {
2998
+ return failure(err);
2999
+ }
3000
+ }
3001
+ );
3002
+ server.registerTool(
3003
+ "get",
3004
+ {
3005
+ description: "Fetch one entity by Id (singletons like CompanyInfo and Preferences need no id).",
3006
+ inputSchema: {
3007
+ entity: entityArg,
3008
+ id: import_zod.z.string().optional().describe("Entity Id \u2014 required unless the entity is a singleton.")
3009
+ }
3010
+ },
3011
+ async ({ entity, id }) => {
3012
+ const name = resolveEntityName(entity);
3013
+ if (!name) return unknownEntity(entity);
3014
+ const acc = accessor(client, name);
3015
+ if (!acc?.get) return fail(`${name} does not support get. See compat://entity/${name.toLowerCase()}.`);
3016
+ try {
3017
+ if (import_client2.ENTITIES[name].singleton) return ok(await acc.get());
3018
+ if (!id) return fail(`${name} requires an id \u2014 pass the entity Id (use the query tool to find one).`);
3019
+ return ok(await acc.get(id));
3020
+ } catch (err) {
3021
+ return failure(err);
3022
+ }
3023
+ }
3024
+ );
3025
+ server.registerTool(
3026
+ "create",
3027
+ {
3028
+ description: "Create an entity from QBO-shaped JSON (same payloads as the QuickBooks Online API). Check compat://entity/{name} for field support first.",
3029
+ inputSchema: {
3030
+ entity: entityArg,
3031
+ payload: import_zod.z.record(import_zod.z.unknown()).describe("QBO-shaped entity JSON.")
3032
+ }
3033
+ },
3034
+ async ({ entity, payload }) => {
3035
+ const name = resolveEntityName(entity);
3036
+ if (!name) return unknownEntity(entity);
3037
+ if (import_client2.ENTITIES[name].write === "none") return readOnly(name);
3038
+ try {
3039
+ return ok(await accessor(client, name).create(payload));
3040
+ } catch (err) {
3041
+ return failure(err);
3042
+ }
3043
+ }
3044
+ );
3045
+ server.registerTool(
3046
+ "update",
3047
+ {
3048
+ description: "Sparse-update an entity: payload must include Id plus only the fields to change.",
3049
+ inputSchema: {
3050
+ entity: entityArg,
3051
+ payload: import_zod.z.record(import_zod.z.unknown()).describe("Must include Id; include only fields being changed.")
3052
+ }
3053
+ },
3054
+ async ({ entity, payload }) => {
3055
+ const name = resolveEntityName(entity);
3056
+ if (!name) return unknownEntity(entity);
3057
+ if (import_client2.ENTITIES[name].write === "none") return readOnly(name);
3058
+ if (typeof payload.Id !== "string" || payload.Id.length === 0) {
3059
+ return fail("update payload must include the entity's Id (string). Updates are sparse \u2014 send Id + changed fields only.");
3060
+ }
3061
+ try {
3062
+ return ok(await accessor(client, name).update(payload));
3063
+ } catch (err) {
3064
+ return failure(err);
3065
+ }
3066
+ }
3067
+ );
3068
+ server.registerTool(
3069
+ "delete",
3070
+ {
3071
+ description: "Delete an entity by Id (SyncToken optional, as in QBO).",
3072
+ inputSchema: {
3073
+ entity: entityArg,
3074
+ id: import_zod.z.string(),
3075
+ syncToken: import_zod.z.string().optional()
3076
+ }
3077
+ },
3078
+ async ({ entity, id, syncToken }) => {
3079
+ const name = resolveEntityName(entity);
3080
+ if (!name) return unknownEntity(entity);
3081
+ if (import_client2.ENTITIES[name].write === "none") return readOnly(name);
3082
+ try {
3083
+ return ok(await accessor(client, name).delete({ Id: id, ...syncToken ? { SyncToken: syncToken } : {} }));
3084
+ } catch (err) {
3085
+ return failure(err);
3086
+ }
3087
+ }
3088
+ );
3089
+ }
3090
+
3091
+ // src/version.ts
3092
+ var PKG_VERSION = "0.1.0";
3093
+
3094
+ // src/server.ts
3095
+ var SERVER_NAME = "tenkeybridge";
3096
+ function buildServer(client) {
3097
+ const server = new import_mcp2.McpServer({ name: SERVER_NAME, version: PKG_VERSION });
3098
+ registerTools(server, client);
3099
+ registerResources(server);
3100
+ return server;
3101
+ }
3102
+
3103
+ // src/config.ts
3104
+ var import_node_fs = require("fs");
3105
+ var import_node_os = require("os");
3106
+ var import_node_path = require("path");
3107
+ var PORTAL_URL = "https://api.tenkeybridge.com/portal";
3108
+ function defaultTokenFile(realmId) {
3109
+ return (0, import_node_path.join)((0, import_node_os.homedir)(), ".tenkeybridge", `mcp-tokens-${realmId}.json`);
3110
+ }
3111
+ function loadConfig(env) {
3112
+ const realmId = env.TKB_REALM_ID;
3113
+ if (!realmId) {
3114
+ throw new Error(
3115
+ `TKB_REALM_ID is required \u2014 the realm id of the connected company file (shown in the portal: ${PORTAL_URL}).`
3116
+ );
3117
+ }
3118
+ const baseUrl = env.TKB_BASE_URL;
3119
+ if (env.TKB_ACCESS_TOKEN) {
3120
+ return { realmId, ...baseUrl ? { baseUrl } : {}, auth: { accessToken: env.TKB_ACCESS_TOKEN } };
3121
+ }
3122
+ const clientId = env.TKB_CLIENT_ID;
3123
+ const clientSecret = env.TKB_CLIENT_SECRET;
3124
+ const refreshToken = env.TKB_REFRESH_TOKEN;
3125
+ if (!clientId || !clientSecret || !refreshToken) {
3126
+ const missing = [
3127
+ !clientId && "TKB_CLIENT_ID",
3128
+ !clientSecret && "TKB_CLIENT_SECRET",
3129
+ !refreshToken && "TKB_REFRESH_TOKEN"
3130
+ ].filter(Boolean).join(", ");
3131
+ throw new Error(
3132
+ `Missing ${missing}. Set either TKB_ACCESS_TOKEN, or all of TKB_CLIENT_ID + TKB_CLIENT_SECRET + TKB_REFRESH_TOKEN (create an OAuth client in the portal: ${PORTAL_URL}).`
3133
+ );
3134
+ }
3135
+ const tokenFile = env.TKB_TOKEN_FILE ?? defaultTokenFile(realmId);
3136
+ const stored = readStoredRefreshToken(tokenFile);
3137
+ return {
3138
+ realmId,
3139
+ ...baseUrl ? { baseUrl } : {},
3140
+ tokenFile,
3141
+ auth: { clientId, clientSecret, refreshToken: stored ?? refreshToken }
3142
+ };
3143
+ }
3144
+ function readStoredRefreshToken(file) {
3145
+ try {
3146
+ const parsed = JSON.parse((0, import_node_fs.readFileSync)(file, "utf8"));
3147
+ return typeof parsed.refreshToken === "string" ? parsed.refreshToken : void 0;
3148
+ } catch {
3149
+ return void 0;
3150
+ }
3151
+ }
3152
+ function persistRefreshToken(file, refreshToken) {
3153
+ (0, import_node_fs.mkdirSync)((0, import_node_path.dirname)(file), { recursive: true, mode: 448 });
3154
+ (0, import_node_fs.writeFileSync)(file, `${JSON.stringify({ refreshToken, updatedAt: (/* @__PURE__ */ new Date()).toISOString() })}
3155
+ `, {
3156
+ mode: 384
3157
+ });
3158
+ }
3159
+ // Annotate the CommonJS export names for ESM import in node:
3160
+ 0 && (module.exports = {
3161
+ CATALOG,
3162
+ PKG_VERSION,
3163
+ SERVER_NAME,
3164
+ buildServer,
3165
+ catalogSummary,
3166
+ defaultTokenFile,
3167
+ loadConfig,
3168
+ persistRefreshToken,
3169
+ readStoredRefreshToken,
3170
+ registerResources,
3171
+ registerTools,
3172
+ resolveCatalog,
3173
+ resolveEntityName
3174
+ });
3175
+ //# sourceMappingURL=index.cjs.map