@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.cjs
CHANGED
|
@@ -116,12 +116,12 @@ var CATALOG = {
|
|
|
116
116
|
{
|
|
117
117
|
"qbo": "CurrencyRef",
|
|
118
118
|
"support": "partial",
|
|
119
|
-
"note": "
|
|
119
|
+
"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)."
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"qbo": "ExchangeRate",
|
|
123
123
|
"support": "partial",
|
|
124
|
-
"note": "
|
|
124
|
+
"note": "Not a Desktop account field. Accepted and ignored."
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"qbo": "CashFlowClassification",
|
|
@@ -270,7 +270,7 @@ var CATALOG = {
|
|
|
270
270
|
{
|
|
271
271
|
"qbo": "Line",
|
|
272
272
|
"support": "full",
|
|
273
|
-
"note": "Account-based and item-based expense lines; other line types return UNSUPPORTED_BY_DESKTOP.
|
|
273
|
+
"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)."
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
"qbo": "TotalAmt",
|
|
@@ -290,18 +290,28 @@ var CATALOG = {
|
|
|
290
290
|
{
|
|
291
291
|
"qbo": "CurrencyRef",
|
|
292
292
|
"support": "partial",
|
|
293
|
-
"note": "
|
|
293
|
+
"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."
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
"qbo": "ExchangeRate",
|
|
297
297
|
"support": "partial",
|
|
298
|
-
"note": "
|
|
298
|
+
"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."
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"qbo": "HomeTotalAmt",
|
|
302
|
+
"support": "partial",
|
|
303
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop AmountDueInHomeCurrency. Accepted and ignored on write."
|
|
299
304
|
},
|
|
300
305
|
{
|
|
301
306
|
"qbo": "LinkedTxn",
|
|
302
307
|
"support": "none",
|
|
303
308
|
"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.",
|
|
304
309
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"qbo": "operation=void",
|
|
313
|
+
"support": "partial",
|
|
314
|
+
"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)."
|
|
305
315
|
}
|
|
306
316
|
],
|
|
307
317
|
"unsupported": []
|
|
@@ -355,24 +365,37 @@ var CATALOG = {
|
|
|
355
365
|
{
|
|
356
366
|
"qbo": "PrintStatus",
|
|
357
367
|
"support": "partial",
|
|
358
|
-
"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."
|
|
368
|
+
"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."
|
|
359
369
|
},
|
|
360
370
|
{
|
|
361
371
|
"qbo": "Line",
|
|
362
372
|
"support": "partial",
|
|
363
|
-
"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).
|
|
373
|
+
"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."
|
|
364
374
|
},
|
|
365
375
|
{
|
|
366
376
|
"qbo": "CurrencyRef",
|
|
367
|
-
"support": "
|
|
368
|
-
"note": "
|
|
369
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
377
|
+
"support": "partial",
|
|
378
|
+
"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."
|
|
370
379
|
},
|
|
371
380
|
{
|
|
372
381
|
"qbo": "ExchangeRate",
|
|
373
|
-
"support": "
|
|
374
|
-
"note": "
|
|
375
|
-
|
|
382
|
+
"support": "partial",
|
|
383
|
+
"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."
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"qbo": "APAccountRef",
|
|
387
|
+
"support": "partial",
|
|
388
|
+
"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."
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"qbo": "HomeTotalAmt",
|
|
392
|
+
"support": "partial",
|
|
393
|
+
"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."
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"qbo": "query paging",
|
|
397
|
+
"support": "full",
|
|
398
|
+
"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."
|
|
376
399
|
},
|
|
377
400
|
{
|
|
378
401
|
"qbo": "operation=void",
|
|
@@ -577,28 +600,30 @@ var CATALOG = {
|
|
|
577
600
|
"verdict": "live",
|
|
578
601
|
"group": "lists",
|
|
579
602
|
"read": "full",
|
|
580
|
-
"write": "
|
|
581
|
-
"headline": "Desktop CurrencyQuery list;
|
|
603
|
+
"write": "partial",
|
|
604
|
+
"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 [])",
|
|
582
605
|
"fields": [
|
|
583
606
|
{
|
|
584
607
|
"qbo": "Name",
|
|
585
|
-
"support": "full"
|
|
608
|
+
"support": "full",
|
|
609
|
+
"note": "Desktop Name. On create the default is the code. Can be changed on update."
|
|
586
610
|
},
|
|
587
611
|
{
|
|
588
612
|
"qbo": "Active",
|
|
589
|
-
"support": "full"
|
|
613
|
+
"support": "full",
|
|
614
|
+
"note": "Desktop IsActive. Update can activate or deactivate a currency (proven live). Prefer deactivating to deleting: delete is not proven live."
|
|
590
615
|
},
|
|
591
616
|
{
|
|
592
617
|
"qbo": "Code",
|
|
593
|
-
"support": "
|
|
594
|
-
"note": "Desktop CurrencyCode."
|
|
618
|
+
"support": "partial",
|
|
619
|
+
"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."
|
|
595
620
|
}
|
|
596
621
|
],
|
|
597
622
|
"unsupported": [
|
|
598
623
|
{
|
|
599
|
-
"case": "
|
|
624
|
+
"case": "Setting an exchange rate on create or update",
|
|
600
625
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
601
|
-
"note": "
|
|
626
|
+
"note": "CurrencyMod has no rate field. Set the list rate in QuickBooks, or send ExchangeRate on the transaction."
|
|
602
627
|
}
|
|
603
628
|
]
|
|
604
629
|
},
|
|
@@ -649,15 +674,24 @@ var CATALOG = {
|
|
|
649
674
|
"note": 'Desktop FirstMonthFiscalYear; both sides use English month names (live-verified "January").'
|
|
650
675
|
},
|
|
651
676
|
{
|
|
652
|
-
"qbo": "
|
|
677
|
+
"qbo": "WebAddr",
|
|
653
678
|
"support": "full",
|
|
654
|
-
"note": "Desktop
|
|
679
|
+
"note": "Desktop CompanyWebSite as WebAddr.URI; absent when no website is on file."
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"qbo": "CustomerCommunicationEmailAddr",
|
|
683
|
+
"support": "full",
|
|
684
|
+
"note": "Desktop CompanyEmailForCustomer as Address; absent when none is on file."
|
|
655
685
|
},
|
|
656
686
|
{
|
|
657
687
|
"qbo": "NameValue",
|
|
658
|
-
"support": "
|
|
659
|
-
"note": "
|
|
660
|
-
|
|
688
|
+
"support": "partial",
|
|
689
|
+
"note": "TaxForm and CompanyType only, as Name/Value pairs when present; EIN is never returned."
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"qbo": "Country",
|
|
693
|
+
"support": "full",
|
|
694
|
+
"note": "Desktop Address.Country, passed through as free text \u2014 no normalization, and often blank on US company files."
|
|
661
695
|
},
|
|
662
696
|
{
|
|
663
697
|
"qbo": "CompanyStartDate",
|
|
@@ -678,10 +712,10 @@ var CATALOG = {
|
|
|
678
712
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
679
713
|
},
|
|
680
714
|
{
|
|
681
|
-
"qbo": "
|
|
715
|
+
"qbo": "EmployerId",
|
|
682
716
|
"support": "none",
|
|
683
|
-
"note": "
|
|
684
|
-
"error": "
|
|
717
|
+
"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.",
|
|
718
|
+
"error": "UNMAPPED_FIELD"
|
|
685
719
|
}
|
|
686
720
|
],
|
|
687
721
|
"unsupported": [
|
|
@@ -763,6 +797,21 @@ var CATALOG = {
|
|
|
763
797
|
"qbo": "TxnDate",
|
|
764
798
|
"support": "full"
|
|
765
799
|
},
|
|
800
|
+
{
|
|
801
|
+
"qbo": "CurrencyRef",
|
|
802
|
+
"support": "partial",
|
|
803
|
+
"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."
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"qbo": "ExchangeRate",
|
|
807
|
+
"support": "partial",
|
|
808
|
+
"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."
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"qbo": "HomeBalance",
|
|
812
|
+
"support": "partial",
|
|
813
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop CreditRemainingInHomeCurrency. Accepted and ignored on write."
|
|
814
|
+
},
|
|
766
815
|
{
|
|
767
816
|
"qbo": "DocNumber",
|
|
768
817
|
"support": "full",
|
|
@@ -805,12 +854,12 @@ var CATALOG = {
|
|
|
805
854
|
{
|
|
806
855
|
"qbo": "Line",
|
|
807
856
|
"support": "partial",
|
|
808
|
-
"note": "Same DetailType support as Invoice: SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; DiscountLineDetail
|
|
857
|
+
"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."
|
|
809
858
|
},
|
|
810
859
|
{
|
|
811
860
|
"qbo": "TxnTaxDetail",
|
|
812
861
|
"support": "partial",
|
|
813
|
-
"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)."
|
|
862
|
+
"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)."
|
|
814
863
|
},
|
|
815
864
|
{
|
|
816
865
|
"qbo": "LinkedTxn",
|
|
@@ -841,9 +890,9 @@ var CATALOG = {
|
|
|
841
890
|
],
|
|
842
891
|
"unsupported": [
|
|
843
892
|
{
|
|
844
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
893
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
845
894
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
846
|
-
"note": "Desktop discounts are items and
|
|
895
|
+
"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."
|
|
847
896
|
},
|
|
848
897
|
{
|
|
849
898
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
@@ -973,12 +1022,12 @@ var CATALOG = {
|
|
|
973
1022
|
{
|
|
974
1023
|
"qbo": "CurrencyRef",
|
|
975
1024
|
"support": "partial",
|
|
976
|
-
"note": "
|
|
1025
|
+
"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)."
|
|
977
1026
|
},
|
|
978
1027
|
{
|
|
979
1028
|
"qbo": "ExchangeRate",
|
|
980
1029
|
"support": "partial",
|
|
981
|
-
"note": "
|
|
1030
|
+
"note": "Not a Desktop customer field. Accepted and ignored."
|
|
982
1031
|
},
|
|
983
1032
|
{
|
|
984
1033
|
"qbo": "PreferredPaymentMethodRef",
|
|
@@ -1154,12 +1203,12 @@ var CATALOG = {
|
|
|
1154
1203
|
{
|
|
1155
1204
|
"qbo": "Line",
|
|
1156
1205
|
"support": "partial",
|
|
1157
|
-
"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
|
|
1206
|
+
"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."
|
|
1158
1207
|
},
|
|
1159
1208
|
{
|
|
1160
1209
|
"qbo": "CashBack",
|
|
1161
1210
|
"support": "partial",
|
|
1162
|
-
"note": "Create and read map to Desktop CashBackInfo.
|
|
1211
|
+
"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)."
|
|
1163
1212
|
},
|
|
1164
1213
|
{
|
|
1165
1214
|
"qbo": "TotalAmt",
|
|
@@ -1168,15 +1217,23 @@ var CATALOG = {
|
|
|
1168
1217
|
},
|
|
1169
1218
|
{
|
|
1170
1219
|
"qbo": "CurrencyRef",
|
|
1171
|
-
"support": "
|
|
1172
|
-
"note": "
|
|
1173
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1220
|
+
"support": "partial",
|
|
1221
|
+
"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."
|
|
1174
1222
|
},
|
|
1175
1223
|
{
|
|
1176
1224
|
"qbo": "ExchangeRate",
|
|
1177
|
-
"support": "
|
|
1178
|
-
"note": "
|
|
1179
|
-
|
|
1225
|
+
"support": "partial",
|
|
1226
|
+
"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."
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"qbo": "HomeTotalAmt",
|
|
1230
|
+
"support": "partial",
|
|
1231
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop DepositTotalInHomeCurrency. Accepted and ignored on write."
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"qbo": "operation=void",
|
|
1235
|
+
"support": "partial",
|
|
1236
|
+
"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)."
|
|
1180
1237
|
}
|
|
1181
1238
|
],
|
|
1182
1239
|
"unsupported": []
|
|
@@ -1187,7 +1244,7 @@ var CATALOG = {
|
|
|
1187
1244
|
"group": "lists",
|
|
1188
1245
|
"read": "full",
|
|
1189
1246
|
"write": "partial",
|
|
1190
|
-
"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",
|
|
1247
|
+
"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",
|
|
1191
1248
|
"fields": [
|
|
1192
1249
|
{
|
|
1193
1250
|
"qbo": "GivenName",
|
|
@@ -1218,7 +1275,7 @@ var CATALOG = {
|
|
|
1218
1275
|
{
|
|
1219
1276
|
"qbo": "Active",
|
|
1220
1277
|
"support": "full",
|
|
1221
|
-
"note": "Deactivate with a sparse update of Active:false
|
|
1278
|
+
"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."
|
|
1222
1279
|
},
|
|
1223
1280
|
{
|
|
1224
1281
|
"qbo": "PrimaryPhone",
|
|
@@ -1266,15 +1323,13 @@ var CATALOG = {
|
|
|
1266
1323
|
},
|
|
1267
1324
|
{
|
|
1268
1325
|
"qbo": "EmployeeNumber",
|
|
1269
|
-
"support": "
|
|
1270
|
-
"note": "Desktop
|
|
1271
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1326
|
+
"support": "full",
|
|
1327
|
+
"note": "Desktop AccountNumber (the Account No. field on the employee record), up to 99 characters. Verified live on QuickBooks Enterprise 24 (2026-10-15)."
|
|
1272
1328
|
},
|
|
1273
1329
|
{
|
|
1274
1330
|
"qbo": "TargetBonus",
|
|
1275
|
-
"support": "
|
|
1276
|
-
"note": "Desktop payroll
|
|
1277
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1331
|
+
"support": "full",
|
|
1332
|
+
"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."
|
|
1278
1333
|
},
|
|
1279
1334
|
{
|
|
1280
1335
|
"qbo": "AdditionalContactRef",
|
|
@@ -1287,7 +1342,7 @@ var CATALOG = {
|
|
|
1287
1342
|
{
|
|
1288
1343
|
"case": "Delete",
|
|
1289
1344
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1290
|
-
"note": "QBO employees are deactivated, not deleted
|
|
1345
|
+
"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)."
|
|
1291
1346
|
},
|
|
1292
1347
|
{
|
|
1293
1348
|
"case": "Payroll fields",
|
|
@@ -1399,12 +1454,12 @@ var CATALOG = {
|
|
|
1399
1454
|
{
|
|
1400
1455
|
"qbo": "Line",
|
|
1401
1456
|
"support": "partial",
|
|
1402
|
-
"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
|
|
1457
|
+
"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."
|
|
1403
1458
|
},
|
|
1404
1459
|
{
|
|
1405
1460
|
"qbo": "TxnTaxDetail",
|
|
1406
1461
|
"support": "partial",
|
|
1407
|
-
"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
|
|
1462
|
+
"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)."
|
|
1408
1463
|
},
|
|
1409
1464
|
{
|
|
1410
1465
|
"qbo": "LinkedTxn",
|
|
@@ -1424,12 +1479,17 @@ var CATALOG = {
|
|
|
1424
1479
|
{
|
|
1425
1480
|
"qbo": "CurrencyRef",
|
|
1426
1481
|
"support": "partial",
|
|
1427
|
-
"note": "
|
|
1482
|
+
"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."
|
|
1428
1483
|
},
|
|
1429
1484
|
{
|
|
1430
1485
|
"qbo": "ExchangeRate",
|
|
1431
1486
|
"support": "partial",
|
|
1432
|
-
"note": "
|
|
1487
|
+
"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."
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"qbo": "HomeTotalAmt",
|
|
1491
|
+
"support": "partial",
|
|
1492
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
1433
1493
|
},
|
|
1434
1494
|
{
|
|
1435
1495
|
"qbo": "AcceptedBy",
|
|
@@ -1446,9 +1506,9 @@ var CATALOG = {
|
|
|
1446
1506
|
],
|
|
1447
1507
|
"unsupported": [
|
|
1448
1508
|
{
|
|
1449
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
1509
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
1450
1510
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
1451
|
-
"note": "Desktop discounts are items and
|
|
1511
|
+
"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."
|
|
1452
1512
|
},
|
|
1453
1513
|
{
|
|
1454
1514
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
@@ -1463,7 +1523,7 @@ var CATALOG = {
|
|
|
1463
1523
|
"group": "lists",
|
|
1464
1524
|
"read": "partial",
|
|
1465
1525
|
"write": "none",
|
|
1466
|
-
"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 [])",
|
|
1526
|
+
"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 [])",
|
|
1467
1527
|
"fields": [
|
|
1468
1528
|
{
|
|
1469
1529
|
"qbo": "SourceCurrencyCode",
|
|
@@ -1482,21 +1542,25 @@ var CATALOG = {
|
|
|
1482
1542
|
},
|
|
1483
1543
|
{
|
|
1484
1544
|
"qbo": "TargetCurrencyCode",
|
|
1485
|
-
"support": "
|
|
1486
|
-
"note": "
|
|
1487
|
-
|
|
1545
|
+
"support": "full",
|
|
1546
|
+
"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."
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"qbo": "keyed lookup",
|
|
1550
|
+
"support": "full",
|
|
1551
|
+
"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."
|
|
1488
1552
|
}
|
|
1489
1553
|
],
|
|
1490
1554
|
"unsupported": [
|
|
1491
1555
|
{
|
|
1492
|
-
"case": "
|
|
1493
|
-
"error": "
|
|
1494
|
-
"note": "
|
|
1556
|
+
"case": "Keyed lookup with asofdate before the stored AsOfDate",
|
|
1557
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1558
|
+
"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."
|
|
1495
1559
|
},
|
|
1496
1560
|
{
|
|
1497
1561
|
"case": "Create, update, or delete",
|
|
1498
1562
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1499
|
-
"note": "ExchangeRate is read
|
|
1563
|
+
"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."
|
|
1500
1564
|
},
|
|
1501
1565
|
{
|
|
1502
1566
|
"case": "Currencies without ExchangeRate on CurrencyRet",
|
|
@@ -1511,12 +1575,12 @@ var CATALOG = {
|
|
|
1511
1575
|
"group": "purchasing",
|
|
1512
1576
|
"read": "full",
|
|
1513
1577
|
"write": "partial",
|
|
1514
|
-
"headline": "Quantity adjustments to inventory items \u2014 create, read, header
|
|
1578
|
+
"headline": "Quantity adjustments to inventory items \u2014 create, read, update (header and lines) and delete",
|
|
1515
1579
|
"fields": [
|
|
1516
1580
|
{
|
|
1517
1581
|
"qbo": "AdjustAccountRef",
|
|
1518
1582
|
"support": "full",
|
|
1519
|
-
"note": "Desktop AccountRef
|
|
1583
|
+
"note": "Desktop AccountRef, the adjustment (offset) account. Required on create."
|
|
1520
1584
|
},
|
|
1521
1585
|
{
|
|
1522
1586
|
"qbo": "TxnDate",
|
|
@@ -1535,28 +1599,25 @@ var CATALOG = {
|
|
|
1535
1599
|
{
|
|
1536
1600
|
"qbo": "Line",
|
|
1537
1601
|
"support": "partial",
|
|
1538
|
-
"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).
|
|
1602
|
+
"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."
|
|
1539
1603
|
},
|
|
1540
1604
|
{
|
|
1541
1605
|
"qbo": "CurrencyRef",
|
|
1542
|
-
"support": "
|
|
1543
|
-
"note": "
|
|
1544
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1606
|
+
"support": "partial",
|
|
1607
|
+
"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)."
|
|
1545
1608
|
},
|
|
1546
1609
|
{
|
|
1547
1610
|
"qbo": "ExchangeRate",
|
|
1548
|
-
"support": "
|
|
1549
|
-
"note": "
|
|
1550
|
-
|
|
1611
|
+
"support": "partial",
|
|
1612
|
+
"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)."
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"qbo": "operation=void",
|
|
1616
|
+
"support": "partial",
|
|
1617
|
+
"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)."
|
|
1551
1618
|
}
|
|
1552
1619
|
],
|
|
1553
1620
|
"unsupported": [
|
|
1554
|
-
{
|
|
1555
|
-
"case": "Line update",
|
|
1556
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1557
|
-
"note": "A sparse update can change header fields only (AdjustAccountRef, TxnDate, DocNumber, PrivateNote). To change quantities, delete the adjustment and create a new one.",
|
|
1558
|
-
"workaround": "POST ?operation=delete with the Id, then create a corrected InventoryAdjustment."
|
|
1559
|
-
},
|
|
1560
1621
|
{
|
|
1561
1622
|
"case": "Absolute quantity (NewQuantity) and value adjustments",
|
|
1562
1623
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
@@ -1636,12 +1697,12 @@ var CATALOG = {
|
|
|
1636
1697
|
{
|
|
1637
1698
|
"qbo": "Line",
|
|
1638
1699
|
"support": "partial",
|
|
1639
|
-
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
1700
|
+
"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."
|
|
1640
1701
|
},
|
|
1641
1702
|
{
|
|
1642
1703
|
"qbo": "TxnTaxDetail",
|
|
1643
1704
|
"support": "partial",
|
|
1644
|
-
"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
|
|
1705
|
+
"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)."
|
|
1645
1706
|
},
|
|
1646
1707
|
{
|
|
1647
1708
|
"qbo": "LinkedTxn",
|
|
@@ -1666,12 +1727,17 @@ var CATALOG = {
|
|
|
1666
1727
|
{
|
|
1667
1728
|
"qbo": "CurrencyRef",
|
|
1668
1729
|
"support": "partial",
|
|
1669
|
-
"note": "
|
|
1730
|
+
"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."
|
|
1670
1731
|
},
|
|
1671
1732
|
{
|
|
1672
1733
|
"qbo": "ExchangeRate",
|
|
1673
1734
|
"support": "partial",
|
|
1674
|
-
"note": "
|
|
1735
|
+
"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."
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"qbo": "HomeBalance",
|
|
1739
|
+
"support": "partial",
|
|
1740
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop BalanceRemainingInHomeCurrency. Accepted and ignored on write."
|
|
1675
1741
|
},
|
|
1676
1742
|
{
|
|
1677
1743
|
"qbo": "operation=void",
|
|
@@ -1681,12 +1747,12 @@ var CATALOG = {
|
|
|
1681
1747
|
],
|
|
1682
1748
|
"unsupported": [
|
|
1683
1749
|
{
|
|
1684
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
1750
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
1685
1751
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
1686
|
-
"note": "Desktop discounts are items and
|
|
1752
|
+
"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."
|
|
1687
1753
|
},
|
|
1688
1754
|
{
|
|
1689
|
-
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly
|
|
1755
|
+
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
1690
1756
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1691
1757
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
1692
1758
|
}
|
|
@@ -1718,7 +1784,57 @@ var CATALOG = {
|
|
|
1718
1784
|
{
|
|
1719
1785
|
"qbo": "Type",
|
|
1720
1786
|
"support": "partial",
|
|
1721
|
-
"note": "Service, NonInventory, Inventory read and write
|
|
1787
|
+
"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."
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"qbo": "DesktopItemType",
|
|
1791
|
+
"support": "partial",
|
|
1792
|
+
"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."
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"qbo": "ItemGroupDetail",
|
|
1796
|
+
"support": "full",
|
|
1797
|
+
"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."
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"qbo": "PrintGroupedItems",
|
|
1801
|
+
"support": "full",
|
|
1802
|
+
"note": "TenkeyBridge extension. Group items only: whether the component lines print on a transaction (Desktop IsPrintItemsInGroup)."
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"qbo": "ItemAssemblyDetail",
|
|
1806
|
+
"support": "full",
|
|
1807
|
+
"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)."
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"qbo": "DiscountPercent",
|
|
1811
|
+
"support": "full",
|
|
1812
|
+
"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."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"qbo": "DepositToAccountRef",
|
|
1816
|
+
"support": "full",
|
|
1817
|
+
"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."
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"qbo": "PaymentMethodRef",
|
|
1821
|
+
"support": "full",
|
|
1822
|
+
"note": "TenkeyBridge extension. Payment items: the payment method."
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"qbo": "TaxRate",
|
|
1826
|
+
"support": "partial",
|
|
1827
|
+
"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."
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"qbo": "AgencyRef",
|
|
1831
|
+
"support": "partial",
|
|
1832
|
+
"note": "TenkeyBridge extension. Read only, on SalesTax items: the tax agency vendor."
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"qbo": "TaxRateRefs",
|
|
1836
|
+
"support": "partial",
|
|
1837
|
+
"note": "TenkeyBridge extension. Read only, on SalesTaxGroup items: the member tax items."
|
|
1722
1838
|
},
|
|
1723
1839
|
{
|
|
1724
1840
|
"qbo": "Description",
|
|
@@ -1728,7 +1844,7 @@ var CATALOG = {
|
|
|
1728
1844
|
{
|
|
1729
1845
|
"qbo": "UnitPrice",
|
|
1730
1846
|
"support": "full",
|
|
1731
|
-
"note": "Desktop sales price. Sent with up to five decimals. On a Desktop discount item a flat rate reads as UnitPrice
|
|
1847
|
+
"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."
|
|
1732
1848
|
},
|
|
1733
1849
|
{
|
|
1734
1850
|
"qbo": "Sku",
|
|
@@ -1743,7 +1859,7 @@ var CATALOG = {
|
|
|
1743
1859
|
{
|
|
1744
1860
|
"qbo": "QtyOnHand",
|
|
1745
1861
|
"support": "partial",
|
|
1746
|
-
"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."
|
|
1862
|
+
"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."
|
|
1747
1863
|
},
|
|
1748
1864
|
{
|
|
1749
1865
|
"qbo": "InvStartDate",
|
|
@@ -1813,19 +1929,20 @@ var CATALOG = {
|
|
|
1813
1929
|
],
|
|
1814
1930
|
"unsupported": [
|
|
1815
1931
|
{
|
|
1816
|
-
"case": "
|
|
1932
|
+
"case": "Writing SalesTax or SalesTaxGroup items",
|
|
1817
1933
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1818
|
-
"note": "
|
|
1934
|
+
"note": "These read through the Item API (with TaxRate, AgencyRef and TaxRateRefs) but cannot be written through the Item API.",
|
|
1935
|
+
"workaround": "Write a sales tax item through the TaxRate endpoint (POST /taxrate) and a sales tax group through POST /taxservice/taxcode."
|
|
1819
1936
|
},
|
|
1820
1937
|
{
|
|
1821
|
-
"case": "Creating or updating
|
|
1938
|
+
"case": "Creating or updating FixedAsset items",
|
|
1822
1939
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1823
|
-
"note": "
|
|
1940
|
+
"note": "Fixed assets read as Type NonInventory with DesktopItemType FixedAsset. Writing them is not supported."
|
|
1824
1941
|
},
|
|
1825
1942
|
{
|
|
1826
|
-
"case": "
|
|
1943
|
+
"case": "Category items, and turning a sales-only item into a two-sided one",
|
|
1827
1944
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1828
|
-
"note": "Desktop rejects the SalesOrPurchase to SalesAndPurchase conversion (error 3170)
|
|
1945
|
+
"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."
|
|
1829
1946
|
},
|
|
1830
1947
|
{
|
|
1831
1948
|
"case": "Changing QtyOnHand after creation",
|
|
@@ -1900,7 +2017,7 @@ var CATALOG = {
|
|
|
1900
2017
|
{
|
|
1901
2018
|
"qbo": "Line",
|
|
1902
2019
|
"support": "partial",
|
|
1903
|
-
"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
|
|
2020
|
+
"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)."
|
|
1904
2021
|
},
|
|
1905
2022
|
{
|
|
1906
2023
|
"qbo": "TotalAmt",
|
|
@@ -1909,15 +2026,18 @@ var CATALOG = {
|
|
|
1909
2026
|
},
|
|
1910
2027
|
{
|
|
1911
2028
|
"qbo": "CurrencyRef",
|
|
1912
|
-
"support": "
|
|
1913
|
-
"note": "
|
|
1914
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2029
|
+
"support": "partial",
|
|
2030
|
+
"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."
|
|
1915
2031
|
},
|
|
1916
2032
|
{
|
|
1917
2033
|
"qbo": "ExchangeRate",
|
|
1918
|
-
"support": "
|
|
1919
|
-
"note": "
|
|
1920
|
-
|
|
2034
|
+
"support": "partial",
|
|
2035
|
+
"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."
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"qbo": "operation=void",
|
|
2039
|
+
"support": "partial",
|
|
2040
|
+
"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)."
|
|
1921
2041
|
}
|
|
1922
2042
|
],
|
|
1923
2043
|
"unsupported": [
|
|
@@ -1988,17 +2108,22 @@ var CATALOG = {
|
|
|
1988
2108
|
{
|
|
1989
2109
|
"qbo": "CustomField",
|
|
1990
2110
|
"support": "partial",
|
|
1991
|
-
"note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only
|
|
2111
|
+
"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."
|
|
1992
2112
|
},
|
|
1993
2113
|
{
|
|
1994
2114
|
"qbo": "CurrencyRef",
|
|
1995
2115
|
"support": "partial",
|
|
1996
|
-
"note": "
|
|
2116
|
+
"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."
|
|
1997
2117
|
},
|
|
1998
2118
|
{
|
|
1999
2119
|
"qbo": "ExchangeRate",
|
|
2000
2120
|
"support": "partial",
|
|
2001
|
-
"note": "
|
|
2121
|
+
"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."
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"qbo": "HomeTotalAmt",
|
|
2125
|
+
"support": "partial",
|
|
2126
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2002
2127
|
},
|
|
2003
2128
|
{
|
|
2004
2129
|
"qbo": "ProcessPayment",
|
|
@@ -2067,12 +2192,12 @@ var CATALOG = {
|
|
|
2067
2192
|
{
|
|
2068
2193
|
"qbo": "AccountingInfoPrefs",
|
|
2069
2194
|
"support": "partial",
|
|
2070
|
-
"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)."
|
|
2195
|
+
"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)."
|
|
2071
2196
|
},
|
|
2072
2197
|
{
|
|
2073
2198
|
"qbo": "CurrencyPrefs",
|
|
2074
2199
|
"support": "partial",
|
|
2075
|
-
"note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef."
|
|
2200
|
+
"note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef, answered as the ISO code (USD) on multicurrency files; absent when multicurrency is off."
|
|
2076
2201
|
},
|
|
2077
2202
|
{
|
|
2078
2203
|
"qbo": "TimeTrackingPrefs",
|
|
@@ -2087,7 +2212,7 @@ var CATALOG = {
|
|
|
2087
2212
|
{
|
|
2088
2213
|
"qbo": "SalesFormsPrefs",
|
|
2089
2214
|
"support": "partial",
|
|
2090
|
-
"note": "DefaultShipMethodRef; AllowEstimates/UsingProgressInvoicing from JobsAndEstimatesPreferences. DefaultTerms never populated
|
|
2215
|
+
"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."
|
|
2091
2216
|
},
|
|
2092
2217
|
{
|
|
2093
2218
|
"qbo": "VendorAndPurchasesPrefs",
|
|
@@ -2101,9 +2226,8 @@ var CATALOG = {
|
|
|
2101
2226
|
},
|
|
2102
2227
|
{
|
|
2103
2228
|
"qbo": "ProductAndServicesPrefs",
|
|
2104
|
-
"support": "
|
|
2105
|
-
"note": "
|
|
2106
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2229
|
+
"support": "partial",
|
|
2230
|
+
"note": "QuantityOnHand \u2190 IsUsingInventory only; nothing else has a Desktop twin."
|
|
2107
2231
|
},
|
|
2108
2232
|
{
|
|
2109
2233
|
"qbo": "EmailMessagesPrefs",
|
|
@@ -2142,12 +2266,12 @@ var CATALOG = {
|
|
|
2142
2266
|
{
|
|
2143
2267
|
"qbo": "PaymentType",
|
|
2144
2268
|
"support": "partial",
|
|
2145
|
-
"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)."
|
|
2269
|
+
"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."
|
|
2146
2270
|
},
|
|
2147
2271
|
{
|
|
2148
2272
|
"qbo": "Credit",
|
|
2149
2273
|
"support": "full",
|
|
2150
|
-
"note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*."
|
|
2274
|
+
"note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*. Immutable on update (changing it is refused, 2010)."
|
|
2151
2275
|
},
|
|
2152
2276
|
{
|
|
2153
2277
|
"qbo": "AccountRef",
|
|
@@ -2180,7 +2304,7 @@ var CATALOG = {
|
|
|
2180
2304
|
{
|
|
2181
2305
|
"qbo": "Line",
|
|
2182
2306
|
"support": "full",
|
|
2183
|
-
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery.
|
|
2307
|
+
"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."
|
|
2184
2308
|
},
|
|
2185
2309
|
{
|
|
2186
2310
|
"qbo": "TotalAmt",
|
|
@@ -2189,15 +2313,23 @@ var CATALOG = {
|
|
|
2189
2313
|
},
|
|
2190
2314
|
{
|
|
2191
2315
|
"qbo": "CurrencyRef",
|
|
2192
|
-
"support": "
|
|
2193
|
-
"note": "
|
|
2194
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2316
|
+
"support": "partial",
|
|
2317
|
+
"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)."
|
|
2195
2318
|
},
|
|
2196
2319
|
{
|
|
2197
2320
|
"qbo": "ExchangeRate",
|
|
2198
|
-
"support": "
|
|
2199
|
-
"note": "
|
|
2200
|
-
|
|
2321
|
+
"support": "partial",
|
|
2322
|
+
"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."
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"qbo": "HomeTotalAmt",
|
|
2326
|
+
"support": "partial",
|
|
2327
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop AmountInHomeCurrency. Accepted and ignored on write."
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"qbo": "query paging",
|
|
2331
|
+
"support": "full",
|
|
2332
|
+
"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."
|
|
2201
2333
|
},
|
|
2202
2334
|
{
|
|
2203
2335
|
"qbo": "operation=void",
|
|
@@ -2206,15 +2338,15 @@ var CATALOG = {
|
|
|
2206
2338
|
}
|
|
2207
2339
|
],
|
|
2208
2340
|
"unsupported": [
|
|
2341
|
+
{
|
|
2342
|
+
"case": "A check applied to a credit memo (a refund check)",
|
|
2343
|
+
"error": "NOT_FOUND",
|
|
2344
|
+
"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."
|
|
2345
|
+
},
|
|
2209
2346
|
{
|
|
2210
2347
|
"case": "PaymentType outside Check/Cash/CreditCard",
|
|
2211
2348
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2212
2349
|
"note": "Only Check, Cash (\u2192Check), and CreditCard map to Desktop purchase families."
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
"case": "List query STARTPOSITION > 1 across multi-type families",
|
|
2216
|
-
"error": "UNSUPPORTED_QUERY",
|
|
2217
|
-
"note": "Deep iterator pagination uses the primary Check family only; page-1 and filtered queries merge Check + CreditCardCharge + CreditCardCredit (per-type order concatenated)."
|
|
2218
2350
|
}
|
|
2219
2351
|
]
|
|
2220
2352
|
},
|
|
@@ -2292,7 +2424,7 @@ var CATALOG = {
|
|
|
2292
2424
|
{
|
|
2293
2425
|
"qbo": "POStatus",
|
|
2294
2426
|
"support": "partial",
|
|
2295
|
-
"note": "Open/Closed map to Desktop IsManuallyClosed, a Mod-only element
|
|
2427
|
+
"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."
|
|
2296
2428
|
},
|
|
2297
2429
|
{
|
|
2298
2430
|
"qbo": "APAccountRef",
|
|
@@ -2302,15 +2434,18 @@ var CATALOG = {
|
|
|
2302
2434
|
},
|
|
2303
2435
|
{
|
|
2304
2436
|
"qbo": "CurrencyRef",
|
|
2305
|
-
"support": "
|
|
2306
|
-
"note": "
|
|
2307
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2437
|
+
"support": "partial",
|
|
2438
|
+
"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."
|
|
2308
2439
|
},
|
|
2309
2440
|
{
|
|
2310
2441
|
"qbo": "ExchangeRate",
|
|
2311
|
-
"support": "
|
|
2312
|
-
"note": "
|
|
2313
|
-
|
|
2442
|
+
"support": "partial",
|
|
2443
|
+
"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."
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"qbo": "HomeTotalAmt",
|
|
2447
|
+
"support": "partial",
|
|
2448
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2314
2449
|
}
|
|
2315
2450
|
],
|
|
2316
2451
|
"unsupported": [
|
|
@@ -2318,11 +2453,6 @@ var CATALOG = {
|
|
|
2318
2453
|
"case": "AccountBasedExpenseLineDetail on a PurchaseOrder line",
|
|
2319
2454
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2320
2455
|
"note": "Desktop PO lines are item-only. Use ItemBasedExpenseLineDetail, or post a Bill/Purchase for account expenses."
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"case": "POStatus Closed on create",
|
|
2324
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2325
|
-
"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."
|
|
2326
2456
|
}
|
|
2327
2457
|
]
|
|
2328
2458
|
},
|
|
@@ -2369,7 +2499,7 @@ var CATALOG = {
|
|
|
2369
2499
|
"group": "sales",
|
|
2370
2500
|
"read": "partial",
|
|
2371
2501
|
"write": "partial",
|
|
2372
|
-
"headline": "
|
|
2502
|
+
"headline": "Refunds of applied credits by card (ARRefundCreditCard) or by check (a Check applied to the credit memo); not general item-line refunds",
|
|
2373
2503
|
"fields": [
|
|
2374
2504
|
{
|
|
2375
2505
|
"qbo": "CustomerRef",
|
|
@@ -2383,11 +2513,27 @@ var CATALOG = {
|
|
|
2383
2513
|
{
|
|
2384
2514
|
"qbo": "PaymentMethodRef",
|
|
2385
2515
|
"support": "full",
|
|
2386
|
-
"note": "
|
|
2516
|
+
"note": "Card refunds: must be a credit-card payment method in the company file. Check refunds: not applicable, a 2010 fault if sent."
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"qbo": "RefundMethod",
|
|
2520
|
+
"support": "full",
|
|
2521
|
+
"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."
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"qbo": "ARAccountRef",
|
|
2525
|
+
"support": "full",
|
|
2526
|
+
"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."
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"qbo": "PrintStatus",
|
|
2530
|
+
"support": "partial",
|
|
2531
|
+
"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."
|
|
2387
2532
|
},
|
|
2388
2533
|
{
|
|
2389
2534
|
"qbo": "TxnDate",
|
|
2390
|
-
"support": "full"
|
|
2535
|
+
"support": "full",
|
|
2536
|
+
"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."
|
|
2391
2537
|
},
|
|
2392
2538
|
{
|
|
2393
2539
|
"qbo": "DocNumber",
|
|
@@ -2401,7 +2547,7 @@ var CATALOG = {
|
|
|
2401
2547
|
{
|
|
2402
2548
|
"qbo": "Line",
|
|
2403
2549
|
"support": "partial",
|
|
2404
|
-
"note": "LinkedTxn credit-memo applications \u2192 RefundAppliedToTxnAdd only. At least one Line is required on create
|
|
2550
|
+
"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).`
|
|
2405
2551
|
},
|
|
2406
2552
|
{
|
|
2407
2553
|
"qbo": "TotalAmt",
|
|
@@ -2410,27 +2556,30 @@ var CATALOG = {
|
|
|
2410
2556
|
},
|
|
2411
2557
|
{
|
|
2412
2558
|
"qbo": "CurrencyRef",
|
|
2413
|
-
"support": "
|
|
2414
|
-
"note": "
|
|
2415
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2559
|
+
"support": "partial",
|
|
2560
|
+
"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."
|
|
2416
2561
|
},
|
|
2417
2562
|
{
|
|
2418
2563
|
"qbo": "ExchangeRate",
|
|
2419
|
-
"support": "
|
|
2420
|
-
"note": "
|
|
2421
|
-
|
|
2564
|
+
"support": "partial",
|
|
2565
|
+
"note": "Read on multicurrency files only. Accepted and ignored on write."
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
"qbo": "HomeTotalAmt",
|
|
2569
|
+
"support": "partial",
|
|
2570
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from the check refund AmountInHomeCurrency. Accepted and ignored on write."
|
|
2422
2571
|
}
|
|
2423
2572
|
],
|
|
2424
2573
|
"unsupported": [
|
|
2425
2574
|
{
|
|
2426
2575
|
"case": "Item-line RefundReceipt (SalesItemLineDetail etc.)",
|
|
2427
2576
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2428
|
-
"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
|
|
2577
|
+
"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)."
|
|
2429
2578
|
},
|
|
2430
2579
|
{
|
|
2431
2580
|
"case": "Update / sparse update",
|
|
2432
2581
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2433
|
-
"note": "ARRefundCreditCard has
|
|
2582
|
+
"note": "Neither refund family (ARRefundCreditCard or Check applied to a credit memo) has an update path in this release. Delete and create again."
|
|
2434
2583
|
}
|
|
2435
2584
|
]
|
|
2436
2585
|
},
|
|
@@ -2477,7 +2626,7 @@ var CATALOG = {
|
|
|
2477
2626
|
"group": "platform",
|
|
2478
2627
|
"read": "partial",
|
|
2479
2628
|
"write": "none",
|
|
2480
|
-
"headline": "
|
|
2629
|
+
"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.",
|
|
2481
2630
|
"usage": "GET /v3/company/{companyId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31&summarize_column_by=Month",
|
|
2482
2631
|
"fields": [
|
|
2483
2632
|
{
|
|
@@ -2520,6 +2669,16 @@ var CATALOG = {
|
|
|
2520
2669
|
"support": "partial",
|
|
2521
2670
|
"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."
|
|
2522
2671
|
},
|
|
2672
|
+
{
|
|
2673
|
+
"qbo": "InventoryValuationDetail / TransactionListByCustomer / TransactionListByVendor",
|
|
2674
|
+
"support": "partial",
|
|
2675
|
+
"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."
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"qbo": "TaxSummary",
|
|
2679
|
+
"support": "partial",
|
|
2680
|
+
"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."
|
|
2681
|
+
},
|
|
2523
2682
|
{
|
|
2524
2683
|
"qbo": "CustomerBalanceDetail / VendorBalanceDetail",
|
|
2525
2684
|
"support": "partial",
|
|
@@ -2530,6 +2689,21 @@ var CATALOG = {
|
|
|
2530
2689
|
"support": "partial",
|
|
2531
2690
|
"note": "AgingReportQueryRq ARAgingDetail / APAgingDetail, as-of (report_date), with the receivable (customer) or payable (vendor) filter. ColKeys best-effort."
|
|
2532
2691
|
},
|
|
2692
|
+
{
|
|
2693
|
+
"qbo": "CashFlow",
|
|
2694
|
+
"support": "partial",
|
|
2695
|
+
"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)."
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"qbo": "AccountList",
|
|
2699
|
+
"support": "partial",
|
|
2700
|
+
"note": "Built from Desktop's account list (AccountQueryRq). Desktop has no account detail type, so that column is absent."
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"qbo": "Desktop extension reports",
|
|
2704
|
+
"support": "full",
|
|
2705
|
+
"note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport. Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
|
|
2706
|
+
},
|
|
2533
2707
|
{
|
|
2534
2708
|
"qbo": "start_date / end_date / date_macro",
|
|
2535
2709
|
"support": "full",
|
|
@@ -2558,6 +2732,30 @@ var CATALOG = {
|
|
|
2558
2732
|
"note": "Comma-separated Ids \u2192 ReportEntityFilter (customer + vendor) / ReportItemFilter / ReportClassFilter. AR reports accept customer only, AP reports vendor only; InventoryValuationSummary accepts item only.",
|
|
2559
2733
|
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2560
2734
|
},
|
|
2735
|
+
{
|
|
2736
|
+
"qbo": "account / account_type",
|
|
2737
|
+
"support": "partial",
|
|
2738
|
+
"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.",
|
|
2739
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"qbo": "transaction_type",
|
|
2743
|
+
"support": "partial",
|
|
2744
|
+
"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).",
|
|
2745
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"qbo": "start_moddate / end_moddate",
|
|
2749
|
+
"support": "partial",
|
|
2750
|
+
"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.",
|
|
2751
|
+
"error": "REPORT_INVALID_DATE"
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
"qbo": "columns",
|
|
2755
|
+
"support": "partial",
|
|
2756
|
+
"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.",
|
|
2757
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2758
|
+
},
|
|
2561
2759
|
{
|
|
2562
2760
|
"qbo": "Column titles",
|
|
2563
2761
|
"support": "partial",
|
|
@@ -2566,14 +2764,9 @@ var CATALOG = {
|
|
|
2566
2764
|
],
|
|
2567
2765
|
"unsupported": [
|
|
2568
2766
|
{
|
|
2569
|
-
"case": "
|
|
2570
|
-
"error": "REPORT_UNKNOWN",
|
|
2571
|
-
"note": "QuickBooks Desktop's SDK has no cash-flow report (StatementOfCashFlows is refused with 3110 on every qbXML version)."
|
|
2572
|
-
},
|
|
2573
|
-
{
|
|
2574
|
-
"case": "columns / department / qzurl / adjusted_gain_loss",
|
|
2767
|
+
"case": "department / qzurl / adjusted_gain_loss",
|
|
2575
2768
|
"error": "REPORT_UNSUPPORTED_OPTION",
|
|
2576
|
-
"note": "
|
|
2769
|
+
"note": "Desktop has no departments (use class); QuickZoom URLs and multicurrency gain/loss adjustment are QBO-only."
|
|
2577
2770
|
},
|
|
2578
2771
|
{
|
|
2579
2772
|
"case": "aging_period / num_periods / aging_method",
|
|
@@ -2586,7 +2779,17 @@ var CATALOG = {
|
|
|
2586
2779
|
"note": "qbXML's SummarizeColumnsBy has no per-item, per-employee or per-location split (ItemType splits by item type, not by item)."
|
|
2587
2780
|
},
|
|
2588
2781
|
{
|
|
2589
|
-
"case": "
|
|
2782
|
+
"case": "ClassSales / DepartmentSales",
|
|
2783
|
+
"error": "REPORT_UNKNOWN",
|
|
2784
|
+
"note": "No Desktop SDK report. Use ProfitAndLoss?summarize_column_by=Classes."
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"case": "TransactionListWithSplits",
|
|
2788
|
+
"error": "REPORT_UNKNOWN",
|
|
2789
|
+
"note": "No Desktop SDK report of that name. Use JournalReport."
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"case": "other QBO report names",
|
|
2590
2793
|
"error": "REPORT_UNKNOWN",
|
|
2591
2794
|
"note": "Not shipped. The fault lists the supported reports."
|
|
2592
2795
|
}
|
|
@@ -2656,12 +2859,12 @@ var CATALOG = {
|
|
|
2656
2859
|
{
|
|
2657
2860
|
"qbo": "Line",
|
|
2658
2861
|
"support": "partial",
|
|
2659
|
-
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
2862
|
+
"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."
|
|
2660
2863
|
},
|
|
2661
2864
|
{
|
|
2662
2865
|
"qbo": "TxnTaxDetail",
|
|
2663
2866
|
"support": "partial",
|
|
2664
|
-
"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
|
|
2867
|
+
"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)."
|
|
2665
2868
|
},
|
|
2666
2869
|
{
|
|
2667
2870
|
"qbo": "LinkedTxn",
|
|
@@ -2681,12 +2884,17 @@ var CATALOG = {
|
|
|
2681
2884
|
{
|
|
2682
2885
|
"qbo": "CurrencyRef",
|
|
2683
2886
|
"support": "partial",
|
|
2684
|
-
"note": "
|
|
2887
|
+
"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."
|
|
2685
2888
|
},
|
|
2686
2889
|
{
|
|
2687
2890
|
"qbo": "ExchangeRate",
|
|
2688
2891
|
"support": "partial",
|
|
2689
|
-
"note": "
|
|
2892
|
+
"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."
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"qbo": "HomeTotalAmt",
|
|
2896
|
+
"support": "partial",
|
|
2897
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2690
2898
|
},
|
|
2691
2899
|
{
|
|
2692
2900
|
"qbo": "operation=void",
|
|
@@ -2846,28 +3054,48 @@ var CATALOG = {
|
|
|
2846
3054
|
},
|
|
2847
3055
|
"TaxPayment": {
|
|
2848
3056
|
"entity": "TaxPayment",
|
|
2849
|
-
"verdict": "
|
|
2850
|
-
"group": "
|
|
2851
|
-
"read": "
|
|
3057
|
+
"verdict": "live",
|
|
3058
|
+
"group": "transactions",
|
|
3059
|
+
"read": "partial",
|
|
2852
3060
|
"write": "none",
|
|
2853
|
-
"headline": "Desktop
|
|
2854
|
-
"fields": [
|
|
2855
|
-
"unsupported": [
|
|
3061
|
+
"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.",
|
|
3062
|
+
"fields": [
|
|
2856
3063
|
{
|
|
2857
|
-
"
|
|
2858
|
-
"
|
|
2859
|
-
"note": "
|
|
2860
|
-
"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."
|
|
3064
|
+
"qbo": "PaymentDate",
|
|
3065
|
+
"support": "full",
|
|
3066
|
+
"note": "Desktop TxnDate. Emitted as PaymentDate, the key in Intuit's Read and Query samples; Intuit's attribute table names it TxnDate."
|
|
2861
3067
|
},
|
|
2862
3068
|
{
|
|
2863
|
-
"
|
|
3069
|
+
"qbo": "PaymentAmount",
|
|
3070
|
+
"support": "full",
|
|
3071
|
+
"note": "Desktop Amount."
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"qbo": "PaymentAccountRef",
|
|
3075
|
+
"support": "full",
|
|
3076
|
+
"note": "Desktop BankAccountRef."
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"qbo": "Description",
|
|
3080
|
+
"support": "full",
|
|
3081
|
+
"note": "Desktop Memo."
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"qbo": "Refund",
|
|
3085
|
+
"support": "full",
|
|
3086
|
+
"note": "Always false: a Desktop sales tax payment check is a payment, and a refund is recorded as a Deposit."
|
|
3087
|
+
}
|
|
3088
|
+
],
|
|
3089
|
+
"unsupported": [
|
|
3090
|
+
{
|
|
3091
|
+
"case": "Tax agency, check number and per-item amounts",
|
|
2864
3092
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2865
|
-
"note": "
|
|
3093
|
+
"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."
|
|
2866
3094
|
},
|
|
2867
3095
|
{
|
|
2868
3096
|
"case": "create",
|
|
2869
3097
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2870
|
-
"note": "QBO's TaxPayment is read-only via the API; TenkeyBridge matches that."
|
|
3098
|
+
"note": "QBO's TaxPayment is read-only via the API; TenkeyBridge matches that. Record the payment in QuickBooks Desktop."
|
|
2871
3099
|
},
|
|
2872
3100
|
{
|
|
2873
3101
|
"case": "update",
|
|
@@ -2886,80 +3114,104 @@ var CATALOG = {
|
|
|
2886
3114
|
"verdict": "live",
|
|
2887
3115
|
"group": "lists",
|
|
2888
3116
|
"read": "full",
|
|
2889
|
-
"write": "
|
|
2890
|
-
"headline": "Read
|
|
3117
|
+
"write": "partial",
|
|
3118
|
+
"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.",
|
|
2891
3119
|
"fields": [
|
|
2892
3120
|
{
|
|
2893
3121
|
"qbo": "Name",
|
|
2894
|
-
"support": "full"
|
|
3122
|
+
"support": "full",
|
|
3123
|
+
"note": "Create and update. Max 31 characters, rejected up front with a 400 (2050). Required on create."
|
|
2895
3124
|
},
|
|
2896
3125
|
{
|
|
2897
3126
|
"qbo": "Active",
|
|
2898
|
-
"support": "full"
|
|
3127
|
+
"support": "full",
|
|
3128
|
+
"note": "Create and update (Desktop IsActive). Deactivate with a sparse update of Active false."
|
|
2899
3129
|
},
|
|
2900
3130
|
{
|
|
2901
3131
|
"qbo": "RateValue",
|
|
2902
3132
|
"support": "full",
|
|
2903
|
-
"note": "Desktop TaxRate percentage."
|
|
3133
|
+
"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."
|
|
2904
3134
|
},
|
|
2905
3135
|
{
|
|
2906
3136
|
"qbo": "Description",
|
|
2907
3137
|
"support": "full",
|
|
2908
|
-
"note": "Desktop ItemDesc."
|
|
3138
|
+
"note": "Desktop ItemDesc. Create and update."
|
|
2909
3139
|
},
|
|
2910
3140
|
{
|
|
2911
3141
|
"qbo": "AgencyRef",
|
|
2912
3142
|
"support": "full",
|
|
2913
|
-
"note": "Desktop TaxVendorRef
|
|
3143
|
+
"note": "Desktop TaxVendorRef, the tax agency Vendor. Required on create."
|
|
2914
3144
|
}
|
|
2915
3145
|
],
|
|
2916
3146
|
"unsupported": [
|
|
2917
3147
|
{
|
|
2918
|
-
"case": "Create or update",
|
|
3148
|
+
"case": "Create or update through a QBO client",
|
|
2919
3149
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2920
|
-
"note": "TaxRate
|
|
3150
|
+
"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.",
|
|
3151
|
+
"workaround": "To create a rate together with the tax code that groups it, use POST /taxservice/taxcode."
|
|
2921
3152
|
},
|
|
2922
3153
|
{
|
|
2923
3154
|
"case": "ItemSalesTaxGroup as TaxRate",
|
|
2924
3155
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2925
|
-
"note": "Sales-tax groups are not projected as TaxRate rows. Group members are themselves ItemSalesTax list items and appear as individual TaxRates via ItemSalesTaxQuery."
|
|
3156
|
+
"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."
|
|
2926
3157
|
}
|
|
2927
3158
|
]
|
|
2928
3159
|
},
|
|
2929
3160
|
"TaxService": {
|
|
2930
3161
|
"entity": "TaxService",
|
|
2931
|
-
"verdict": "
|
|
2932
|
-
"group": "
|
|
3162
|
+
"verdict": "live",
|
|
3163
|
+
"group": "platform",
|
|
2933
3164
|
"read": "none",
|
|
2934
|
-
"write": "
|
|
2935
|
-
"headline": "
|
|
2936
|
-
"
|
|
2937
|
-
"
|
|
3165
|
+
"write": "partial",
|
|
3166
|
+
"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.",
|
|
3167
|
+
"usage": "POST /v3/company/{companyId}/taxservice/taxcode",
|
|
3168
|
+
"fields": [
|
|
2938
3169
|
{
|
|
2939
|
-
"
|
|
2940
|
-
"
|
|
2941
|
-
"note": "
|
|
2942
|
-
"workaround": "Create tax rates and codes through TaxRate/TaxCode instead of the AST TaxService flow."
|
|
3170
|
+
"qbo": "TaxCode",
|
|
3171
|
+
"support": "full",
|
|
3172
|
+
"note": "The tax code name, 1 to 31 characters. Becomes a Desktop sales tax group; a name already in use is refused by QuickBooks."
|
|
2943
3173
|
},
|
|
2944
3174
|
{
|
|
2945
|
-
"
|
|
2946
|
-
"
|
|
2947
|
-
"note": "
|
|
3175
|
+
"qbo": "TaxRateDetails.TaxRateName",
|
|
3176
|
+
"support": "full",
|
|
3177
|
+
"note": "Name of a new rate, 1 to 31 characters (a Desktop sales tax item)."
|
|
2948
3178
|
},
|
|
2949
3179
|
{
|
|
2950
|
-
"
|
|
2951
|
-
"
|
|
2952
|
-
"note": "
|
|
3180
|
+
"qbo": "TaxRateDetails.RateValue",
|
|
3181
|
+
"support": "full",
|
|
3182
|
+
"note": "Percentage from 0 to 100."
|
|
2953
3183
|
},
|
|
2954
3184
|
{
|
|
2955
|
-
"
|
|
2956
|
-
"
|
|
2957
|
-
"note": "
|
|
3185
|
+
"qbo": "TaxRateDetails.TaxAgencyId",
|
|
3186
|
+
"support": "full",
|
|
3187
|
+
"note": "The tax agency, a Desktop Vendor Id."
|
|
2958
3188
|
},
|
|
2959
3189
|
{
|
|
2960
|
-
"
|
|
3190
|
+
"qbo": "TaxRateDetails.TaxApplicableOn",
|
|
3191
|
+
"support": "partial",
|
|
3192
|
+
"note": "Sales only. Any other value is UNSUPPORTED_BY_DESKTOP: Desktop sales tax items apply to sales only."
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"qbo": "TaxRateDetails.TaxRateId",
|
|
3196
|
+
"support": "full",
|
|
3197
|
+
"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."
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"qbo": "TaxCodeId",
|
|
3201
|
+
"support": "partial",
|
|
3202
|
+
"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."
|
|
3203
|
+
}
|
|
3204
|
+
],
|
|
3205
|
+
"unsupported": [
|
|
3206
|
+
{
|
|
3207
|
+
"case": "read, query, update, delete",
|
|
2961
3208
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2962
|
-
"note": "TaxService is a
|
|
3209
|
+
"note": "TaxService is a create-only operation. There is no TaxService object to read back; read the rates as TaxRate."
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"case": "Rates created but the tax code not",
|
|
3213
|
+
"error": "TAX_CODE_PARTIAL",
|
|
3214
|
+
"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."
|
|
2963
3215
|
}
|
|
2964
3216
|
]
|
|
2965
3217
|
},
|
|
@@ -3034,7 +3286,7 @@ var CATALOG = {
|
|
|
3034
3286
|
"group": "lists",
|
|
3035
3287
|
"read": "full",
|
|
3036
3288
|
"write": "partial",
|
|
3037
|
-
"headline": "Employee time
|
|
3289
|
+
"headline": "Employee and vendor time; Duration compiled from Hours/Minutes or a StartTime/EndTime span",
|
|
3038
3290
|
"fields": [
|
|
3039
3291
|
{
|
|
3040
3292
|
"qbo": "TxnDate",
|
|
@@ -3042,13 +3294,18 @@ var CATALOG = {
|
|
|
3042
3294
|
},
|
|
3043
3295
|
{
|
|
3044
3296
|
"qbo": "NameOf",
|
|
3045
|
-
"support": "
|
|
3046
|
-
"note":
|
|
3297
|
+
"support": "full",
|
|
3298
|
+
"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."
|
|
3047
3299
|
},
|
|
3048
3300
|
{
|
|
3049
3301
|
"qbo": "EmployeeRef",
|
|
3050
3302
|
"support": "full",
|
|
3051
|
-
"note": "Required; Desktop EntityRef. Missing value returns 2020."
|
|
3303
|
+
"note": "Required when NameOf is Employee or omitted; Desktop EntityRef. Missing value returns 2020. Sending EmployeeRef together with VendorRef returns 2010."
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
"qbo": "VendorRef",
|
|
3307
|
+
"support": "full",
|
|
3308
|
+
"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."
|
|
3052
3309
|
},
|
|
3053
3310
|
{
|
|
3054
3311
|
"qbo": "CustomerRef",
|
|
@@ -3112,12 +3369,12 @@ var CATALOG = {
|
|
|
3112
3369
|
{
|
|
3113
3370
|
"qbo": "HourlyRate",
|
|
3114
3371
|
"support": "partial",
|
|
3115
|
-
"note":
|
|
3372
|
+
"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.'
|
|
3116
3373
|
},
|
|
3117
3374
|
{
|
|
3118
3375
|
"qbo": "CostRate",
|
|
3119
3376
|
"support": "partial",
|
|
3120
|
-
"note": "Accepted and ignored
|
|
3377
|
+
"note": "Accepted and ignored. Desktop time tracking has no cost-rate element."
|
|
3121
3378
|
},
|
|
3122
3379
|
{
|
|
3123
3380
|
"qbo": "Taxable",
|
|
@@ -3132,12 +3389,12 @@ var CATALOG = {
|
|
|
3132
3389
|
{
|
|
3133
3390
|
"qbo": "CurrencyRef",
|
|
3134
3391
|
"support": "partial",
|
|
3135
|
-
"note": "Accepted and ignored
|
|
3392
|
+
"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)."
|
|
3136
3393
|
},
|
|
3137
3394
|
{
|
|
3138
3395
|
"qbo": "ExchangeRate",
|
|
3139
3396
|
"support": "partial",
|
|
3140
|
-
"note": "Accepted and ignored
|
|
3397
|
+
"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)."
|
|
3141
3398
|
},
|
|
3142
3399
|
{
|
|
3143
3400
|
"qbo": "PayrollItemRef",
|
|
@@ -3152,13 +3409,7 @@ var CATALOG = {
|
|
|
3152
3409
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3153
3410
|
}
|
|
3154
3411
|
],
|
|
3155
|
-
"unsupported": [
|
|
3156
|
-
{
|
|
3157
|
-
"case": 'Vendor/contractor time (NameOf: "Vendor", or a VendorRef)',
|
|
3158
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
3159
|
-
"note": "Only employee time is supported this release; vendor/contractor time tracking lands in a later TenkeyBridge release."
|
|
3160
|
-
}
|
|
3161
|
-
]
|
|
3412
|
+
"unsupported": []
|
|
3162
3413
|
},
|
|
3163
3414
|
"Transfer": {
|
|
3164
3415
|
"entity": "Transfer",
|
|
@@ -3192,15 +3443,13 @@ var CATALOG = {
|
|
|
3192
3443
|
},
|
|
3193
3444
|
{
|
|
3194
3445
|
"qbo": "CurrencyRef",
|
|
3195
|
-
"support": "
|
|
3196
|
-
"note": "
|
|
3197
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3446
|
+
"support": "partial",
|
|
3447
|
+
"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)."
|
|
3198
3448
|
},
|
|
3199
3449
|
{
|
|
3200
3450
|
"qbo": "ExchangeRate",
|
|
3201
|
-
"support": "
|
|
3202
|
-
"note": "
|
|
3203
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3451
|
+
"support": "partial",
|
|
3452
|
+
"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)."
|
|
3204
3453
|
}
|
|
3205
3454
|
],
|
|
3206
3455
|
"unsupported": [
|
|
@@ -3299,12 +3548,12 @@ var CATALOG = {
|
|
|
3299
3548
|
{
|
|
3300
3549
|
"qbo": "CurrencyRef",
|
|
3301
3550
|
"support": "partial",
|
|
3302
|
-
"note": "
|
|
3551
|
+
"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)."
|
|
3303
3552
|
},
|
|
3304
3553
|
{
|
|
3305
3554
|
"qbo": "ExchangeRate",
|
|
3306
3555
|
"support": "partial",
|
|
3307
|
-
"note": "
|
|
3556
|
+
"note": "Not a Desktop vendor field. Accepted and ignored."
|
|
3308
3557
|
}
|
|
3309
3558
|
],
|
|
3310
3559
|
"unsupported": []
|
|
@@ -3314,7 +3563,7 @@ var CATALOG = {
|
|
|
3314
3563
|
"verdict": "live",
|
|
3315
3564
|
"group": "purchasing",
|
|
3316
3565
|
"read": "full",
|
|
3317
|
-
"write": "
|
|
3566
|
+
"write": "full",
|
|
3318
3567
|
"headline": "Bill mirror image \u2014 expense and item lines",
|
|
3319
3568
|
"fields": [
|
|
3320
3569
|
{
|
|
@@ -3341,7 +3590,7 @@ var CATALOG = {
|
|
|
3341
3590
|
{
|
|
3342
3591
|
"qbo": "Line",
|
|
3343
3592
|
"support": "full",
|
|
3344
|
-
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery.
|
|
3593
|
+
"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."
|
|
3345
3594
|
},
|
|
3346
3595
|
{
|
|
3347
3596
|
"qbo": "TotalAmt",
|
|
@@ -3355,15 +3604,23 @@ var CATALOG = {
|
|
|
3355
3604
|
},
|
|
3356
3605
|
{
|
|
3357
3606
|
"qbo": "CurrencyRef",
|
|
3358
|
-
"support": "
|
|
3359
|
-
"note": "
|
|
3360
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3607
|
+
"support": "partial",
|
|
3608
|
+
"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."
|
|
3361
3609
|
},
|
|
3362
3610
|
{
|
|
3363
3611
|
"qbo": "ExchangeRate",
|
|
3364
|
-
"support": "
|
|
3365
|
-
"note": "
|
|
3366
|
-
|
|
3612
|
+
"support": "partial",
|
|
3613
|
+
"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."
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"qbo": "HomeTotalAmt",
|
|
3617
|
+
"support": "partial",
|
|
3618
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop CreditAmountInHomeCurrency. Accepted and ignored on write."
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
"qbo": "operation=void",
|
|
3622
|
+
"support": "partial",
|
|
3623
|
+
"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)."
|
|
3367
3624
|
}
|
|
3368
3625
|
],
|
|
3369
3626
|
"unsupported": []
|
|
@@ -3506,7 +3763,7 @@ function unknownEntity(name) {
|
|
|
3506
3763
|
if (gap) {
|
|
3507
3764
|
if (gap.verdict === "live") {
|
|
3508
3765
|
return fail(
|
|
3509
|
-
`${gap.entity} is a platform endpoint, not reachable through this server's entity tools. Call the REST API directly: ${gap.usage}
|
|
3766
|
+
`${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()}`
|
|
3510
3767
|
);
|
|
3511
3768
|
}
|
|
3512
3769
|
const cases = gap.unsupported.map((u) => `- ${u.case}: ${u.error}${u.workaround ? ` \u2014 workaround: ${u.workaround}` : ""}`).join("\n");
|
|
@@ -3554,6 +3811,24 @@ function registerTools(server, client) {
|
|
|
3554
3811
|
}
|
|
3555
3812
|
}
|
|
3556
3813
|
);
|
|
3814
|
+
server.registerTool(
|
|
3815
|
+
"run_report",
|
|
3816
|
+
{
|
|
3817
|
+
description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns. Read compat://entity/reports for the available reports and which params each takes.",
|
|
3818
|
+
inputSchema: {
|
|
3819
|
+
report: import_zod.z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
|
|
3820
|
+
params: import_zod.z.record(import_zod.z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
|
|
3821
|
+
}
|
|
3822
|
+
},
|
|
3823
|
+
async ({ report, params }) => {
|
|
3824
|
+
if (!client.report) return fail("This TenkeyBridge client has no report() method; upgrade @tenkeybridge/client to 0.5.0.");
|
|
3825
|
+
try {
|
|
3826
|
+
return ok(await client.report(report, params ?? {}));
|
|
3827
|
+
} catch (err) {
|
|
3828
|
+
return failure(err);
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
);
|
|
3557
3832
|
server.registerTool(
|
|
3558
3833
|
"get",
|
|
3559
3834
|
{
|
|
@@ -3644,7 +3919,7 @@ function registerTools(server, client) {
|
|
|
3644
3919
|
server.registerTool(
|
|
3645
3920
|
"void",
|
|
3646
3921
|
{
|
|
3647
|
-
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.',
|
|
3922
|
+
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.',
|
|
3648
3923
|
inputSchema: {
|
|
3649
3924
|
entity: entityArg,
|
|
3650
3925
|
id: import_zod.z.string(),
|
|
@@ -3668,7 +3943,7 @@ function registerTools(server, client) {
|
|
|
3668
3943
|
}
|
|
3669
3944
|
|
|
3670
3945
|
// src/version.ts
|
|
3671
|
-
var PKG_VERSION = "0.
|
|
3946
|
+
var PKG_VERSION = "0.6.0";
|
|
3672
3947
|
|
|
3673
3948
|
// src/server.ts
|
|
3674
3949
|
var SERVER_NAME = "tenkeybridge";
|