@tenkeybridge/mcp 0.4.0 → 0.6.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/README.md +1 -1
- package/dist/cli.js +517 -242
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +517 -242
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +517 -242
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -78,12 +78,12 @@ var CATALOG = {
|
|
|
78
78
|
{
|
|
79
79
|
"qbo": "CurrencyRef",
|
|
80
80
|
"support": "partial",
|
|
81
|
-
"note": "
|
|
81
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Written on create and stored by Desktop, so a bank or card account can be foreign (the currency must be active; activate it with CompanyCurrency). Changing it on update is not proven live. On a file with multicurrency off only USD is accepted (and dropped)."
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"qbo": "ExchangeRate",
|
|
85
85
|
"support": "partial",
|
|
86
|
-
"note": "
|
|
86
|
+
"note": "Not a Desktop account field. Accepted and ignored."
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"qbo": "CashFlowClassification",
|
|
@@ -232,7 +232,7 @@ var CATALOG = {
|
|
|
232
232
|
{
|
|
233
233
|
"qbo": "Line",
|
|
234
234
|
"support": "full",
|
|
235
|
-
"note": "Account-based and item-based expense lines; other line types return UNSUPPORTED_BY_DESKTOP.
|
|
235
|
+
"note": "Account-based and item-based expense lines; other line types return UNSUPPORTED_BY_DESKTOP. Update: Line is the WHOLE table, as in QBO. A line sent with its Id (the Line.Id a read returned) keeps that line, a line with no Id is added, and a line you leave out is deleted. Omit Line to leave every line alone (a header-only update such as PrivateNote never touches lines); an empty array is refused (2020), and a repeated or unknown Id is refused (2010). A line cannot change type: sending an expense line's Id with an item detail (or the reverse) is 2010, so omit the Id to replace it. On an item line that sends Amount without Qty or UnitPrice, Desktop keeps the stored quantity and re-derives the unit cost, so the Amount you send is the Amount you read back (verified live, 2026-10-14). Item group lines read as their component item lines, in the group's place and in Desktop's order, each carrying the TenkeyBridge extension fields GroupLineId (the group's Id) and GroupItemRef. The Id on each of those component lines is read-only: it identifies what was read and is not accepted as a line Id on a write. A transaction that has item group lines refuses a Line update with UNSUPPORTED_BY_DESKTOP, because a table update would delete them; header-only updates still work. Both AccountBasedExpenseLineDetail.ClassRef and ItemBasedExpenseLineDetail.ClassRef are read/written, mapping to Desktop ExpenseLineAdd/ExpenseLineRet and ItemLineAdd/ItemLineRet ClassRef respectively. On ExpenseLineAdd, ClassRef sits in OSR position (AccountRef < Amount < Memo < CustomerRef < ClassRef)."
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"qbo": "TotalAmt",
|
|
@@ -252,18 +252,28 @@ var CATALOG = {
|
|
|
252
252
|
{
|
|
253
253
|
"qbo": "CurrencyRef",
|
|
254
254
|
"support": "partial",
|
|
255
|
-
"note": "
|
|
255
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the vendor, so CurrencyRef is checked and then dropped: one that differs from the vendor's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"qbo": "ExchangeRate",
|
|
259
259
|
"support": "partial",
|
|
260
|
-
"note": "
|
|
260
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"qbo": "HomeTotalAmt",
|
|
264
|
+
"support": "partial",
|
|
265
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop AmountDueInHomeCurrency. Accepted and ignored on write."
|
|
261
266
|
},
|
|
262
267
|
{
|
|
263
268
|
"qbo": "LinkedTxn",
|
|
264
269
|
"support": "none",
|
|
265
270
|
"note": "QBO Bill has no paid-by LinkedTxn field. Desktop may return LinkedTxn when IncludeLinkedTxns is set, but there is no honest QBO home \u2014 not projected.",
|
|
266
271
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"qbo": "operation=void",
|
|
275
|
+
"support": "partial",
|
|
276
|
+
"note": "TenkeyBridge extension: QBO cannot void a Bill; QuickBooks Desktop can. POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType Bill), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QuickBooks Enterprise 24 (2026-10-15). The re-read shows PrivateNote as `VOID: <memo>`, every amount and line Amount at 0.00 with the lines kept, TotalAmt 0.00, Balance 0.00 (Desktop reports it paid). A void does not reliably advance the SyncToken, so re-read the record instead of relying on it; voiding again is accepted. The response is whatever Desktop returns on the re-read (nothing is fabricated)."
|
|
267
277
|
}
|
|
268
278
|
],
|
|
269
279
|
"unsupported": []
|
|
@@ -317,24 +327,37 @@ var CATALOG = {
|
|
|
317
327
|
{
|
|
318
328
|
"qbo": "PrintStatus",
|
|
319
329
|
"support": "partial",
|
|
320
|
-
"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."
|
|
330
|
+
"note": "Check flavor only; \u21C4 IsToBePrinted. On update, PrintStatus NeedToPrint or PrintComplete sets IsToBePrinted true or false (verified live, 2026-10-14); Desktop then holds no reference number, so DocNumber reads back empty, and PrintStatus and DocNumber cannot be sent together. 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."
|
|
321
331
|
},
|
|
322
332
|
{
|
|
323
333
|
"qbo": "Line",
|
|
324
334
|
"support": "partial",
|
|
325
|
-
"note": "Required \u2014 at least one; QuickBooks Desktop's BillPaymentCheckAdd/BillPaymentCreditCardAdd schema requires one or more AppliedToTxnAdd. Write: LinkedTxn bills \u2192 AppliedToTxnAdd; additional LinkedTxn VendorCredit \u2192 SetCredit (the Add request shape). Read: an applied vendor credit comes back nested as AppliedToTxnRet.LinkedTxn (TxnType VendorCredit, Amount negative \u2014 absolute value surfaced as QBO LinkedTxn.Amount), not SetCreditRet/SetCredit, which Desktop never returns on this Ret (verified live, 2026-09-28).
|
|
335
|
+
"note": "Required \u2014 at least one; QuickBooks Desktop's BillPaymentCheckAdd/BillPaymentCreditCardAdd schema requires one or more AppliedToTxnAdd. Write: LinkedTxn bills \u2192 AppliedToTxnAdd; additional LinkedTxn VendorCredit \u2192 SetCredit (the Add request shape). Read: an applied vendor credit comes back nested as AppliedToTxnRet.LinkedTxn (TxnType VendorCredit, Amount negative \u2014 absolute value surfaced as QBO LinkedTxn.Amount), not SetCreditRet/SetCredit, which Desktop never returns on this Ret (verified live, 2026-09-28). Update (Check family): Line is the WHOLE application set, as in QBO, keyed on the bill (LinkedTxn[0].TxnId) and sent as AppliedToTxnMod. A bill left out of the array is unapplied (it reopens) and the payment total recomputes; a bill not yet applied is added. Omit Line to leave applications untouched (a header-only update such as PrivateNote never touches them). An empty array (2020) or a repeated bill (2010) is refused. A vendor credit is applied by adding a second LinkedTxn (TxnType VendorCredit) to the bill's line. A credit already applied stays applied when a later update omits it: Desktop keeps it on the bill, even after the payment is deleted. Credit-card-family payments cannot be updated at all, whatever PayType the body carries (UNSUPPORTED_BY_DESKTOP); delete and re-create."
|
|
326
336
|
},
|
|
327
337
|
{
|
|
328
338
|
"qbo": "CurrencyRef",
|
|
329
|
-
"support": "
|
|
330
|
-
"note": "
|
|
331
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
339
|
+
"support": "partial",
|
|
340
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the vendor, so CurrencyRef is checked and then dropped: one that differs from the vendor's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
332
341
|
},
|
|
333
342
|
{
|
|
334
343
|
"qbo": "ExchangeRate",
|
|
335
|
-
"support": "
|
|
336
|
-
"note": "
|
|
337
|
-
|
|
344
|
+
"support": "partial",
|
|
345
|
+
"note": "Create only (BillPaymentCheckMod does not take it, so it is not sent on update). Proven live on create for a EUR bill paid with APAccountRef naming the EUR A/P account and a rate of 1.10, which Desktop stored and returned on read. Without the foreign A/P account Desktop refuses the request (3120). Read on multicurrency files only."
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"qbo": "APAccountRef",
|
|
349
|
+
"support": "partial",
|
|
350
|
+
"note": "Create only (BillPaymentCheckMod has no such element); read when Desktop returns it. A bill in a foreign currency sits in a foreign A/P account, and Desktop looks in the home A/P when the payment does not name it (3120, live). On create, when you send CurrencyRef or ExchangeRate and no APAccountRef, TenkeyBridge reads the A/P account of the one bill being paid and sends it. Send APAccountRef yourself when the payment applies several bills."
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"qbo": "HomeTotalAmt",
|
|
354
|
+
"support": "partial",
|
|
355
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from the check payment AmountInHomeCurrency. Not yet proven live. Accepted and ignored on write."
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"qbo": "query paging",
|
|
359
|
+
"support": "full",
|
|
360
|
+
"note": "STARTPOSITION and MAXRESULTS page across both Desktop families as one list: check payments, then credit card payments, each in Desktop order. A deep page costs two QuickBooks messages (the ids of every row the query selects, then the page by id) and faults with UNSUPPORTED_QUERY past 5000 rows in one family; narrow with a TxnDate or MetaData.LastUpdatedTime range."
|
|
338
361
|
},
|
|
339
362
|
{
|
|
340
363
|
"qbo": "operation=void",
|
|
@@ -539,28 +562,30 @@ var CATALOG = {
|
|
|
539
562
|
"verdict": "live",
|
|
540
563
|
"group": "lists",
|
|
541
564
|
"read": "full",
|
|
542
|
-
"write": "
|
|
543
|
-
"headline": "Desktop CurrencyQuery list;
|
|
565
|
+
"write": "partial",
|
|
566
|
+
"headline": "Desktop CurrencyQuery list, including inactive currencies; create activates or adds a currency, update changes Name and Active. Empty when multicurrency is off (statusCode 3250, confirmed live, and 3170 both normalized to [])",
|
|
544
567
|
"fields": [
|
|
545
568
|
{
|
|
546
569
|
"qbo": "Name",
|
|
547
|
-
"support": "full"
|
|
570
|
+
"support": "full",
|
|
571
|
+
"note": "Desktop Name. On create the default is the code. Can be changed on update."
|
|
548
572
|
},
|
|
549
573
|
{
|
|
550
574
|
"qbo": "Active",
|
|
551
|
-
"support": "full"
|
|
575
|
+
"support": "full",
|
|
576
|
+
"note": "Desktop IsActive. Update can activate or deactivate a currency (proven live). Prefer deactivating to deleting: delete is not proven live."
|
|
552
577
|
},
|
|
553
578
|
{
|
|
554
579
|
"qbo": "Code",
|
|
555
|
-
"support": "
|
|
556
|
-
"note": "Desktop CurrencyCode."
|
|
580
|
+
"support": "partial",
|
|
581
|
+
"note": "Desktop CurrencyCode, an ISO 4217 code. Required on create (400, code 2020 without it) and never changed afterwards: an update that names a different code is UNSUPPORTED_BY_DESKTOP. Create (POST /companycurrency) is activate-or-add; see the Name and Active rows and the create unsupported cases below."
|
|
557
582
|
}
|
|
558
583
|
],
|
|
559
584
|
"unsupported": [
|
|
560
585
|
{
|
|
561
|
-
"case": "
|
|
586
|
+
"case": "Setting an exchange rate on create or update",
|
|
562
587
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
563
|
-
"note": "
|
|
588
|
+
"note": "CurrencyMod has no rate field. Set the list rate in QuickBooks, or send ExchangeRate on the transaction."
|
|
564
589
|
}
|
|
565
590
|
]
|
|
566
591
|
},
|
|
@@ -611,15 +636,24 @@ var CATALOG = {
|
|
|
611
636
|
"note": 'Desktop FirstMonthFiscalYear; both sides use English month names (live-verified "January").'
|
|
612
637
|
},
|
|
613
638
|
{
|
|
614
|
-
"qbo": "
|
|
639
|
+
"qbo": "WebAddr",
|
|
615
640
|
"support": "full",
|
|
616
|
-
"note": "Desktop
|
|
641
|
+
"note": "Desktop CompanyWebSite as WebAddr.URI; absent when no website is on file."
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"qbo": "CustomerCommunicationEmailAddr",
|
|
645
|
+
"support": "full",
|
|
646
|
+
"note": "Desktop CompanyEmailForCustomer as Address; absent when none is on file."
|
|
617
647
|
},
|
|
618
648
|
{
|
|
619
649
|
"qbo": "NameValue",
|
|
620
|
-
"support": "
|
|
621
|
-
"note": "
|
|
622
|
-
|
|
650
|
+
"support": "partial",
|
|
651
|
+
"note": "TaxForm and CompanyType only, as Name/Value pairs when present; EIN is never returned."
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"qbo": "Country",
|
|
655
|
+
"support": "full",
|
|
656
|
+
"note": "Desktop Address.Country, passed through as free text \u2014 no normalization, and often blank on US company files."
|
|
623
657
|
},
|
|
624
658
|
{
|
|
625
659
|
"qbo": "CompanyStartDate",
|
|
@@ -640,10 +674,10 @@ var CATALOG = {
|
|
|
640
674
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
641
675
|
},
|
|
642
676
|
{
|
|
643
|
-
"qbo": "
|
|
677
|
+
"qbo": "EmployerId",
|
|
644
678
|
"support": "none",
|
|
645
|
-
"note": "
|
|
646
|
-
"error": "
|
|
679
|
+
"note": "Desktop has an EIN, but TenkeyBridge deliberately does not expose it: it is sensitive and not needed to sync books. Never returned or accepted.",
|
|
680
|
+
"error": "UNMAPPED_FIELD"
|
|
647
681
|
}
|
|
648
682
|
],
|
|
649
683
|
"unsupported": [
|
|
@@ -725,6 +759,21 @@ var CATALOG = {
|
|
|
725
759
|
"qbo": "TxnDate",
|
|
726
760
|
"support": "full"
|
|
727
761
|
},
|
|
762
|
+
{
|
|
763
|
+
"qbo": "CurrencyRef",
|
|
764
|
+
"support": "partial",
|
|
765
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the customer, so CurrencyRef is checked and then dropped: one that differs from the customer's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"qbo": "ExchangeRate",
|
|
769
|
+
"support": "partial",
|
|
770
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"qbo": "HomeBalance",
|
|
774
|
+
"support": "partial",
|
|
775
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop CreditRemainingInHomeCurrency. Accepted and ignored on write."
|
|
776
|
+
},
|
|
728
777
|
{
|
|
729
778
|
"qbo": "DocNumber",
|
|
730
779
|
"support": "full",
|
|
@@ -767,12 +816,12 @@ var CATALOG = {
|
|
|
767
816
|
{
|
|
768
817
|
"qbo": "Line",
|
|
769
818
|
"support": "partial",
|
|
770
|
-
"note": "Same DetailType support as Invoice: SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; DiscountLineDetail
|
|
819
|
+
"note": "Same DetailType support as Invoice: SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; DiscountLineDetail names a Desktop discount item by DiscountLineDetail.ItemRef (value = ListID, or name = full name; PercentBased + DiscountPercent sends RatePercent, an amount discount sends Amount). With no ItemRef but a DiscountAccountRef, the gateway uses the one active discount item that posts to that account; none or several is MISSING_REQUIRED_DESKTOP_ITEM, and a discount item is never created for you. SubTotalLineDetail needs no ItemRef: the gateway uses the company's active subtotal item (the one named Subtotal if there are several, else the first), and only when there is none it creates an item named Subtotal (it has no account and posts nothing); a subtotal line is sent without Amount, Qty or Rate because Desktop computes the amount and refuses one. Other DetailTypes return UNSUPPORTED_BY_DESKTOP. Lines read back in Desktop's own order; a group line reads as GroupLineDetail with its component lines in GroupLineDetail.Line (each with its own Id) and the bundle total as Amount; a subtotal line reads as SubTotalLineDetail; Desktop discount lines read back as SalesItemLineDetail lines (never DiscountLineDetail) referencing the discount item, with a negative Amount (verified live). An unknown Line.Id returns 3120 (REST 610); a malformed one returns 3000. Updates carrying Line send the full line table, as QBO requires: a line with the Id a read returned keeps that Desktop line (Id = TxnLineID, stable across updates), a line without an Id (or Id 0 / empty) is added, and any existing line omitted from the array is deleted. Send the whole array on sparse updates too; an Id listed twice is rejected (2010). Fields you omit from a line that carries an Id are filled from the current record before the full line is sent (Desktop would otherwise blank them), and line ClassRef and ServiceDate are written (ServiceDate not on Estimate). Re-sending an existing group line returns 422 (UNSUPPORTED_BY_DESKTOP); omit it to delete it and add a new group line without an Id. The Ids on a group's component lines (GroupLineDetail.Line[].Id) are read-only: they identify what was read and are not accepted as line Ids on a write."
|
|
771
820
|
},
|
|
772
821
|
{
|
|
773
822
|
"qbo": "TxnTaxDetail",
|
|
774
823
|
"support": "partial",
|
|
775
|
-
"note": "TxnTaxCodeRef selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). Updatable via sparse update (#55)."
|
|
824
|
+
"note": "TxnTaxCodeRef selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read, TaxLine carries a NetAmountTaxable that is derived, not read: the sum of the Tax-coded line Amounts (discount lines are not subtracted, verified live), returned only when it reproduces Desktop's SalesTaxTotal to the cent and omitted otherwise (custom tax codes, or a discount whose taxability is unknown). Updatable via sparse update (#55)."
|
|
776
825
|
},
|
|
777
826
|
{
|
|
778
827
|
"qbo": "LinkedTxn",
|
|
@@ -803,9 +852,9 @@ var CATALOG = {
|
|
|
803
852
|
],
|
|
804
853
|
"unsupported": [
|
|
805
854
|
{
|
|
806
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
855
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
807
856
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
808
|
-
"note": "Desktop discounts are items and
|
|
857
|
+
"note": "Desktop discounts are items. Send DiscountAccountRef and the gateway uses the one active discount item that posts to that account; with no account, no match or several matches the call is refused and nothing is guessed, because a wrong item would post the discount to the wrong account. Create a discount item through the Item API (DesktopItemType Discount) or in QuickBooks (Lists > Item List > New > Discount) and pass it as DiscountLineDetail.ItemRef by value (ListID) or name (full name). See COMPATIBILITY.md."
|
|
809
858
|
},
|
|
810
859
|
{
|
|
811
860
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
@@ -935,12 +984,12 @@ var CATALOG = {
|
|
|
935
984
|
{
|
|
936
985
|
"qbo": "CurrencyRef",
|
|
937
986
|
"support": "partial",
|
|
938
|
-
"note": "
|
|
987
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Written on create and stored by Desktop (the currency must be active; activate it with CompanyCurrency). On update Desktop allows a change only while the customer has no transactions (proven live; otherwise Desktop refuses it, 400 code 2500). On a file with multicurrency off only USD is accepted (and dropped)."
|
|
939
988
|
},
|
|
940
989
|
{
|
|
941
990
|
"qbo": "ExchangeRate",
|
|
942
991
|
"support": "partial",
|
|
943
|
-
"note": "
|
|
992
|
+
"note": "Not a Desktop customer field. Accepted and ignored."
|
|
944
993
|
},
|
|
945
994
|
{
|
|
946
995
|
"qbo": "PreferredPaymentMethodRef",
|
|
@@ -1116,12 +1165,12 @@ var CATALOG = {
|
|
|
1116
1165
|
{
|
|
1117
1166
|
"qbo": "Line",
|
|
1118
1167
|
"support": "partial",
|
|
1119
|
-
"note": "Write: LinkedTxn (PaymentTxnID path) for undeposited payments, or DepositLineDetail{Entity, AccountRef, PaymentMethodRef, CheckNum} for a manual line \u2014 one or the other, and a manual line's DepositLineDetail.AccountRef is required. Read: Desktop always returns DepositLineDetail; a line sourced from a deposited payment also carries LinkedTxn (TxnId/TxnType Payment) alongside it. Updates carrying Line send the full table as DepositLineMod: a line with the Id a read returned keeps that Desktop line, a line without an Id is added, and any existing line omitted from the array is deleted \u2014 send the whole array. A manual line has omitted fields filled from the current record; a line sourced from a deposited payment is re-sent as a bare TxnLineID (Desktop keeps the line and its payment link; re-sending PaymentTxnID is refused 3210 because the payment is already deposited), so edits to its amount, account and payer are not applied. A new line linking a still-undeposited payment is accepted. Verified live on QuickBooks Enterprise 24 (2026-09-30). CashBack
|
|
1168
|
+
"note": "Write: LinkedTxn (PaymentTxnID path) for undeposited payments, or DepositLineDetail{Entity, AccountRef, PaymentMethodRef, CheckNum} for a manual line \u2014 one or the other, and a manual line's DepositLineDetail.AccountRef is required. Read: Desktop always returns DepositLineDetail; a line sourced from a deposited payment also carries LinkedTxn (TxnId/TxnType Payment) alongside it. Updates carrying Line send the full table as DepositLineMod: a line with the Id a read returned keeps that Desktop line, a line without an Id is added, and any existing line omitted from the array is deleted \u2014 send the whole array. A manual line has omitted fields filled from the current record; a line sourced from a deposited payment is re-sent as a bare TxnLineID (Desktop keeps the line and its payment link; re-sending PaymentTxnID is refused 3210 because the payment is already deposited), so edits to its amount, account and payer are not applied. A new line linking a still-undeposited payment is accepted. Verified live on QuickBooks Enterprise 24 (2026-09-30). CashBack is updated through the CashBack field, not Line. An Id that is not a line of the deposit is a 400; an Id listed twice is 2010; an empty Line array is refused."
|
|
1120
1169
|
},
|
|
1121
1170
|
{
|
|
1122
1171
|
"qbo": "CashBack",
|
|
1123
1172
|
"support": "partial",
|
|
1124
|
-
"note": "Create and read map to Desktop CashBackInfo.
|
|
1173
|
+
"note": "Create and read map to Desktop CashBackInfo. An update that changes CashBack sends one CashBackInfoMod built from the current record with your AccountRef, Memo and Amount laid over it; an update that echoes the current CashBack unchanged sends nothing. CashBack: null removes it by setting its Amount to 0.00, and a read treats a cash back at 0.00 as none (Desktop keeps the element at 0.00 and the deposit total returns to the lines). Adding cash back to a deposit that has none is 422 UNSUPPORTED_BY_DESKTOP: Desktop cannot add cash back to an existing deposit, so re-create it. Verified live on QuickBooks Enterprise 24 (2026-10-15)."
|
|
1125
1174
|
},
|
|
1126
1175
|
{
|
|
1127
1176
|
"qbo": "TotalAmt",
|
|
@@ -1130,15 +1179,23 @@ var CATALOG = {
|
|
|
1130
1179
|
},
|
|
1131
1180
|
{
|
|
1132
1181
|
"qbo": "CurrencyRef",
|
|
1133
|
-
"support": "
|
|
1134
|
-
"note": "
|
|
1135
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1182
|
+
"support": "partial",
|
|
1183
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Written on create and stored by Desktop. The currency must be active (400 otherwise; activate it with CompanyCurrency) and must equal the currency of DepositToAccountRef: Desktop does not check this, so TenkeyBridge does (400, code 2010). Send DepositToAccountRef with CurrencyRef on update. On a file with multicurrency off only USD is accepted (and dropped). Changing CurrencyRef on update is not proven live."
|
|
1136
1184
|
},
|
|
1137
1185
|
{
|
|
1138
1186
|
"qbo": "ExchangeRate",
|
|
1139
|
-
"support": "
|
|
1140
|
-
"note": "
|
|
1141
|
-
|
|
1187
|
+
"support": "partial",
|
|
1188
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"qbo": "HomeTotalAmt",
|
|
1192
|
+
"support": "partial",
|
|
1193
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop DepositTotalInHomeCurrency. Accepted and ignored on write."
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"qbo": "operation=void",
|
|
1197
|
+
"support": "partial",
|
|
1198
|
+
"note": "TenkeyBridge extension: QBO cannot void a Deposit; QuickBooks Desktop can. POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType Deposit), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QuickBooks Enterprise 24 (2026-10-15). The re-read shows PrivateNote as `VOID: <memo>` and TotalAmt and every line Amount at 0.00 with the lines kept. A void does not reliably advance the SyncToken, so re-read the record instead of relying on it; voiding again is accepted. The response is whatever Desktop returns on the re-read (nothing is fabricated)."
|
|
1142
1199
|
}
|
|
1143
1200
|
],
|
|
1144
1201
|
"unsupported": []
|
|
@@ -1149,7 +1206,7 @@ var CATALOG = {
|
|
|
1149
1206
|
"group": "lists",
|
|
1150
1207
|
"read": "full",
|
|
1151
1208
|
"write": "partial",
|
|
1152
|
-
"headline": "Read/query plus create and update of core HR fields (live-verified); DisplayName is derived from first/middle/last; SSN is write-only and never returned; payroll fields out of scope",
|
|
1209
|
+
"headline": "Read/query plus create and update of core HR fields (live-verified); DisplayName is derived from first/middle/last; SSN is write-only and never returned; pay rates and other payroll fields out of scope",
|
|
1153
1210
|
"fields": [
|
|
1154
1211
|
{
|
|
1155
1212
|
"qbo": "GivenName",
|
|
@@ -1180,7 +1237,7 @@ var CATALOG = {
|
|
|
1180
1237
|
{
|
|
1181
1238
|
"qbo": "Active",
|
|
1182
1239
|
"support": "full",
|
|
1183
|
-
"note": "Deactivate with a sparse update of Active:false
|
|
1240
|
+
"note": "Deactivate with a sparse update of Active:false. QBO deactivates employees rather than deleting them, and so does TenkeyBridge, even though Desktop can delete an employee that has no transactions."
|
|
1184
1241
|
},
|
|
1185
1242
|
{
|
|
1186
1243
|
"qbo": "PrimaryPhone",
|
|
@@ -1228,15 +1285,13 @@ var CATALOG = {
|
|
|
1228
1285
|
},
|
|
1229
1286
|
{
|
|
1230
1287
|
"qbo": "EmployeeNumber",
|
|
1231
|
-
"support": "
|
|
1232
|
-
"note": "Desktop
|
|
1233
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1288
|
+
"support": "full",
|
|
1289
|
+
"note": "Desktop AccountNumber (the Account No. field on the employee record), up to 99 characters. Verified live on QuickBooks Enterprise 24 (2026-10-15)."
|
|
1234
1290
|
},
|
|
1235
1291
|
{
|
|
1236
1292
|
"qbo": "TargetBonus",
|
|
1237
|
-
"support": "
|
|
1238
|
-
"note": "Desktop payroll
|
|
1239
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1293
|
+
"support": "full",
|
|
1294
|
+
"note": "Desktop TargetBonus, a money amount. Accepted on create and update without a payroll subscription (verified live on QuickBooks Enterprise 24, 2026-10-15); Desktop's create response omits it but reads return it."
|
|
1240
1295
|
},
|
|
1241
1296
|
{
|
|
1242
1297
|
"qbo": "AdditionalContactRef",
|
|
@@ -1249,7 +1304,7 @@ var CATALOG = {
|
|
|
1249
1304
|
{
|
|
1250
1305
|
"case": "Delete",
|
|
1251
1306
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1252
|
-
"note": "QBO employees are deactivated, not deleted
|
|
1307
|
+
"note": "QBO employees are deactivated, not deleted. Desktop can delete an employee with no transactions, but TenkeyBridge keeps deactivate-only to match QBO (sparse update with Active:false)."
|
|
1253
1308
|
},
|
|
1254
1309
|
{
|
|
1255
1310
|
"case": "Payroll fields",
|
|
@@ -1361,12 +1416,12 @@ var CATALOG = {
|
|
|
1361
1416
|
{
|
|
1362
1417
|
"qbo": "Line",
|
|
1363
1418
|
"support": "partial",
|
|
1364
|
-
"note": "Same DetailType support as Invoice (for an item that has a cost, Desktop treats an Estimate line's Rate as cost plus markup, MarkupRatePercent, so Amount can differ from Qty x Rate; verified live): SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
1419
|
+
"note": "Same DetailType support as Invoice (for an item that has a cost, Desktop treats an Estimate line's Rate as cost plus markup, MarkupRatePercent, so Amount can differ from Qty x Rate; verified live): SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail names a Desktop discount item by DiscountLineDetail.ItemRef (value = ListID, or name = full name; PercentBased + DiscountPercent sends RatePercent, an amount discount sends Amount). With no ItemRef but a DiscountAccountRef, the gateway uses the one active discount item that posts to that account; none or several is MISSING_REQUIRED_DESKTOP_ITEM, and a discount item is never created for you. SubTotalLineDetail needs no ItemRef: the gateway uses the company's active subtotal item (the one named Subtotal if there are several, else the first), and only when there is none it creates an item named Subtotal (it has no account and posts nothing); a subtotal line is sent without Amount, Qty or Rate because Desktop computes the amount and refuses one. Other DetailTypes return UNSUPPORTED_BY_DESKTOP. Lines read back in Desktop's own order; a group line reads as GroupLineDetail with its component lines in GroupLineDetail.Line (each with its own Id) and the bundle total as Amount; a subtotal line reads as SubTotalLineDetail; Desktop discount lines read back as SalesItemLineDetail lines (never DiscountLineDetail) referencing the discount item, with a negative Amount (verified live). An unknown Line.Id returns 3120 (REST 610); a malformed one returns 3000. Updates carrying Line send the full line table, as QBO requires: a line with the Id a read returned keeps that Desktop line (Id = TxnLineID, stable across updates), a line without an Id (or Id 0 / empty) is added, and any existing line omitted from the array is deleted. Send the whole array on sparse updates too; an Id listed twice is rejected (2010). Fields you omit from a line that carries an Id are filled from the current record before the full line is sent (Desktop would otherwise blank them), and line ClassRef and ServiceDate are written (ServiceDate not on Estimate). Re-sending an existing group line returns 422 (UNSUPPORTED_BY_DESKTOP); omit it to delete it and add a new group line without an Id. The Ids on a group's component lines (GroupLineDetail.Line[].Id) are read-only: they identify what was read and are not accepted as line Ids on a write."
|
|
1365
1420
|
},
|
|
1366
1421
|
{
|
|
1367
1422
|
"qbo": "TxnTaxDetail",
|
|
1368
1423
|
"support": "partial",
|
|
1369
|
-
"note": "TxnTaxCodeRef on write selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read: TotalTax, TxnTaxCodeRef, and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}]. NetAmountTaxable
|
|
1424
|
+
"note": "TxnTaxCodeRef on write selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read: TotalTax, TxnTaxCodeRef, and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}]. NetAmountTaxable is derived, not read: the sum of the Tax-coded line Amounts (discount lines are not subtracted, verified live), returned only when it reproduces Desktop's SalesTaxTotal to the cent and omitted otherwise (custom tax codes, or a discount whose taxability is unknown). Updatable via sparse update (#55)."
|
|
1370
1425
|
},
|
|
1371
1426
|
{
|
|
1372
1427
|
"qbo": "LinkedTxn",
|
|
@@ -1386,12 +1441,17 @@ var CATALOG = {
|
|
|
1386
1441
|
{
|
|
1387
1442
|
"qbo": "CurrencyRef",
|
|
1388
1443
|
"support": "partial",
|
|
1389
|
-
"note": "
|
|
1444
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the customer, so CurrencyRef is checked and then dropped: one that differs from the customer's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
1390
1445
|
},
|
|
1391
1446
|
{
|
|
1392
1447
|
"qbo": "ExchangeRate",
|
|
1393
1448
|
"support": "partial",
|
|
1394
|
-
"note": "
|
|
1449
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"qbo": "HomeTotalAmt",
|
|
1453
|
+
"support": "partial",
|
|
1454
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
1395
1455
|
},
|
|
1396
1456
|
{
|
|
1397
1457
|
"qbo": "AcceptedBy",
|
|
@@ -1408,9 +1468,9 @@ var CATALOG = {
|
|
|
1408
1468
|
],
|
|
1409
1469
|
"unsupported": [
|
|
1410
1470
|
{
|
|
1411
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
1471
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
1412
1472
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
1413
|
-
"note": "Desktop discounts are items and
|
|
1473
|
+
"note": "Desktop discounts are items. Send DiscountAccountRef and the gateway uses the one active discount item that posts to that account; with no account, no match or several matches the call is refused and nothing is guessed, because a wrong item would post the discount to the wrong account. Create a discount item through the Item API (DesktopItemType Discount) or in QuickBooks (Lists > Item List > New > Discount) and pass it as DiscountLineDetail.ItemRef by value (ListID) or name (full name). See COMPATIBILITY.md."
|
|
1414
1474
|
},
|
|
1415
1475
|
{
|
|
1416
1476
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
@@ -1425,7 +1485,7 @@ var CATALOG = {
|
|
|
1425
1485
|
"group": "lists",
|
|
1426
1486
|
"read": "partial",
|
|
1427
1487
|
"write": "none",
|
|
1428
|
-
"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 [])",
|
|
1488
|
+
"headline": "Projected from CurrencyRet.ExchangeRate + AsOfDate, plus QBO's keyed lookup; one row per currency that carries a rate; empty when multicurrency is off (statusCode 3250, confirmed live, and 3170 both normalized to [])",
|
|
1429
1489
|
"fields": [
|
|
1430
1490
|
{
|
|
1431
1491
|
"qbo": "SourceCurrencyCode",
|
|
@@ -1444,21 +1504,25 @@ var CATALOG = {
|
|
|
1444
1504
|
},
|
|
1445
1505
|
{
|
|
1446
1506
|
"qbo": "TargetCurrencyCode",
|
|
1447
|
-
"support": "
|
|
1448
|
-
"note": "
|
|
1449
|
-
|
|
1507
|
+
"support": "full",
|
|
1508
|
+
"note": "The company file's home currency as an ISO code, read from Preferences through the currency book. Omitted when the home currency cannot be determined; never invented."
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"qbo": "keyed lookup",
|
|
1512
|
+
"support": "full",
|
|
1513
|
+
"note": "GET /exchangerate?sourcecurrencycode=CAD[&asofdate=2026-10-19] answers the current rate with TargetCurrencyCode. The home currency answers Rate 1 with AsOfDate = asofdate or today. An unknown currency code, or a currency with no rate, is 400 code 610. A missing sourcecurrencycode is 400 code 2020."
|
|
1450
1514
|
}
|
|
1451
1515
|
],
|
|
1452
1516
|
"unsupported": [
|
|
1453
1517
|
{
|
|
1454
|
-
"case": "
|
|
1455
|
-
"error": "
|
|
1456
|
-
"note": "
|
|
1518
|
+
"case": "Keyed lookup with asofdate before the stored AsOfDate",
|
|
1519
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1520
|
+
"note": "QuickBooks Desktop keeps only the latest exchange rate per currency, so a date earlier than the stored AsOfDate cannot be answered (400). A date on or after it answers the stored rate. On a file with multicurrency off the lookup is 400 UNSUPPORTED_BY_DESKTOP."
|
|
1457
1521
|
},
|
|
1458
1522
|
{
|
|
1459
1523
|
"case": "Create, update, or delete",
|
|
1460
1524
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1461
|
-
"note": "ExchangeRate is read
|
|
1525
|
+
"note": "ExchangeRate is read and query only. Desktop keeps one rate per currency on the currency list and CurrencyMod cannot change it (the request fails to parse), so a rate is set in QuickBooks. A transaction can carry its own rate: see ExchangeRate on the sales and purchase forms."
|
|
1462
1526
|
},
|
|
1463
1527
|
{
|
|
1464
1528
|
"case": "Currencies without ExchangeRate on CurrencyRet",
|
|
@@ -1473,12 +1537,12 @@ var CATALOG = {
|
|
|
1473
1537
|
"group": "purchasing",
|
|
1474
1538
|
"read": "full",
|
|
1475
1539
|
"write": "partial",
|
|
1476
|
-
"headline": "Quantity adjustments to inventory items \u2014 create, read, header
|
|
1540
|
+
"headline": "Quantity adjustments to inventory items \u2014 create, read, update (header and lines) and delete",
|
|
1477
1541
|
"fields": [
|
|
1478
1542
|
{
|
|
1479
1543
|
"qbo": "AdjustAccountRef",
|
|
1480
1544
|
"support": "full",
|
|
1481
|
-
"note": "Desktop AccountRef
|
|
1545
|
+
"note": "Desktop AccountRef, the adjustment (offset) account. Required on create."
|
|
1482
1546
|
},
|
|
1483
1547
|
{
|
|
1484
1548
|
"qbo": "TxnDate",
|
|
@@ -1497,28 +1561,25 @@ var CATALOG = {
|
|
|
1497
1561
|
{
|
|
1498
1562
|
"qbo": "Line",
|
|
1499
1563
|
"support": "partial",
|
|
1500
|
-
"note": "DetailType ItemAdjustmentLineDetail with ItemRef and QtyDiff. QtyDiff is a signed change in quantity on hand (nonzero, at most 5 decimal places) and maps to Desktop QuantityAdjustment/QuantityDifference (never NewQuantity); quantity on hand changes by exactly that amount, verified live. The same item on two lines is refused (Desktop rejects it). Desktop's value elements (ValueAdjustment/NewValue) are not exposed for writing; Desktop's ValueDifference (quantity times the item's average cost, verified live) is returned read-only as Line.Amount; the Ret line is flat QuantityDifference/ValueDifference. Line.Description and Line.Amount cannot be written (Desktop has no line memo and computes the value from the item's average cost).
|
|
1564
|
+
"note": "DetailType ItemAdjustmentLineDetail with ItemRef and QtyDiff. QtyDiff is a signed change in quantity on hand (nonzero, at most 5 decimal places) and maps to Desktop QuantityAdjustment/QuantityDifference (never NewQuantity); quantity on hand changes by exactly that amount, verified live. The same item on two lines is refused (Desktop rejects it). Desktop's value elements (ValueAdjustment/NewValue) are not exposed for writing; Desktop's ValueDifference (quantity times the item's average cost, verified live) is returned read-only as Line.Amount; the Ret line is flat QuantityDifference/ValueDifference. Line.Description and Line.Amount cannot be written (Desktop has no line memo and computes the value from the item's average cost). Update: Line is the WHOLE table, as in QBO. A line sent with its Id keeps that line (QtyDiff changes it), a line with no Id is added, and a line you leave out is deleted. Omit Line to leave every line alone; an empty array is refused (2020), and a repeated or unknown Id is refused (2010). Posting a read back whole works: an Amount on an existing line that equals the value the read returned is ignored, while a different Amount is UNSUPPORTED_BY_DESKTOP. Updating a value adjustment line (one with no quantity change) is UNSUPPORTED_BY_DESKTOP."
|
|
1501
1565
|
},
|
|
1502
1566
|
{
|
|
1503
1567
|
"qbo": "CurrencyRef",
|
|
1504
|
-
"support": "
|
|
1505
|
-
"note": "
|
|
1506
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1568
|
+
"support": "partial",
|
|
1569
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Writes are accepted and ignored. On a single-currency file a CurrencyRef other than USD or an ExchangeRate other than 1 is refused (400 UNSUPPORTED_BY_DESKTOP)."
|
|
1507
1570
|
},
|
|
1508
1571
|
{
|
|
1509
1572
|
"qbo": "ExchangeRate",
|
|
1510
|
-
"support": "
|
|
1511
|
-
"note": "
|
|
1512
|
-
|
|
1573
|
+
"support": "partial",
|
|
1574
|
+
"note": "Read on multicurrency files only. Writes are accepted and ignored. On a single-currency file a CurrencyRef other than USD or an ExchangeRate other than 1 is refused (400 UNSUPPORTED_BY_DESKTOP)."
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"qbo": "operation=void",
|
|
1578
|
+
"support": "partial",
|
|
1579
|
+
"note": "TenkeyBridge extension: QBO cannot void an InventoryAdjustment; QuickBooks Desktop can. POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType InventoryAdjustment), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QuickBooks Enterprise 24 (2026-10-15). The re-read shows PrivateNote as `VOID: <memo>` and every line quantity change and value change at 0. The void reverses the stock effect, so the item QuantityOnHand returns to its value before the adjustment. A void does not reliably advance the SyncToken, so re-read the record instead of relying on it; voiding again is accepted. The response is whatever Desktop returns on the re-read (nothing is fabricated)."
|
|
1513
1580
|
}
|
|
1514
1581
|
],
|
|
1515
1582
|
"unsupported": [
|
|
1516
|
-
{
|
|
1517
|
-
"case": "Line update",
|
|
1518
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1519
|
-
"note": "A sparse update can change header fields only (AdjustAccountRef, TxnDate, DocNumber, PrivateNote). To change quantities, delete the adjustment and create a new one.",
|
|
1520
|
-
"workaround": "POST ?operation=delete with the Id, then create a corrected InventoryAdjustment."
|
|
1521
|
-
},
|
|
1522
1583
|
{
|
|
1523
1584
|
"case": "Absolute quantity (NewQuantity) and value adjustments",
|
|
1524
1585
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
@@ -1598,12 +1659,12 @@ var CATALOG = {
|
|
|
1598
1659
|
{
|
|
1599
1660
|
"qbo": "Line",
|
|
1600
1661
|
"support": "partial",
|
|
1601
|
-
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
1662
|
+
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail names a Desktop discount item by DiscountLineDetail.ItemRef (value = ListID, or name = full name; PercentBased + DiscountPercent sends RatePercent, an amount discount sends Amount). With no ItemRef but a DiscountAccountRef, the gateway uses the one active discount item that posts to that account; none or several is MISSING_REQUIRED_DESKTOP_ITEM, and a discount item is never created for you. SubTotalLineDetail needs no ItemRef: the gateway uses the company's active subtotal item (the one named Subtotal if there are several, else the first), and only when there is none it creates an item named Subtotal (it has no account and posts nothing); a subtotal line is sent without Amount, Qty or Rate because Desktop computes the amount and refuses one. Other DetailTypes return UNSUPPORTED_BY_DESKTOP. Lines read back in Desktop's own order; a group line reads as GroupLineDetail with its component lines in GroupLineDetail.Line (each with its own Id) and the bundle total as Amount; a subtotal line reads as SubTotalLineDetail; Desktop discount lines read back as SalesItemLineDetail lines (never DiscountLineDetail) referencing the discount item, with a negative Amount (verified live). An unknown Line.Id returns 3120 (REST 610); a malformed one returns 3000. Updates carrying Line send the full line table, as QBO requires: a line with the Id a read returned keeps that Desktop line (Id = TxnLineID, stable across updates), a line without an Id (or Id 0 / empty) is added, and any existing line omitted from the array is deleted. Send the whole array on sparse updates too; an Id listed twice is rejected (2010). Fields you omit from a line that carries an Id are filled from the current record before the full line is sent (Desktop would otherwise blank them), and line ClassRef and ServiceDate are written (ServiceDate not on Estimate). Re-sending an existing group line returns 422 (UNSUPPORTED_BY_DESKTOP); omit it to delete it and add a new group line without an Id. The Ids on a group's component lines (GroupLineDetail.Line[].Id) are read-only: they identify what was read and are not accepted as line Ids on a write."
|
|
1602
1663
|
},
|
|
1603
1664
|
{
|
|
1604
1665
|
"qbo": "TxnTaxDetail",
|
|
1605
1666
|
"support": "partial",
|
|
1606
|
-
"note": "TxnTaxCodeRef on write selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read: TotalTax, TxnTaxCodeRef (from ItemSalesTaxRef), and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}] from SalesTaxTotal/ItemSalesTaxRef/SalesTaxPercentage. NetAmountTaxable is
|
|
1667
|
+
"note": "TxnTaxCodeRef on write selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read: TotalTax, TxnTaxCodeRef (from ItemSalesTaxRef), and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}] from SalesTaxTotal/ItemSalesTaxRef/SalesTaxPercentage. NetAmountTaxable is derived, not read: the sum of the Tax-coded line Amounts (discount lines are not subtracted, verified live), returned only when it reproduces Desktop's SalesTaxTotal to the cent and omitted otherwise (custom tax codes, or a discount whose taxability is unknown). Updatable via sparse update (#55)."
|
|
1607
1668
|
},
|
|
1608
1669
|
{
|
|
1609
1670
|
"qbo": "LinkedTxn",
|
|
@@ -1628,12 +1689,17 @@ var CATALOG = {
|
|
|
1628
1689
|
{
|
|
1629
1690
|
"qbo": "CurrencyRef",
|
|
1630
1691
|
"support": "partial",
|
|
1631
|
-
"note": "
|
|
1692
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the customer, so CurrencyRef is checked and then dropped: one that differs from the customer's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
1632
1693
|
},
|
|
1633
1694
|
{
|
|
1634
1695
|
"qbo": "ExchangeRate",
|
|
1635
1696
|
"support": "partial",
|
|
1636
|
-
"note": "
|
|
1697
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create and on update (changing only the rate). On a sparse update it is sent only when you change it."
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"qbo": "HomeBalance",
|
|
1701
|
+
"support": "partial",
|
|
1702
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop BalanceRemainingInHomeCurrency. Accepted and ignored on write."
|
|
1637
1703
|
},
|
|
1638
1704
|
{
|
|
1639
1705
|
"qbo": "operation=void",
|
|
@@ -1643,12 +1709,12 @@ var CATALOG = {
|
|
|
1643
1709
|
],
|
|
1644
1710
|
"unsupported": [
|
|
1645
1711
|
{
|
|
1646
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
1712
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
1647
1713
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
1648
|
-
"note": "Desktop discounts are items and
|
|
1714
|
+
"note": "Desktop discounts are items. Send DiscountAccountRef and the gateway uses the one active discount item that posts to that account; with no account, no match or several matches the call is refused and nothing is guessed, because a wrong item would post the discount to the wrong account. Create a discount item through the Item API (DesktopItemType Discount) or in QuickBooks (Lists > Item List > New > Discount) and pass it as DiscountLineDetail.ItemRef by value (ListID) or name (full name). See COMPATIBILITY.md."
|
|
1649
1715
|
},
|
|
1650
1716
|
{
|
|
1651
|
-
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly
|
|
1717
|
+
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
1652
1718
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1653
1719
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
1654
1720
|
}
|
|
@@ -1680,7 +1746,57 @@ var CATALOG = {
|
|
|
1680
1746
|
{
|
|
1681
1747
|
"qbo": "Type",
|
|
1682
1748
|
"support": "partial",
|
|
1683
|
-
"note": "Service, NonInventory, Inventory read and write
|
|
1749
|
+
"note": "Service, NonInventory, Inventory and Group read and write. Every Desktop item type reads, in get-by-id and in query results, with the nearest QBO Type and a read-only DesktopItemType: inventory assemblies read as Inventory, fixed assets as NonInventory, and other-charge, discount, subtotal, payment, sales tax and sales tax group items as Service. Type cannot change after creation. Category has no Desktop equivalent."
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"qbo": "DesktopItemType",
|
|
1753
|
+
"support": "partial",
|
|
1754
|
+
"note": "TenkeyBridge extension (QBO has no such field). Read on every item: Service, NonInventory, Inventory, InventoryAssembly, FixedAsset, OtherCharge, Discount, Subtotal, Payment, SalesTax, SalesTaxGroup or Group. It is also the write selector for the families QBO has no Type for: Discount, OtherCharge, Subtotal, Payment and InventoryAssembly (send it with the matching Type: Service for the first four, Inventory for InventoryAssembly). A value that disagrees with Type, or one that tries to change on update, is a 400 with code 2010. SalesTax and SalesTaxGroup items cannot be written through the Item API (write a sales tax item through POST /taxrate and a sales tax group through POST /taxservice/taxcode); FixedAsset create is not supported."
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"qbo": "ItemGroupDetail",
|
|
1758
|
+
"support": "full",
|
|
1759
|
+
"note": "Group items, in QBO's bundle shape: ItemGroupDetail.ItemGroupLine[{ItemRef, Qty}]. A TenkeyBridge write extension, since QBO itself cannot create bundles. A line with Qty omitted is sent with Qty 1. A create needs at least one line. On update, sending ItemGroupDetail replaces the whole component list (post back every line you want to keep); a sparse update that does not carry it, such as a rename, leaves the components alone; an explicitly empty ItemGroupLine array empties the group."
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"qbo": "PrintGroupedItems",
|
|
1763
|
+
"support": "full",
|
|
1764
|
+
"note": "TenkeyBridge extension. Group items only: whether the component lines print on a transaction (Desktop IsPrintItemsInGroup)."
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"qbo": "ItemAssemblyDetail",
|
|
1768
|
+
"support": "full",
|
|
1769
|
+
"note": "TenkeyBridge extension (inventory assemblies are a Desktop concept): ItemAssemblyDetail.ItemAssemblyLine[{ItemRef, Qty}], with the same rules as ItemGroupDetail (Qty omitted means 1). Create with Type Inventory and DesktopItemType InventoryAssembly plus the Inventory fields (IncomeAccountRef, ExpenseAccountRef, AssetAccountRef)."
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"qbo": "DiscountPercent",
|
|
1773
|
+
"support": "full",
|
|
1774
|
+
"note": "TenkeyBridge extension. Discount items: a percentage discount (for example 10 for ten percent). Send it or UnitPrice (a flat amount), not both. A discount item needs IncomeAccountRef on create."
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"qbo": "DepositToAccountRef",
|
|
1778
|
+
"support": "full",
|
|
1779
|
+
"note": "TenkeyBridge extension. Payment items: the account the payment is deposited to. On update an omitted value keeps the stored account; null resets it to Undeposited Funds."
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"qbo": "PaymentMethodRef",
|
|
1783
|
+
"support": "full",
|
|
1784
|
+
"note": "TenkeyBridge extension. Payment items: the payment method."
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"qbo": "TaxRate",
|
|
1788
|
+
"support": "partial",
|
|
1789
|
+
"note": "TenkeyBridge extension. Read only, on SalesTax items: the rate as a percentage. Write sales tax items through the TaxRate endpoint (POST /taxrate) and sales tax groups through POST /taxservice/taxcode."
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"qbo": "AgencyRef",
|
|
1793
|
+
"support": "partial",
|
|
1794
|
+
"note": "TenkeyBridge extension. Read only, on SalesTax items: the tax agency vendor."
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"qbo": "TaxRateRefs",
|
|
1798
|
+
"support": "partial",
|
|
1799
|
+
"note": "TenkeyBridge extension. Read only, on SalesTaxGroup items: the member tax items."
|
|
1684
1800
|
},
|
|
1685
1801
|
{
|
|
1686
1802
|
"qbo": "Description",
|
|
@@ -1690,7 +1806,7 @@ var CATALOG = {
|
|
|
1690
1806
|
{
|
|
1691
1807
|
"qbo": "UnitPrice",
|
|
1692
1808
|
"support": "full",
|
|
1693
|
-
"note": "Desktop sales price. Sent with up to five decimals. On a Desktop discount item a flat rate reads as UnitPrice
|
|
1809
|
+
"note": "Desktop sales price. Sent with up to five decimals. On a Desktop discount item a flat rate reads as UnitPrice and a percentage discount reads as DiscountPercent; both can be written on a discount item. On other-charge items it is the flat amount."
|
|
1694
1810
|
},
|
|
1695
1811
|
{
|
|
1696
1812
|
"qbo": "Sku",
|
|
@@ -1705,7 +1821,7 @@ var CATALOG = {
|
|
|
1705
1821
|
{
|
|
1706
1822
|
"qbo": "QtyOnHand",
|
|
1707
1823
|
"support": "partial",
|
|
1708
|
-
"note": "Read for Inventory. Settable on create only (with InvStartDate); Desktop changes stock through inventory adjustments and transactions, so a different value on update is refused. Echoing the current value is accepted."
|
|
1824
|
+
"note": "Read for Inventory. Settable on create only (with InvStartDate); Desktop changes stock through inventory adjustments and transactions, so a different value on update is refused. Echoing the current value is accepted. QuantityOnHand on an Inventory or assembly create posts an opening-balance inventory adjustment in QuickBooks (dated the create day, Opening Balance Equity), and the item cannot be deleted until that adjustment is deleted. The sandbox does not emulate that adjustment."
|
|
1709
1825
|
},
|
|
1710
1826
|
{
|
|
1711
1827
|
"qbo": "InvStartDate",
|
|
@@ -1775,19 +1891,20 @@ var CATALOG = {
|
|
|
1775
1891
|
],
|
|
1776
1892
|
"unsupported": [
|
|
1777
1893
|
{
|
|
1778
|
-
"case": "
|
|
1894
|
+
"case": "Writing SalesTax or SalesTaxGroup items",
|
|
1779
1895
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1780
|
-
"note": "
|
|
1896
|
+
"note": "These read through the Item API (with TaxRate, AgencyRef and TaxRateRefs) but cannot be written through the Item API.",
|
|
1897
|
+
"workaround": "Write a sales tax item through the TaxRate endpoint (POST /taxrate) and a sales tax group through POST /taxservice/taxcode."
|
|
1781
1898
|
},
|
|
1782
1899
|
{
|
|
1783
|
-
"case": "Creating or updating
|
|
1900
|
+
"case": "Creating or updating FixedAsset items",
|
|
1784
1901
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1785
|
-
"note": "
|
|
1902
|
+
"note": "Fixed assets read as Type NonInventory with DesktopItemType FixedAsset. Writing them is not supported."
|
|
1786
1903
|
},
|
|
1787
1904
|
{
|
|
1788
|
-
"case": "
|
|
1905
|
+
"case": "Category items, and turning a sales-only item into a two-sided one",
|
|
1789
1906
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1790
|
-
"note": "Desktop rejects the SalesOrPurchase to SalesAndPurchase conversion (error 3170)
|
|
1907
|
+
"note": "Category has no Desktop equivalent. Desktop also rejects the SalesOrPurchase to SalesAndPurchase conversion (error 3170): include PurchaseDesc, PurchaseCost, ExpenseAccountRef or PrefVendorRef when a Service or NonInventory item is created."
|
|
1791
1908
|
},
|
|
1792
1909
|
{
|
|
1793
1910
|
"case": "Changing QtyOnHand after creation",
|
|
@@ -1862,7 +1979,7 @@ var CATALOG = {
|
|
|
1862
1979
|
{
|
|
1863
1980
|
"qbo": "Line",
|
|
1864
1981
|
"support": "partial",
|
|
1865
|
-
"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. Updates carrying Line send the full table as JournalLineMod (TxnLineID + JournalLineType Debit/Credit): a line with the Id a read returned keeps that Desktop line (and may flip Debit/Credit), a line without an Id is added, and any existing line omitted from the array is deleted
|
|
1982
|
+
"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. Updates carrying Line send the full table as JournalLineMod (TxnLineID + JournalLineType Debit/Credit): a line with the Id a read returned keeps that Desktop line (and may flip Debit/Credit), a line without an Id is added, and any existing line omitted from the array is deleted, so send the whole array. Fields you omit from a line that carries an Id (account, memo, entity, class) are filled from the current record. Balance is checked over the merged table before anything is sent. An Id that is not a line of the entry is a 400; an Id listed twice is 2010; an empty Line array is refused. Verified live on QuickBooks Enterprise 24 (2026-09-30): Debit/Credit flips and deletion of unlisted lines work. Desktop rejects a Mod whose existing lines are not in stored (ascending TxnLineID) order with 3290, and a read lists debit lines before credit lines, so the gateway sends existing lines in TxnLineID order whatever order you post them in. JournalEntryLineDetail.Entity: Type is filled by a name lookup (Customer, Vendor or Employee; other names have no Type). Desktop's line-level EntityRef carries no entity-kind flag, so the gateway asks QuickBooks which list owns the name (one extra round trip, cached per company for 15 minutes); if the lookup fails the line comes back with EntityRef only. A Type you send on write is accepted and not stored, and the answer to a create or update carries no Type on its lines (a read does)."
|
|
1866
1983
|
},
|
|
1867
1984
|
{
|
|
1868
1985
|
"qbo": "TotalAmt",
|
|
@@ -1871,15 +1988,18 @@ var CATALOG = {
|
|
|
1871
1988
|
},
|
|
1872
1989
|
{
|
|
1873
1990
|
"qbo": "CurrencyRef",
|
|
1874
|
-
"support": "
|
|
1875
|
-
"note": "
|
|
1876
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1991
|
+
"support": "partial",
|
|
1992
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Written on create and stored by Desktop. The currency must be active (400 otherwise; activate it with CompanyCurrency). Desktop refuses a foreign currency on an entry whose lines use only home-currency accounts, and a currency that differs from a foreign account on a line (400, code 2500). On a file with multicurrency off only USD is accepted (and dropped). Changing CurrencyRef on update is not proven live."
|
|
1877
1993
|
},
|
|
1878
1994
|
{
|
|
1879
1995
|
"qbo": "ExchangeRate",
|
|
1880
|
-
"support": "
|
|
1881
|
-
"note": "
|
|
1882
|
-
|
|
1996
|
+
"support": "partial",
|
|
1997
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create and on a sparse update that changes only the rate. It is sent on update only when you change it."
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"qbo": "operation=void",
|
|
2001
|
+
"support": "partial",
|
|
2002
|
+
"note": "TenkeyBridge extension: QBO cannot void a JournalEntry; QuickBooks Desktop can. POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType JournalEntry), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QuickBooks Enterprise 24 (2026-10-15). The re-read shows every line Amount at 0.00 with the lines kept, and `VOID:` before the memo of the first line only (the entry's own PrivateNote is unchanged). Desktop returns both lines on the debit side after a void, so a voided journal entry does not keep its per-line debit and credit sides. A void does not reliably advance the SyncToken, so re-read the record instead of relying on it; voiding again is accepted. The response is whatever Desktop returns on the re-read (nothing is fabricated)."
|
|
1883
2003
|
}
|
|
1884
2004
|
],
|
|
1885
2005
|
"unsupported": [
|
|
@@ -1950,17 +2070,22 @@ var CATALOG = {
|
|
|
1950
2070
|
{
|
|
1951
2071
|
"qbo": "CustomField",
|
|
1952
2072
|
"support": "partial",
|
|
1953
|
-
"note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only
|
|
2073
|
+
"note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only because QuickBooks does not allow a public custom field on a received payment (the definition is refused with status 3351, verified live 2026-10-15). Accepted and ignored on write."
|
|
1954
2074
|
},
|
|
1955
2075
|
{
|
|
1956
2076
|
"qbo": "CurrencyRef",
|
|
1957
2077
|
"support": "partial",
|
|
1958
|
-
"note": "
|
|
2078
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the customer, so CurrencyRef is checked and then dropped: one that differs from the customer's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
1959
2079
|
},
|
|
1960
2080
|
{
|
|
1961
2081
|
"qbo": "ExchangeRate",
|
|
1962
2082
|
"support": "partial",
|
|
1963
|
-
"note": "
|
|
2083
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"qbo": "HomeTotalAmt",
|
|
2087
|
+
"support": "partial",
|
|
2088
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
1964
2089
|
},
|
|
1965
2090
|
{
|
|
1966
2091
|
"qbo": "ProcessPayment",
|
|
@@ -2029,12 +2154,12 @@ var CATALOG = {
|
|
|
2029
2154
|
{
|
|
2030
2155
|
"qbo": "AccountingInfoPrefs",
|
|
2031
2156
|
"support": "partial",
|
|
2032
|
-
"note": "ClassTrackingPerTxn/ClassTrackingPerTxnLine \u2190 IsUsingClassTracking (same bool projected to both); TrackDepartments is false, or true when the company file has Departments from classes turned on (Department is then an alias of Class)."
|
|
2157
|
+
"note": "ClassTrackingPerTxn/ClassTrackingPerTxnLine \u2190 IsUsingClassTracking (same bool projected to both); TrackDepartments is false, or true when the company file has Departments from classes turned on (Department is then an alias of Class). UseAccountNumbers \u2190 IsUsingAccountNumbers; BookCloseDate \u2190 AccountingPreferences.ClosingDate when the file has one; FirstMonthOfFiscalYear \u2190 company FirstMonthFiscalYear and TaxYearMonth \u2190 FirstMonthIncomeTaxYear (read from a companion company query; omitted if that query fails)."
|
|
2033
2158
|
},
|
|
2034
2159
|
{
|
|
2035
2160
|
"qbo": "CurrencyPrefs",
|
|
2036
2161
|
"support": "partial",
|
|
2037
|
-
"note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef."
|
|
2162
|
+
"note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef, answered as the ISO code (USD) on multicurrency files; absent when multicurrency is off."
|
|
2038
2163
|
},
|
|
2039
2164
|
{
|
|
2040
2165
|
"qbo": "TimeTrackingPrefs",
|
|
@@ -2049,7 +2174,7 @@ var CATALOG = {
|
|
|
2049
2174
|
{
|
|
2050
2175
|
"qbo": "SalesFormsPrefs",
|
|
2051
2176
|
"support": "partial",
|
|
2052
|
-
"note": "DefaultShipMethodRef; AllowEstimates/UsingProgressInvoicing from JobsAndEstimatesPreferences. DefaultTerms never populated
|
|
2177
|
+
"note": "UsingPriceLevels \u2190 PriceLevels.IsUsingPriceLevels; DefaultShipMethodRef; AllowEstimates/UsingProgressInvoicing from JobsAndEstimatesPreferences. DefaultTerms never populated, because Desktop SalesAndCustomersPreferences carries no DefaultTermsRef (qbXML 13.0). IsAutoApplyingPayments has no honest QBO SalesFormsPrefs twin, and Desktop has no credits-specific auto-apply element, so AutoApplyCredit is omitted."
|
|
2053
2178
|
},
|
|
2054
2179
|
{
|
|
2055
2180
|
"qbo": "VendorAndPurchasesPrefs",
|
|
@@ -2063,9 +2188,8 @@ var CATALOG = {
|
|
|
2063
2188
|
},
|
|
2064
2189
|
{
|
|
2065
2190
|
"qbo": "ProductAndServicesPrefs",
|
|
2066
|
-
"support": "
|
|
2067
|
-
"note": "
|
|
2068
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2191
|
+
"support": "partial",
|
|
2192
|
+
"note": "QuantityOnHand \u2190 IsUsingInventory only; nothing else has a Desktop twin."
|
|
2069
2193
|
},
|
|
2070
2194
|
{
|
|
2071
2195
|
"qbo": "EmailMessagesPrefs",
|
|
@@ -2104,12 +2228,12 @@ var CATALOG = {
|
|
|
2104
2228
|
{
|
|
2105
2229
|
"qbo": "PaymentType",
|
|
2106
2230
|
"support": "partial",
|
|
2107
|
-
"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)."
|
|
2231
|
+
"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). On update PaymentType is immutable across Desktop's families: a Check (or Cash) purchase cannot become a CreditCard one, or the reverse, and a charge cannot become a credit; the update is refused (2010). Delete it and create a new Purchase."
|
|
2108
2232
|
},
|
|
2109
2233
|
{
|
|
2110
2234
|
"qbo": "Credit",
|
|
2111
2235
|
"support": "full",
|
|
2112
|
-
"note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*."
|
|
2236
|
+
"note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*. Immutable on update (changing it is refused, 2010)."
|
|
2113
2237
|
},
|
|
2114
2238
|
{
|
|
2115
2239
|
"qbo": "AccountRef",
|
|
@@ -2142,7 +2266,7 @@ var CATALOG = {
|
|
|
2142
2266
|
{
|
|
2143
2267
|
"qbo": "Line",
|
|
2144
2268
|
"support": "full",
|
|
2145
|
-
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery.
|
|
2269
|
+
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery. Update: Line is the WHOLE table, as in QBO. A line sent with its Id (the Line.Id a read returned) keeps that line, a line with no Id is added, and a line you leave out is deleted. Omit Line to leave every line alone (a header-only update such as PrivateNote never touches lines); an empty array is refused (2020), and a repeated or unknown Id is refused (2010). A line cannot change type: sending an expense line's Id with an item detail (or the reverse) is 2010, so omit the Id to replace it. On an item line that sends Amount without Qty or UnitPrice, Desktop keeps the stored quantity and re-derives the unit cost, so the Amount you send is the Amount you read back (verified live, 2026-10-14). Item group lines read as their component item lines, in the group's place and in Desktop's order, each carrying the TenkeyBridge extension fields GroupLineId (the group's Id) and GroupItemRef. The Id on each of those component lines is read-only: it identifies what was read and is not accepted as a line Id on a write. A transaction that has item group lines refuses a Line update with UNSUPPORTED_BY_DESKTOP, because a table update would delete them; header-only updates still work. Applies to Check, CreditCardCharge and CreditCardCredit alike."
|
|
2146
2270
|
},
|
|
2147
2271
|
{
|
|
2148
2272
|
"qbo": "TotalAmt",
|
|
@@ -2151,15 +2275,23 @@ var CATALOG = {
|
|
|
2151
2275
|
},
|
|
2152
2276
|
{
|
|
2153
2277
|
"qbo": "CurrencyRef",
|
|
2154
|
-
"support": "
|
|
2155
|
-
"note": "
|
|
2156
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2278
|
+
"support": "partial",
|
|
2279
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the payee, then from the account when there is no payee, so CurrencyRef is checked and then dropped: one that differs is a 400 (code 2010). A payee and an account in different currencies are refused, except that a home-currency account may pay a payee in another currency. On a file with multicurrency off only USD is accepted (and dropped)."
|
|
2157
2280
|
},
|
|
2158
2281
|
{
|
|
2159
2282
|
"qbo": "ExchangeRate",
|
|
2160
|
-
"support": "
|
|
2161
|
-
"note": "
|
|
2162
|
-
|
|
2283
|
+
"support": "partial",
|
|
2284
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"qbo": "HomeTotalAmt",
|
|
2288
|
+
"support": "partial",
|
|
2289
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop AmountInHomeCurrency. Accepted and ignored on write."
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"qbo": "query paging",
|
|
2293
|
+
"support": "full",
|
|
2294
|
+
"note": "STARTPOSITION and MAXRESULTS page across all three Desktop families as one list: Check, then CreditCardCharge, then CreditCardCredit, each in Desktop order, with refund checks left out of the count. A deep page costs two QuickBooks messages (the ids of every row the query selects, then the page by id) and faults with UNSUPPORTED_QUERY past 5000 rows in one family; narrow with a TxnDate or MetaData.LastUpdatedTime range."
|
|
2163
2295
|
},
|
|
2164
2296
|
{
|
|
2165
2297
|
"qbo": "operation=void",
|
|
@@ -2168,15 +2300,15 @@ var CATALOG = {
|
|
|
2168
2300
|
}
|
|
2169
2301
|
],
|
|
2170
2302
|
"unsupported": [
|
|
2303
|
+
{
|
|
2304
|
+
"case": "A check applied to a credit memo (a refund check)",
|
|
2305
|
+
"error": "NOT_FOUND",
|
|
2306
|
+
"note": "A Desktop check applied to a credit memo is a QBO RefundReceipt, never a Purchase, so Purchase reads, deletes and updates skip it (GET by id is 610 Object Not Found). Use RefundReceipt."
|
|
2307
|
+
},
|
|
2171
2308
|
{
|
|
2172
2309
|
"case": "PaymentType outside Check/Cash/CreditCard",
|
|
2173
2310
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2174
2311
|
"note": "Only Check, Cash (\u2192Check), and CreditCard map to Desktop purchase families."
|
|
2175
|
-
},
|
|
2176
|
-
{
|
|
2177
|
-
"case": "List query STARTPOSITION > 1 across multi-type families",
|
|
2178
|
-
"error": "UNSUPPORTED_QUERY",
|
|
2179
|
-
"note": "Deep iterator pagination uses the primary Check family only; page-1 and filtered queries merge Check + CreditCardCharge + CreditCardCredit (per-type order concatenated)."
|
|
2180
2312
|
}
|
|
2181
2313
|
]
|
|
2182
2314
|
},
|
|
@@ -2254,7 +2386,7 @@ var CATALOG = {
|
|
|
2254
2386
|
{
|
|
2255
2387
|
"qbo": "POStatus",
|
|
2256
2388
|
"support": "partial",
|
|
2257
|
-
"note": "Open/Closed map to Desktop IsManuallyClosed, a Mod-only element
|
|
2389
|
+
"note": "Open/Closed map to Desktop IsManuallyClosed, a Mod-only element: PurchaseOrderAdd has no IsManuallyClosed at all. Create with POStatus Open (or omitted) is one Add. Create with POStatus Closed is two QuickBooks requests, a PurchaseOrderAdd then a PurchaseOrderMod that closes it, and answers with the closed purchase order. If the close fails after the add, the purchase order exists and is open: the answer is 502 PO_CLOSE_FAILED naming its Id (and a requestid replay answers 502 REQUEST_OUTCOME_UNKNOWN naming the same Id, without re-sending), so do not retry the create; send an update with POStatus Closed. A sparse update with POStatus Closed sends IsManuallyClosed true (closing the whole PO); POStatus Open sends false (reopens). Any other value is a 400 (2010). An update without POStatus never re-sends the status. Verified live on QuickBooks Enterprise 24 (2026-09-30 and 2026-10-15): closing and reopening both work, and a Mod carrying the Add's own TxnID and EditSequence closes the new PO."
|
|
2258
2390
|
},
|
|
2259
2391
|
{
|
|
2260
2392
|
"qbo": "APAccountRef",
|
|
@@ -2264,15 +2396,18 @@ var CATALOG = {
|
|
|
2264
2396
|
},
|
|
2265
2397
|
{
|
|
2266
2398
|
"qbo": "CurrencyRef",
|
|
2267
|
-
"support": "
|
|
2268
|
-
"note": "
|
|
2269
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2399
|
+
"support": "partial",
|
|
2400
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the vendor, so CurrencyRef is checked and then dropped: one that differs from the vendor's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
2270
2401
|
},
|
|
2271
2402
|
{
|
|
2272
2403
|
"qbo": "ExchangeRate",
|
|
2273
|
-
"support": "
|
|
2274
|
-
"note": "
|
|
2275
|
-
|
|
2404
|
+
"support": "partial",
|
|
2405
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"qbo": "HomeTotalAmt",
|
|
2409
|
+
"support": "partial",
|
|
2410
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2276
2411
|
}
|
|
2277
2412
|
],
|
|
2278
2413
|
"unsupported": [
|
|
@@ -2280,11 +2415,6 @@ var CATALOG = {
|
|
|
2280
2415
|
"case": "AccountBasedExpenseLineDetail on a PurchaseOrder line",
|
|
2281
2416
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2282
2417
|
"note": "Desktop PO lines are item-only. Use ItemBasedExpenseLineDetail, or post a Bill/Purchase for account expenses."
|
|
2283
|
-
},
|
|
2284
|
-
{
|
|
2285
|
-
"case": "POStatus Closed on create",
|
|
2286
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2287
|
-
"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."
|
|
2288
2418
|
}
|
|
2289
2419
|
]
|
|
2290
2420
|
},
|
|
@@ -2331,7 +2461,7 @@ var CATALOG = {
|
|
|
2331
2461
|
"group": "sales",
|
|
2332
2462
|
"read": "partial",
|
|
2333
2463
|
"write": "partial",
|
|
2334
|
-
"headline": "
|
|
2464
|
+
"headline": "Refunds of applied credits by card (ARRefundCreditCard) or by check (a Check applied to the credit memo); not general item-line refunds",
|
|
2335
2465
|
"fields": [
|
|
2336
2466
|
{
|
|
2337
2467
|
"qbo": "CustomerRef",
|
|
@@ -2345,11 +2475,27 @@ var CATALOG = {
|
|
|
2345
2475
|
{
|
|
2346
2476
|
"qbo": "PaymentMethodRef",
|
|
2347
2477
|
"support": "full",
|
|
2348
|
-
"note": "
|
|
2478
|
+
"note": "Card refunds: must be a credit-card payment method in the company file. Check refunds: not applicable, a 2010 fault if sent."
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"qbo": "RefundMethod",
|
|
2482
|
+
"support": "full",
|
|
2483
|
+
"note": "TenkeyBridge extension (QBO has no such field). Check or CreditCard, default CreditCard so existing callers are unchanged. Check writes a Desktop Check applied to the credit memo (DepositToAccountRef is the bank account the check is drawn on, CustomerRef the payee); any other value is 2010. Reads return RefundMethod Check on refund checks and RefundMethod CreditCard on card refunds. A refund check is a RefundReceipt only: it is excluded from Purchase reads. Change data capture: deleted RefundReceipts are found by asking Desktop for deleted Checks as well as deleted card refunds, and a deleted record carries no link to a credit memo, so every deleted ordinary check is also reported as a deleted RefundReceipt. Treat a RefundReceipt deletion as a hint and confirm with a read."
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
"qbo": "ARAccountRef",
|
|
2487
|
+
"support": "full",
|
|
2488
|
+
"note": "TenkeyBridge extension for check refunds: the Accounts Receivable account Desktop needs on the check's expense line (a check without it is refused). Optional over REST: when omitted the gateway uses the credit memo's own A/R account, else the company's A/R account."
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"qbo": "PrintStatus",
|
|
2492
|
+
"support": "partial",
|
|
2493
|
+
"note": "Check refunds only. TenkeyBridge sends the check as not to be printed (Desktop would otherwise drop DocNumber); send NeedToPrint to queue it for printing, in which case Desktop ignores DocNumber."
|
|
2349
2494
|
},
|
|
2350
2495
|
{
|
|
2351
2496
|
"qbo": "TxnDate",
|
|
2352
|
-
"support": "full"
|
|
2497
|
+
"support": "full",
|
|
2498
|
+
"note": "Queries scan Desktop's checks to find refund checks, so an unfiltered query on a file with 1000 or more checks faults rather than return a partial answer. Narrow by TxnDate."
|
|
2353
2499
|
},
|
|
2354
2500
|
{
|
|
2355
2501
|
"qbo": "DocNumber",
|
|
@@ -2363,7 +2509,7 @@ var CATALOG = {
|
|
|
2363
2509
|
{
|
|
2364
2510
|
"qbo": "Line",
|
|
2365
2511
|
"support": "partial",
|
|
2366
|
-
"note": "LinkedTxn credit-memo applications \u2192 RefundAppliedToTxnAdd only. At least one Line is required on create
|
|
2512
|
+
"note": `Check refunds take exactly one Line (Desktop applies one credit memo per check; more is 2010) with Amount and LinkedTxn, and a refund larger than the credit memo's remaining credit is refused by Desktop with a 400 (3210 "The amount you entered is greater than the amount of the credit." for a partial over-refund, and 3210 with its own text when the memo is already fully refunded). Deleting the check restores the credit. Card refunds: LinkedTxn credit-memo applications \u2192 RefundAppliedToTxnAdd only. At least one Line is required on create, because 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; use CreditMemo + payment/refund pair instead (see CreditMemo).`
|
|
2367
2513
|
},
|
|
2368
2514
|
{
|
|
2369
2515
|
"qbo": "TotalAmt",
|
|
@@ -2372,27 +2518,30 @@ var CATALOG = {
|
|
|
2372
2518
|
},
|
|
2373
2519
|
{
|
|
2374
2520
|
"qbo": "CurrencyRef",
|
|
2375
|
-
"support": "
|
|
2376
|
-
"note": "
|
|
2377
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2521
|
+
"support": "partial",
|
|
2522
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the customer, so CurrencyRef is checked and then dropped: one that differs from the customer's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP. Not stored by Desktop for a check refund."
|
|
2378
2523
|
},
|
|
2379
2524
|
{
|
|
2380
2525
|
"qbo": "ExchangeRate",
|
|
2381
|
-
"support": "
|
|
2382
|
-
"note": "
|
|
2383
|
-
|
|
2526
|
+
"support": "partial",
|
|
2527
|
+
"note": "Read on multicurrency files only. Accepted and ignored on write."
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"qbo": "HomeTotalAmt",
|
|
2531
|
+
"support": "partial",
|
|
2532
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from the check refund AmountInHomeCurrency. Accepted and ignored on write."
|
|
2384
2533
|
}
|
|
2385
2534
|
],
|
|
2386
2535
|
"unsupported": [
|
|
2387
2536
|
{
|
|
2388
2537
|
"case": "Item-line RefundReceipt (SalesItemLineDetail etc.)",
|
|
2389
2538
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2390
|
-
"note": "Desktop has no single transaction that is both the returned goods and the refund: its refund (ARRefundCreditCard) only pays back an existing credit, and a check refund is a separate Check applied to a credit memo. Two calls instead: (1) POST CreditMemo with the returned item lines; (2) POST RefundReceipt with DepositToAccountRef (the card/refund account) and Line[{Amount, LinkedTxn:[{TxnId: the CreditMemo Id, TxnType:CreditMemo}]}]. Refunds by check
|
|
2539
|
+
"note": "Desktop has no single transaction that is both the returned goods and the refund: its refund (ARRefundCreditCard) only pays back an existing credit, and a check refund is a separate Check applied to a credit memo. Two calls instead: (1) POST CreditMemo with the returned item lines; (2) POST RefundReceipt with DepositToAccountRef (the card/refund account) and Line[{Amount, LinkedTxn:[{TxnId: the CreditMemo Id, TxnType:CreditMemo}]}]. Refunds by check are supported with RefundMethod Check (a Check applied to the credit memo); cash refunds are recorded in QuickBooks (Customers > Refund)."
|
|
2391
2540
|
},
|
|
2392
2541
|
{
|
|
2393
2542
|
"case": "Update / sparse update",
|
|
2394
2543
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2395
|
-
"note": "ARRefundCreditCard has
|
|
2544
|
+
"note": "Neither refund family (ARRefundCreditCard or Check applied to a credit memo) has an update path in this release. Delete and create again."
|
|
2396
2545
|
}
|
|
2397
2546
|
]
|
|
2398
2547
|
},
|
|
@@ -2439,7 +2588,7 @@ var CATALOG = {
|
|
|
2439
2588
|
"group": "platform",
|
|
2440
2589
|
"read": "partial",
|
|
2441
2590
|
"write": "none",
|
|
2442
|
-
"headline": "
|
|
2591
|
+
"headline": "Forty-eight QBO-compatible reports served from QuickBooks Desktop: 24 translated live from Desktop's report engine (summary, detail, aging, balance, sales and sales-tax reports), 22 Desktop extension reports with no QBO twin, and two composites, AccountList (built from Desktop's account list) and CashFlow (built from several queries). CashFlow is derived, not translated: Desktop's SDK has no cash-flow report, so it is computed from Profit and Loss and two Trial Balances and checked against Desktop before it is returned.",
|
|
2443
2592
|
"usage": "GET /v3/company/{companyId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31&summarize_column_by=Month",
|
|
2444
2593
|
"fields": [
|
|
2445
2594
|
{
|
|
@@ -2482,6 +2631,16 @@ var CATALOG = {
|
|
|
2482
2631
|
"support": "partial",
|
|
2483
2632
|
"note": "GeneralDetailReportQueryRq Journal / TxnListByDate. ColKeys best-effort. Journal's per-transaction unlabeled subtotals become header-less Sections; TransactionList is a flat Data list. Desktop refuses ReportBasis on both, so accounting_method faults."
|
|
2484
2633
|
},
|
|
2634
|
+
{
|
|
2635
|
+
"qbo": "InventoryValuationDetail / TransactionListByCustomer / TransactionListByVendor",
|
|
2636
|
+
"support": "partial",
|
|
2637
|
+
"note": "GeneralDetailReportQueryRq InventoryValuationDetail / TxnListByCustomer / TxnListByVendor. ColKeys best-effort. Desktop refuses ReportBasis on all three (3151), so accounting_method faults. InventoryValuationDetail takes the item filter only."
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"qbo": "TaxSummary",
|
|
2641
|
+
"support": "partial",
|
|
2642
|
+
"note": "Desktop's Sales Tax Liability report (GeneralSummaryReportQueryRq SalesTaxLiability): taxable and non-taxable sales and tax collected. accounting_method is honored. Desktop refuses SummarizeColumnsBy here, so summarize_column_by takes Total only."
|
|
2643
|
+
},
|
|
2485
2644
|
{
|
|
2486
2645
|
"qbo": "CustomerBalanceDetail / VendorBalanceDetail",
|
|
2487
2646
|
"support": "partial",
|
|
@@ -2492,6 +2651,21 @@ var CATALOG = {
|
|
|
2492
2651
|
"support": "partial",
|
|
2493
2652
|
"note": "AgingReportQueryRq ARAgingDetail / APAgingDetail, as-of (report_date), with the receivable (customer) or payable (vendor) filter. ColKeys best-effort."
|
|
2494
2653
|
},
|
|
2654
|
+
{
|
|
2655
|
+
"qbo": "CashFlow",
|
|
2656
|
+
"support": "partial",
|
|
2657
|
+
"note": "Derived (TkbDerivedReport): Desktop's SDK has no cash-flow report, so TenkeyBridge builds the indirect-method statement from Desktop's Profit and Loss and two Trial Balances, classified by account type. Bank accounts plus Undeposited Funds count as cash, as in QBO. Fixed Asset accounts, including accumulated depreciation, are investing (Desktop's own default classification). Self-checking: if the derived net income differs from Desktop's by a cent, or a trial-balance row cannot be matched to an account, the call fails with REPORT_COMPOSE_FAILED (502) instead of answering. Five QuickBooks round trips. Sandbox realms serve it from captured sample inputs (SandboxStaticReport)."
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"qbo": "AccountList",
|
|
2661
|
+
"support": "partial",
|
|
2662
|
+
"note": "Built from Desktop's account list (AccountQueryRq). Desktop has no account detail type, so that column is absent."
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"qbo": "Desktop extension reports",
|
|
2666
|
+
"support": "full",
|
|
2667
|
+
"note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport. Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
|
|
2668
|
+
},
|
|
2495
2669
|
{
|
|
2496
2670
|
"qbo": "start_date / end_date / date_macro",
|
|
2497
2671
|
"support": "full",
|
|
@@ -2520,6 +2694,30 @@ var CATALOG = {
|
|
|
2520
2694
|
"note": "Comma-separated Ids \u2192 ReportEntityFilter (customer + vendor) / ReportItemFilter / ReportClassFilter. AR reports accept customer only, AP reports vendor only; InventoryValuationSummary accepts item only.",
|
|
2521
2695
|
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2522
2696
|
},
|
|
2697
|
+
{
|
|
2698
|
+
"qbo": "account / account_type",
|
|
2699
|
+
"support": "partial",
|
|
2700
|
+
"note": "account is comma-separated account Ids (ReportAccountFilter ListID); account_type is one QBO account type (Bank, AccountsReceivable, OtherCurrentAsset, FixedAsset, OtherAsset, AccountsPayable, CreditCard, OtherCurrentLiability, LongTermLiability, Equity, Income, CostOfGoodsSold, Expense, OtherIncome, OtherExpense) mapped to AccountTypeFilter. Sending both faults. Accepted on the summary reports (except InventoryValuationSummary) and on every detail report except AgedReceivableDetail / AgedPayableDetail. The aging reports refuse both: Desktop's aging account filter does not filter meaningfully.",
|
|
2701
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"qbo": "transaction_type",
|
|
2705
|
+
"support": "partial",
|
|
2706
|
+
"note": "Comma-separated QBO transaction types (Invoice, CreditMemo, SalesReceipt, Payment, Deposit, Transfer, Estimate, Bill, VendorCredit, BillPayment, BillPaymentCheck, BillPaymentCreditCard, Check, CreditCardCharge, CreditCardCredit, PurchaseOrder, JournalEntry, InventoryQuantityAdjustment) mapped to ReportTxnTypeFilter. BillPayment fans out to both check and credit-card bill payments. Types with no single Desktop twin (Expense, CashPurchase, RefundReceipt) fault. Accepted on summary, detail and aging reports (not InventoryValuationSummary).",
|
|
2707
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"qbo": "start_moddate / end_moddate",
|
|
2711
|
+
"support": "partial",
|
|
2712
|
+
"note": "ISO dates that filter on the transaction last-modified date (ReportModifiedDateRangeFilter). Both are required together, otherwise REPORT_INVALID_DATE. Detail reports only (not AgedReceivableDetail / AgedPayableDetail); summary and aging reports refuse them.",
|
|
2713
|
+
"error": "REPORT_INVALID_DATE"
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"qbo": "columns",
|
|
2717
|
+
"support": "partial",
|
|
2718
|
+
"note": "Comma-separated QBO ColKeys (tx_date, txn_type, doc_num, txn_num, name, cust_name, vend_name, memo, account_name, split_acc, klass_name, is_cleared, debt_amt, credit_amt, subt_nat_amount, rbal_nat_amount, subt_open_bal, due_date, past_due, po_num, term_name) mapped to IncludeColumn; aliases dedupe and an unknown key faults listing the accepted ones. Detail reports and AgedReceivableDetail / AgedPayableDetail only. When columns is sent, data rows carry the QuickBooks transaction id as id on the txn_type cell (GeneralLedger cost-posting rows have none). If txn_type is not among the requested columns, the id is on the first cell.",
|
|
2719
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2720
|
+
},
|
|
2523
2721
|
{
|
|
2524
2722
|
"qbo": "Column titles",
|
|
2525
2723
|
"support": "partial",
|
|
@@ -2528,14 +2726,9 @@ var CATALOG = {
|
|
|
2528
2726
|
],
|
|
2529
2727
|
"unsupported": [
|
|
2530
2728
|
{
|
|
2531
|
-
"case": "
|
|
2532
|
-
"error": "REPORT_UNKNOWN",
|
|
2533
|
-
"note": "QuickBooks Desktop's SDK has no cash-flow report (StatementOfCashFlows is refused with 3110 on every qbXML version)."
|
|
2534
|
-
},
|
|
2535
|
-
{
|
|
2536
|
-
"case": "columns / department / qzurl / adjusted_gain_loss",
|
|
2729
|
+
"case": "department / qzurl / adjusted_gain_loss",
|
|
2537
2730
|
"error": "REPORT_UNSUPPORTED_OPTION",
|
|
2538
|
-
"note": "
|
|
2731
|
+
"note": "Desktop has no departments (use class); QuickZoom URLs and multicurrency gain/loss adjustment are QBO-only."
|
|
2539
2732
|
},
|
|
2540
2733
|
{
|
|
2541
2734
|
"case": "aging_period / num_periods / aging_method",
|
|
@@ -2548,7 +2741,17 @@ var CATALOG = {
|
|
|
2548
2741
|
"note": "qbXML's SummarizeColumnsBy has no per-item, per-employee or per-location split (ItemType splits by item type, not by item)."
|
|
2549
2742
|
},
|
|
2550
2743
|
{
|
|
2551
|
-
"case": "
|
|
2744
|
+
"case": "ClassSales / DepartmentSales",
|
|
2745
|
+
"error": "REPORT_UNKNOWN",
|
|
2746
|
+
"note": "No Desktop SDK report. Use ProfitAndLoss?summarize_column_by=Classes."
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"case": "TransactionListWithSplits",
|
|
2750
|
+
"error": "REPORT_UNKNOWN",
|
|
2751
|
+
"note": "No Desktop SDK report of that name. Use JournalReport."
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
"case": "other QBO report names",
|
|
2552
2755
|
"error": "REPORT_UNKNOWN",
|
|
2553
2756
|
"note": "Not shipped. The fault lists the supported reports."
|
|
2554
2757
|
}
|
|
@@ -2618,12 +2821,12 @@ var CATALOG = {
|
|
|
2618
2821
|
{
|
|
2619
2822
|
"qbo": "Line",
|
|
2620
2823
|
"support": "partial",
|
|
2621
|
-
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
2824
|
+
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail names a Desktop discount item by DiscountLineDetail.ItemRef (value = ListID, or name = full name; PercentBased + DiscountPercent sends RatePercent, an amount discount sends Amount). With no ItemRef but a DiscountAccountRef, the gateway uses the one active discount item that posts to that account; none or several is MISSING_REQUIRED_DESKTOP_ITEM, and a discount item is never created for you. SubTotalLineDetail needs no ItemRef: the gateway uses the company's active subtotal item (the one named Subtotal if there are several, else the first), and only when there is none it creates an item named Subtotal (it has no account and posts nothing); a subtotal line is sent without Amount, Qty or Rate because Desktop computes the amount and refuses one. Other DetailTypes return UNSUPPORTED_BY_DESKTOP. Lines read back in Desktop's own order; a group line reads as GroupLineDetail with its component lines in GroupLineDetail.Line (each with its own Id) and the bundle total as Amount; a subtotal line reads as SubTotalLineDetail; Desktop discount lines read back as SalesItemLineDetail lines (never DiscountLineDetail) referencing the discount item, with a negative Amount (verified live). An unknown Line.Id returns 3120 (REST 610); a malformed one returns 3000. Updates carrying Line send the full line table, as QBO requires: a line with the Id a read returned keeps that Desktop line (Id = TxnLineID, stable across updates), a line without an Id (or Id 0 / empty) is added, and any existing line omitted from the array is deleted. Send the whole array on sparse updates too; an Id listed twice is rejected (2010). Fields you omit from a line that carries an Id are filled from the current record before the full line is sent (Desktop would otherwise blank them), and line ClassRef and ServiceDate are written (ServiceDate not on Estimate). Re-sending an existing group line returns 422 (UNSUPPORTED_BY_DESKTOP); omit it to delete it and add a new group line without an Id. The Ids on a group's component lines (GroupLineDetail.Line[].Id) are read-only: they identify what was read and are not accepted as line Ids on a write."
|
|
2622
2825
|
},
|
|
2623
2826
|
{
|
|
2624
2827
|
"qbo": "TxnTaxDetail",
|
|
2625
2828
|
"support": "partial",
|
|
2626
|
-
"note": "TxnTaxCodeRef on write selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read: TotalTax, TxnTaxCodeRef, and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}]. NetAmountTaxable
|
|
2829
|
+
"note": "TxnTaxCodeRef on write selects the tax item (Desktop ItemSalesTaxRef). TotalTax alone is accepted but not sent: QuickBooks then applies the customer's default sales tax item (or the company default) and computes the tax itself, so the tax on read can differ from the TotalTax you sent. When it differs, create/update responses carry a non-fatal X-TKB-Warning header (not emitted for /batch items). On read: TotalTax, TxnTaxCodeRef, and TaxLine[{Amount, TaxLineDetail{TaxRateRef, TaxPercent}}]. NetAmountTaxable is derived, not read: the sum of the Tax-coded line Amounts (discount lines are not subtracted, verified live), returned only when it reproduces Desktop's SalesTaxTotal to the cent and omitted otherwise (custom tax codes, or a discount whose taxability is unknown). Updatable via sparse update (#55)."
|
|
2627
2830
|
},
|
|
2628
2831
|
{
|
|
2629
2832
|
"qbo": "LinkedTxn",
|
|
@@ -2643,12 +2846,17 @@ var CATALOG = {
|
|
|
2643
2846
|
{
|
|
2644
2847
|
"qbo": "CurrencyRef",
|
|
2645
2848
|
"support": "partial",
|
|
2646
|
-
"note": "
|
|
2849
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the customer, so CurrencyRef is checked and then dropped: one that differs from the customer's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
2647
2850
|
},
|
|
2648
2851
|
{
|
|
2649
2852
|
"qbo": "ExchangeRate",
|
|
2650
2853
|
"support": "partial",
|
|
2651
|
-
"note": "
|
|
2854
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
"qbo": "HomeTotalAmt",
|
|
2858
|
+
"support": "partial",
|
|
2859
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2652
2860
|
},
|
|
2653
2861
|
{
|
|
2654
2862
|
"qbo": "operation=void",
|
|
@@ -2808,28 +3016,48 @@ var CATALOG = {
|
|
|
2808
3016
|
},
|
|
2809
3017
|
"TaxPayment": {
|
|
2810
3018
|
"entity": "TaxPayment",
|
|
2811
|
-
"verdict": "
|
|
2812
|
-
"group": "
|
|
2813
|
-
"read": "
|
|
3019
|
+
"verdict": "live",
|
|
3020
|
+
"group": "transactions",
|
|
3021
|
+
"read": "partial",
|
|
2814
3022
|
"write": "none",
|
|
2815
|
-
"headline": "Desktop
|
|
2816
|
-
"fields": [
|
|
2817
|
-
"unsupported": [
|
|
3023
|
+
"headline": "Read-only view of Desktop sales tax payment checks (SalesTaxPaymentCheck). QuickBooks Online offers TaxPayment only in AU, CA and UK; TenkeyBridge serves it for US Desktop sales tax payment checks.",
|
|
3024
|
+
"fields": [
|
|
2818
3025
|
{
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2821
|
-
"note": "
|
|
2822
|
-
"workaround": "Sales-tax payments made in Desktop are not visible through TenkeyBridge today. Pay-tax events that are recorded as ordinary checks appear under Purchase."
|
|
3026
|
+
"qbo": "PaymentDate",
|
|
3027
|
+
"support": "full",
|
|
3028
|
+
"note": "Desktop TxnDate. Emitted as PaymentDate, the key in Intuit's Read and Query samples; Intuit's attribute table names it TxnDate."
|
|
2823
3029
|
},
|
|
2824
3030
|
{
|
|
2825
|
-
"
|
|
3031
|
+
"qbo": "PaymentAmount",
|
|
3032
|
+
"support": "full",
|
|
3033
|
+
"note": "Desktop Amount."
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"qbo": "PaymentAccountRef",
|
|
3037
|
+
"support": "full",
|
|
3038
|
+
"note": "Desktop BankAccountRef."
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"qbo": "Description",
|
|
3042
|
+
"support": "full",
|
|
3043
|
+
"note": "Desktop Memo."
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"qbo": "Refund",
|
|
3047
|
+
"support": "full",
|
|
3048
|
+
"note": "Always false: a Desktop sales tax payment check is a payment, and a refund is recorded as a Deposit."
|
|
3049
|
+
}
|
|
3050
|
+
],
|
|
3051
|
+
"unsupported": [
|
|
3052
|
+
{
|
|
3053
|
+
"case": "Tax agency, check number and per-item amounts",
|
|
2826
3054
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2827
|
-
"note": "
|
|
3055
|
+
"note": "SalesTaxPaymentCheck carries a payee agency, RefNumber and per-item lines, but QBO's TaxPayment has no field for them, so they are not returned."
|
|
2828
3056
|
},
|
|
2829
3057
|
{
|
|
2830
3058
|
"case": "create",
|
|
2831
3059
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2832
|
-
"note": "QBO's TaxPayment is read-only via the API; TenkeyBridge matches that."
|
|
3060
|
+
"note": "QBO's TaxPayment is read-only via the API; TenkeyBridge matches that. Record the payment in QuickBooks Desktop."
|
|
2833
3061
|
},
|
|
2834
3062
|
{
|
|
2835
3063
|
"case": "update",
|
|
@@ -2848,80 +3076,104 @@ var CATALOG = {
|
|
|
2848
3076
|
"verdict": "live",
|
|
2849
3077
|
"group": "lists",
|
|
2850
3078
|
"read": "full",
|
|
2851
|
-
"write": "
|
|
2852
|
-
"headline": "Read
|
|
3079
|
+
"write": "partial",
|
|
3080
|
+
"headline": "Read like QBO; create and update are a TenkeyBridge extension over Desktop ItemSalesTaxAdd/Mod (QBO has no TaxRate write). Sales-tax groups are not projected as TaxRates.",
|
|
2853
3081
|
"fields": [
|
|
2854
3082
|
{
|
|
2855
3083
|
"qbo": "Name",
|
|
2856
|
-
"support": "full"
|
|
3084
|
+
"support": "full",
|
|
3085
|
+
"note": "Create and update. Max 31 characters, rejected up front with a 400 (2050). Required on create."
|
|
2857
3086
|
},
|
|
2858
3087
|
{
|
|
2859
3088
|
"qbo": "Active",
|
|
2860
|
-
"support": "full"
|
|
3089
|
+
"support": "full",
|
|
3090
|
+
"note": "Create and update (Desktop IsActive). Deactivate with a sparse update of Active false."
|
|
2861
3091
|
},
|
|
2862
3092
|
{
|
|
2863
3093
|
"qbo": "RateValue",
|
|
2864
3094
|
"support": "full",
|
|
2865
|
-
"note": "Desktop TaxRate percentage."
|
|
3095
|
+
"note": "Desktop TaxRate percentage, a number from 0 to 100 kept to full precision (8.875 stays 8.875). Required on create. Create and update."
|
|
2866
3096
|
},
|
|
2867
3097
|
{
|
|
2868
3098
|
"qbo": "Description",
|
|
2869
3099
|
"support": "full",
|
|
2870
|
-
"note": "Desktop ItemDesc."
|
|
3100
|
+
"note": "Desktop ItemDesc. Create and update."
|
|
2871
3101
|
},
|
|
2872
3102
|
{
|
|
2873
3103
|
"qbo": "AgencyRef",
|
|
2874
3104
|
"support": "full",
|
|
2875
|
-
"note": "Desktop TaxVendorRef
|
|
3105
|
+
"note": "Desktop TaxVendorRef, the tax agency Vendor. Required on create."
|
|
2876
3106
|
}
|
|
2877
3107
|
],
|
|
2878
3108
|
"unsupported": [
|
|
2879
3109
|
{
|
|
2880
|
-
"case": "Create or update",
|
|
3110
|
+
"case": "Create or update through a QBO client",
|
|
2881
3111
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2882
|
-
"note": "TaxRate
|
|
3112
|
+
"note": "QBO rejects a TaxRate write, so an app written for QBO never sends one. TenkeyBridge accepts it as an extension (POST /taxrate), mapped to ItemSalesTaxAdd and ItemSalesTaxMod. A sparse update sends only the fields you changed.",
|
|
3113
|
+
"workaround": "To create a rate together with the tax code that groups it, use POST /taxservice/taxcode."
|
|
2883
3114
|
},
|
|
2884
3115
|
{
|
|
2885
3116
|
"case": "ItemSalesTaxGroup as TaxRate",
|
|
2886
3117
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2887
|
-
"note": "Sales-tax groups are not projected as TaxRate rows. Group members are themselves ItemSalesTax list items and appear as individual TaxRates via ItemSalesTaxQuery."
|
|
3118
|
+
"note": "Sales-tax groups are not projected as TaxRate rows. Group members are themselves ItemSalesTax list items and appear as individual TaxRates via ItemSalesTaxQuery. A group is created through TaxService."
|
|
2888
3119
|
}
|
|
2889
3120
|
]
|
|
2890
3121
|
},
|
|
2891
3122
|
"TaxService": {
|
|
2892
3123
|
"entity": "TaxService",
|
|
2893
|
-
"verdict": "
|
|
2894
|
-
"group": "
|
|
3124
|
+
"verdict": "live",
|
|
3125
|
+
"group": "platform",
|
|
2895
3126
|
"read": "none",
|
|
2896
|
-
"write": "
|
|
2897
|
-
"headline": "
|
|
2898
|
-
"
|
|
2899
|
-
"
|
|
3127
|
+
"write": "partial",
|
|
3128
|
+
"headline": "POST /taxservice/taxcode creates tax rates and the tax code that groups them (Desktop ItemSalesTaxAdd then ItemSalesTaxGroupAdd). The TaxCodeId is a sales tax group, used on a sales form as TxnTaxDetail.TxnTaxCodeRef.",
|
|
3129
|
+
"usage": "POST /v3/company/{companyId}/taxservice/taxcode",
|
|
3130
|
+
"fields": [
|
|
2900
3131
|
{
|
|
2901
|
-
"
|
|
2902
|
-
"
|
|
2903
|
-
"note": "
|
|
2904
|
-
"workaround": "Create tax rates and codes through TaxRate/TaxCode instead of the AST TaxService flow."
|
|
3132
|
+
"qbo": "TaxCode",
|
|
3133
|
+
"support": "full",
|
|
3134
|
+
"note": "The tax code name, 1 to 31 characters. Becomes a Desktop sales tax group; a name already in use is refused by QuickBooks."
|
|
2905
3135
|
},
|
|
2906
3136
|
{
|
|
2907
|
-
"
|
|
2908
|
-
"
|
|
2909
|
-
"note": "
|
|
3137
|
+
"qbo": "TaxRateDetails.TaxRateName",
|
|
3138
|
+
"support": "full",
|
|
3139
|
+
"note": "Name of a new rate, 1 to 31 characters (a Desktop sales tax item)."
|
|
2910
3140
|
},
|
|
2911
3141
|
{
|
|
2912
|
-
"
|
|
2913
|
-
"
|
|
2914
|
-
"note": "
|
|
3142
|
+
"qbo": "TaxRateDetails.RateValue",
|
|
3143
|
+
"support": "full",
|
|
3144
|
+
"note": "Percentage from 0 to 100."
|
|
2915
3145
|
},
|
|
2916
3146
|
{
|
|
2917
|
-
"
|
|
2918
|
-
"
|
|
2919
|
-
"note": "
|
|
3147
|
+
"qbo": "TaxRateDetails.TaxAgencyId",
|
|
3148
|
+
"support": "full",
|
|
3149
|
+
"note": "The tax agency, a Desktop Vendor Id."
|
|
2920
3150
|
},
|
|
2921
3151
|
{
|
|
2922
|
-
"
|
|
3152
|
+
"qbo": "TaxRateDetails.TaxApplicableOn",
|
|
3153
|
+
"support": "partial",
|
|
3154
|
+
"note": "Sales only. Any other value is UNSUPPORTED_BY_DESKTOP: Desktop sales tax items apply to sales only."
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"qbo": "TaxRateDetails.TaxRateId",
|
|
3158
|
+
"support": "full",
|
|
3159
|
+
"note": "Send it alone to put an existing rate in the new code instead of creating one. Also how to retry after TAX_CODE_PARTIAL."
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"qbo": "TaxCodeId",
|
|
3163
|
+
"support": "partial",
|
|
3164
|
+
"note": "In the answer. It is a Desktop sales tax group id, not a TaxCode (TAX or NON): GET /taxcode/{id} will not find it. It is what you send as TxnTaxDetail.TxnTaxCodeRef on an invoice or other sales form, which maps to Desktop ItemSalesTaxRef."
|
|
3165
|
+
}
|
|
3166
|
+
],
|
|
3167
|
+
"unsupported": [
|
|
3168
|
+
{
|
|
3169
|
+
"case": "read, query, update, delete",
|
|
2923
3170
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2924
|
-
"note": "TaxService is a
|
|
3171
|
+
"note": "TaxService is a create-only operation. There is no TaxService object to read back; read the rates as TaxRate."
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"case": "Rates created but the tax code not",
|
|
3175
|
+
"error": "TAX_CODE_PARTIAL",
|
|
3176
|
+
"note": "The two steps are separate QuickBooks messages. If the tax code is refused after the rates were created (usually a duplicate name), the answer is 502 TAX_CODE_PARTIAL naming every created TaxRateId. Resend with TaxRateDetails [{ TaxRateId }] for those rates and an unused TaxCode name. Resending the original request is refused by QuickBooks as a duplicate name, so no extra rates are created. The endpoint honors requestid: a replay after success returns the tax code read back from QuickBooks, and a replay after this fault does not re-send."
|
|
2925
3177
|
}
|
|
2926
3178
|
]
|
|
2927
3179
|
},
|
|
@@ -2996,7 +3248,7 @@ var CATALOG = {
|
|
|
2996
3248
|
"group": "lists",
|
|
2997
3249
|
"read": "full",
|
|
2998
3250
|
"write": "partial",
|
|
2999
|
-
"headline": "Employee time
|
|
3251
|
+
"headline": "Employee and vendor time; Duration compiled from Hours/Minutes or a StartTime/EndTime span",
|
|
3000
3252
|
"fields": [
|
|
3001
3253
|
{
|
|
3002
3254
|
"qbo": "TxnDate",
|
|
@@ -3004,13 +3256,18 @@ var CATALOG = {
|
|
|
3004
3256
|
},
|
|
3005
3257
|
{
|
|
3006
3258
|
"qbo": "NameOf",
|
|
3007
|
-
"support": "
|
|
3008
|
-
"note":
|
|
3259
|
+
"support": "full",
|
|
3260
|
+
"note": "Employee or Vendor; anything else returns 2010. Desktop does not store the kind: reads ask QuickBooks which name list owns the entry (one extra round trip, cached per company file for 15 minutes) and fail with 502 NAME_LOOKUP_FAILED if that lookup fails. An entry whose name is neither an employee nor a vendor carries no NameOf."
|
|
3009
3261
|
},
|
|
3010
3262
|
{
|
|
3011
3263
|
"qbo": "EmployeeRef",
|
|
3012
3264
|
"support": "full",
|
|
3013
|
-
"note": "Required; Desktop EntityRef. Missing value returns 2020."
|
|
3265
|
+
"note": "Required when NameOf is Employee or omitted; Desktop EntityRef. Missing value returns 2020. Sending EmployeeRef together with VendorRef returns 2010."
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"qbo": "VendorRef",
|
|
3269
|
+
"support": "full",
|
|
3270
|
+
"note": "Vendor time: send NameOf Vendor with VendorRef (or just VendorRef). Desktop EntityRef. Vendor time must be NotBillable, which is what we send when BillableStatus is omitted; Billable vendor time is refused by QuickBooks."
|
|
3014
3271
|
},
|
|
3015
3272
|
{
|
|
3016
3273
|
"qbo": "CustomerRef",
|
|
@@ -3074,12 +3331,12 @@ var CATALOG = {
|
|
|
3074
3331
|
{
|
|
3075
3332
|
"qbo": "HourlyRate",
|
|
3076
3333
|
"support": "partial",
|
|
3077
|
-
"note":
|
|
3334
|
+
"note": 'Accepted and ignored. Desktop time tracking does not take a Rate through this interface: QuickBooks answers "The field Rate is not supported by this implementation" (probe PD5), so it is never sent.'
|
|
3078
3335
|
},
|
|
3079
3336
|
{
|
|
3080
3337
|
"qbo": "CostRate",
|
|
3081
3338
|
"support": "partial",
|
|
3082
|
-
"note": "Accepted and ignored
|
|
3339
|
+
"note": "Accepted and ignored. Desktop time tracking has no cost-rate element."
|
|
3083
3340
|
},
|
|
3084
3341
|
{
|
|
3085
3342
|
"qbo": "Taxable",
|
|
@@ -3094,12 +3351,12 @@ var CATALOG = {
|
|
|
3094
3351
|
{
|
|
3095
3352
|
"qbo": "CurrencyRef",
|
|
3096
3353
|
"support": "partial",
|
|
3097
|
-
"note": "Accepted and ignored
|
|
3354
|
+
"note": "Accepted and ignored. Desktop time tracking has no currency. On a single-currency file a CurrencyRef other than USD or an ExchangeRate other than 1 is refused (400 UNSUPPORTED_BY_DESKTOP)."
|
|
3098
3355
|
},
|
|
3099
3356
|
{
|
|
3100
3357
|
"qbo": "ExchangeRate",
|
|
3101
3358
|
"support": "partial",
|
|
3102
|
-
"note": "Accepted and ignored
|
|
3359
|
+
"note": "Accepted and ignored. Desktop time tracking has no currency. On a single-currency file a CurrencyRef other than USD or an ExchangeRate other than 1 is refused (400 UNSUPPORTED_BY_DESKTOP)."
|
|
3103
3360
|
},
|
|
3104
3361
|
{
|
|
3105
3362
|
"qbo": "PayrollItemRef",
|
|
@@ -3114,13 +3371,7 @@ var CATALOG = {
|
|
|
3114
3371
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3115
3372
|
}
|
|
3116
3373
|
],
|
|
3117
|
-
"unsupported": [
|
|
3118
|
-
{
|
|
3119
|
-
"case": 'Vendor/contractor time (NameOf: "Vendor", or a VendorRef)',
|
|
3120
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
3121
|
-
"note": "Only employee time is supported this release; vendor/contractor time tracking lands in a later TenkeyBridge release."
|
|
3122
|
-
}
|
|
3123
|
-
]
|
|
3374
|
+
"unsupported": []
|
|
3124
3375
|
},
|
|
3125
3376
|
"Transfer": {
|
|
3126
3377
|
"entity": "Transfer",
|
|
@@ -3154,15 +3405,13 @@ var CATALOG = {
|
|
|
3154
3405
|
},
|
|
3155
3406
|
{
|
|
3156
3407
|
"qbo": "CurrencyRef",
|
|
3157
|
-
"support": "
|
|
3158
|
-
"note": "
|
|
3159
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3408
|
+
"support": "partial",
|
|
3409
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Writes are accepted and ignored. On a single-currency file a CurrencyRef other than USD or an ExchangeRate other than 1 is refused (400 UNSUPPORTED_BY_DESKTOP)."
|
|
3160
3410
|
},
|
|
3161
3411
|
{
|
|
3162
3412
|
"qbo": "ExchangeRate",
|
|
3163
|
-
"support": "
|
|
3164
|
-
"note": "
|
|
3165
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3413
|
+
"support": "partial",
|
|
3414
|
+
"note": "Read on multicurrency files only. Writes are accepted and ignored. On a single-currency file a CurrencyRef other than USD or an ExchangeRate other than 1 is refused (400 UNSUPPORTED_BY_DESKTOP)."
|
|
3166
3415
|
}
|
|
3167
3416
|
],
|
|
3168
3417
|
"unsupported": [
|
|
@@ -3261,12 +3510,12 @@ var CATALOG = {
|
|
|
3261
3510
|
{
|
|
3262
3511
|
"qbo": "CurrencyRef",
|
|
3263
3512
|
"support": "partial",
|
|
3264
|
-
"note": "
|
|
3513
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). Written on create and stored by Desktop (the currency must be active; activate it with CompanyCurrency). A sparse vendor update that sends no currency leaves CurrencyRef unchanged (proven live). Changing the currency on update is not proven live (Desktop may refuse it once the vendor has transactions, as it does for customers). On a file with multicurrency off only USD is accepted (and dropped)."
|
|
3265
3514
|
},
|
|
3266
3515
|
{
|
|
3267
3516
|
"qbo": "ExchangeRate",
|
|
3268
3517
|
"support": "partial",
|
|
3269
|
-
"note": "
|
|
3518
|
+
"note": "Not a Desktop vendor field. Accepted and ignored."
|
|
3270
3519
|
}
|
|
3271
3520
|
],
|
|
3272
3521
|
"unsupported": []
|
|
@@ -3276,7 +3525,7 @@ var CATALOG = {
|
|
|
3276
3525
|
"verdict": "live",
|
|
3277
3526
|
"group": "purchasing",
|
|
3278
3527
|
"read": "full",
|
|
3279
|
-
"write": "
|
|
3528
|
+
"write": "full",
|
|
3280
3529
|
"headline": "Bill mirror image \u2014 expense and item lines",
|
|
3281
3530
|
"fields": [
|
|
3282
3531
|
{
|
|
@@ -3303,7 +3552,7 @@ var CATALOG = {
|
|
|
3303
3552
|
{
|
|
3304
3553
|
"qbo": "Line",
|
|
3305
3554
|
"support": "full",
|
|
3306
|
-
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery.
|
|
3555
|
+
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery. Update: Line is the WHOLE table, as in QBO. A line sent with its Id (the Line.Id a read returned) keeps that line, a line with no Id is added, and a line you leave out is deleted. Omit Line to leave every line alone (a header-only update such as PrivateNote never touches lines); an empty array is refused (2020), and a repeated or unknown Id is refused (2010). A line cannot change type: sending an expense line's Id with an item detail (or the reverse) is 2010, so omit the Id to replace it. On an item line that sends Amount without Qty or UnitPrice, Desktop keeps the stored quantity and re-derives the unit cost, so the Amount you send is the Amount you read back (verified live, 2026-10-14). Item group lines read as their component item lines, in the group's place and in Desktop's order, each carrying the TenkeyBridge extension fields GroupLineId (the group's Id) and GroupItemRef. The Id on each of those component lines is read-only: it identifies what was read and is not accepted as a line Id on a write. A transaction that has item group lines refuses a Line update with UNSUPPORTED_BY_DESKTOP, because a table update would delete them; header-only updates still work."
|
|
3307
3556
|
},
|
|
3308
3557
|
{
|
|
3309
3558
|
"qbo": "TotalAmt",
|
|
@@ -3317,15 +3566,23 @@ var CATALOG = {
|
|
|
3317
3566
|
},
|
|
3318
3567
|
{
|
|
3319
3568
|
"qbo": "CurrencyRef",
|
|
3320
|
-
"support": "
|
|
3321
|
-
"note": "
|
|
3322
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3569
|
+
"support": "partial",
|
|
3570
|
+
"note": "Read on multicurrency files only; CurrencyRef.value is the ISO code (CAD). On write the currency comes from the vendor, so CurrencyRef is checked and then dropped: one that differs from the vendor's currency is a 400 (code 2010). On a file with multicurrency off only USD is accepted (and dropped); any other code is 400 UNSUPPORTED_BY_DESKTOP."
|
|
3323
3571
|
},
|
|
3324
3572
|
{
|
|
3325
3573
|
"qbo": "ExchangeRate",
|
|
3326
|
-
"support": "
|
|
3327
|
-
"note": "
|
|
3328
|
-
|
|
3574
|
+
"support": "partial",
|
|
3575
|
+
"note": "Read and write on multicurrency files only. A positive number sent as a float and stored with every digit (a rate of 0.731234 is kept as .731234). Omit it and Desktop uses the currency's list rate. Desktop refuses a rate other than 1 on a home-currency transaction (400, code 2010). A rate of 1 is accepted (proven live on an invoice). On a file with multicurrency off only 1 is accepted (and dropped); any other rate is 400 UNSUPPORTED_BY_DESKTOP. Proven live on create. On a sparse update it is sent only when you change it; the update placement is not proven live."
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
"qbo": "HomeTotalAmt",
|
|
3579
|
+
"support": "partial",
|
|
3580
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop CreditAmountInHomeCurrency. Accepted and ignored on write."
|
|
3581
|
+
},
|
|
3582
|
+
{
|
|
3583
|
+
"qbo": "operation=void",
|
|
3584
|
+
"support": "partial",
|
|
3585
|
+
"note": "TenkeyBridge extension: QBO cannot void a VendorCredit; QuickBooks Desktop can. POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType VendorCredit), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QuickBooks Enterprise 24 (2026-10-15). The re-read shows PrivateNote as `VOID: <memo>` and every amount and line Amount at 0.00 with the lines kept. A void does not reliably advance the SyncToken, so re-read the record instead of relying on it; voiding again is accepted. The response is whatever Desktop returns on the re-read (nothing is fabricated)."
|
|
3329
3586
|
}
|
|
3330
3587
|
],
|
|
3331
3588
|
"unsupported": []
|
|
@@ -3468,7 +3725,7 @@ function unknownEntity(name) {
|
|
|
3468
3725
|
if (gap) {
|
|
3469
3726
|
if (gap.verdict === "live") {
|
|
3470
3727
|
return fail(
|
|
3471
|
-
`${gap.entity} is a platform endpoint, not reachable through this server's entity tools. Call the REST API directly: ${gap.usage}
|
|
3728
|
+
`${gap.entity} is a platform endpoint, not reachable through this server's entity tools. ${gap.entity === "Reports" ? "Use the run_report tool." : `Call the REST API directly: ${gap.usage}.`} Detail: compat://entity/${gap.entity.toLowerCase()}`
|
|
3472
3729
|
);
|
|
3473
3730
|
}
|
|
3474
3731
|
const cases = gap.unsupported.map((u) => `- ${u.case}: ${u.error}${u.workaround ? ` \u2014 workaround: ${u.workaround}` : ""}`).join("\n");
|
|
@@ -3516,6 +3773,24 @@ function registerTools(server, client) {
|
|
|
3516
3773
|
}
|
|
3517
3774
|
}
|
|
3518
3775
|
);
|
|
3776
|
+
server.registerTool(
|
|
3777
|
+
"run_report",
|
|
3778
|
+
{
|
|
3779
|
+
description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns. Read compat://entity/reports for the available reports and which params each takes.",
|
|
3780
|
+
inputSchema: {
|
|
3781
|
+
report: z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
|
|
3782
|
+
params: z.record(z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
async ({ report, params }) => {
|
|
3786
|
+
if (!client.report) return fail("This TenkeyBridge client has no report() method; upgrade @tenkeybridge/client to 0.5.0.");
|
|
3787
|
+
try {
|
|
3788
|
+
return ok(await client.report(report, params ?? {}));
|
|
3789
|
+
} catch (err) {
|
|
3790
|
+
return failure(err);
|
|
3791
|
+
}
|
|
3792
|
+
}
|
|
3793
|
+
);
|
|
3519
3794
|
server.registerTool(
|
|
3520
3795
|
"get",
|
|
3521
3796
|
{
|
|
@@ -3606,7 +3881,7 @@ function registerTools(server, client) {
|
|
|
3606
3881
|
server.registerTool(
|
|
3607
3882
|
"void",
|
|
3608
3883
|
{
|
|
3609
|
-
description: 'Void a transaction by Id + SyncToken (QBO ?operation=void). Supported: Invoice, SalesReceipt, Purchase, BillPayment. Destructive: on QuickBooks Desktop the record stays but its totals are zeroed and its memo is prefixed "VOID:". Returns the post-void record. Fetch the current SyncToken with the get tool first.',
|
|
3884
|
+
description: 'Void a transaction by Id + SyncToken (QBO ?operation=void). Supported: Invoice, SalesReceipt, Purchase, BillPayment, and as TenkeyBridge extensions Bill, VendorCredit, Deposit, JournalEntry, InventoryAdjustment. Destructive: on QuickBooks Desktop the record stays but its totals are zeroed and its memo is prefixed "VOID:". Returns the post-void record. Fetch the current SyncToken with the get tool first.',
|
|
3610
3885
|
inputSchema: {
|
|
3611
3886
|
entity: entityArg,
|
|
3612
3887
|
id: z.string(),
|
|
@@ -3630,7 +3905,7 @@ function registerTools(server, client) {
|
|
|
3630
3905
|
}
|
|
3631
3906
|
|
|
3632
3907
|
// src/version.ts
|
|
3633
|
-
var PKG_VERSION = "0.
|
|
3908
|
+
var PKG_VERSION = "0.6.0";
|
|
3634
3909
|
|
|
3635
3910
|
// src/server.ts
|
|
3636
3911
|
var SERVER_NAME = "tenkeybridge";
|