@tenkeybridge/mcp 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +590 -244
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +590 -244
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +590 -244
- 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",
|
|
@@ -802,15 +851,35 @@ var CATALOG = {
|
|
|
802
851
|
"support": "full",
|
|
803
852
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
804
853
|
},
|
|
854
|
+
{
|
|
855
|
+
"qbo": "ProjectRef",
|
|
856
|
+
"support": "full",
|
|
857
|
+
"note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"qbo": "EmailStatus",
|
|
861
|
+
"support": "partial",
|
|
862
|
+
"note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"qbo": "PrintStatus",
|
|
866
|
+
"support": "partial",
|
|
867
|
+
"note": "Maps to Desktop IsToBePrinted. NeedToPrint writes true; NotSet and PrintComplete write false. Read: true is NeedToPrint, false is NotSet. Desktop does not record that a form was printed, so PrintComplete is never returned."
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"qbo": "BillEmail",
|
|
871
|
+
"support": "partial",
|
|
872
|
+
"note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
|
|
873
|
+
},
|
|
805
874
|
{
|
|
806
875
|
"qbo": "Line",
|
|
807
876
|
"support": "partial",
|
|
808
|
-
"note": "Same DetailType support as Invoice: SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; DiscountLineDetail
|
|
877
|
+
"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
878
|
},
|
|
810
879
|
{
|
|
811
880
|
"qbo": "TxnTaxDetail",
|
|
812
881
|
"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)."
|
|
882
|
+
"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
883
|
},
|
|
815
884
|
{
|
|
816
885
|
"qbo": "LinkedTxn",
|
|
@@ -834,16 +903,15 @@ var CATALOG = {
|
|
|
834
903
|
},
|
|
835
904
|
{
|
|
836
905
|
"qbo": "ApplyTaxAfterDiscount",
|
|
837
|
-
"support": "
|
|
838
|
-
"note": "
|
|
839
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
906
|
+
"support": "partial",
|
|
907
|
+
"note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
|
|
840
908
|
}
|
|
841
909
|
],
|
|
842
910
|
"unsupported": [
|
|
843
911
|
{
|
|
844
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
912
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
845
913
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
846
|
-
"note": "Desktop discounts are items and
|
|
914
|
+
"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
915
|
},
|
|
848
916
|
{
|
|
849
917
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
@@ -851,9 +919,9 @@ var CATALOG = {
|
|
|
851
919
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
852
920
|
},
|
|
853
921
|
{
|
|
854
|
-
"case": "ApplyTaxAfterDiscount
|
|
922
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
855
923
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
856
|
-
"note": "Desktop
|
|
924
|
+
"note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
|
|
857
925
|
}
|
|
858
926
|
]
|
|
859
927
|
},
|
|
@@ -965,6 +1033,11 @@ var CATALOG = {
|
|
|
965
1033
|
"support": "full",
|
|
966
1034
|
"note": "Read-only, derived by Desktop Sublevel."
|
|
967
1035
|
},
|
|
1036
|
+
{
|
|
1037
|
+
"qbo": "IsProject",
|
|
1038
|
+
"support": "full",
|
|
1039
|
+
"note": "A QBO project is a sub-customer, and a Desktop job is the same thing, so IsProject reads true for any customer under a parent (Desktop Sublevel above 0), exactly like Job. On create or update IsProject: true needs ParentRef (400 2020 without one) and is not sent, because the parent already makes it a job; IsProject: false with a ParentRef is a contradiction (400 2010). select * from Customer where IsProject = true works. A Desktop job can sit under another job, so project here means any Desktop job; QBO projects are one level deep. Jobs are reachable from transactions through ProjectRef."
|
|
1040
|
+
},
|
|
968
1041
|
{
|
|
969
1042
|
"qbo": "CustomField",
|
|
970
1043
|
"support": "partial",
|
|
@@ -973,12 +1046,12 @@ var CATALOG = {
|
|
|
973
1046
|
{
|
|
974
1047
|
"qbo": "CurrencyRef",
|
|
975
1048
|
"support": "partial",
|
|
976
|
-
"note": "
|
|
1049
|
+
"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
1050
|
},
|
|
978
1051
|
{
|
|
979
1052
|
"qbo": "ExchangeRate",
|
|
980
1053
|
"support": "partial",
|
|
981
|
-
"note": "
|
|
1054
|
+
"note": "Not a Desktop customer field. Accepted and ignored."
|
|
982
1055
|
},
|
|
983
1056
|
{
|
|
984
1057
|
"qbo": "PreferredPaymentMethodRef",
|
|
@@ -1154,12 +1227,12 @@ var CATALOG = {
|
|
|
1154
1227
|
{
|
|
1155
1228
|
"qbo": "Line",
|
|
1156
1229
|
"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
|
|
1230
|
+
"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
1231
|
},
|
|
1159
1232
|
{
|
|
1160
1233
|
"qbo": "CashBack",
|
|
1161
1234
|
"support": "partial",
|
|
1162
|
-
"note": "Create and read map to Desktop CashBackInfo.
|
|
1235
|
+
"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
1236
|
},
|
|
1164
1237
|
{
|
|
1165
1238
|
"qbo": "TotalAmt",
|
|
@@ -1168,15 +1241,23 @@ var CATALOG = {
|
|
|
1168
1241
|
},
|
|
1169
1242
|
{
|
|
1170
1243
|
"qbo": "CurrencyRef",
|
|
1171
|
-
"support": "
|
|
1172
|
-
"note": "
|
|
1173
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1244
|
+
"support": "partial",
|
|
1245
|
+
"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
1246
|
},
|
|
1175
1247
|
{
|
|
1176
1248
|
"qbo": "ExchangeRate",
|
|
1177
|
-
"support": "
|
|
1178
|
-
"note": "
|
|
1179
|
-
|
|
1249
|
+
"support": "partial",
|
|
1250
|
+
"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."
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"qbo": "HomeTotalAmt",
|
|
1254
|
+
"support": "partial",
|
|
1255
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop DepositTotalInHomeCurrency. Accepted and ignored on write."
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"qbo": "operation=void",
|
|
1259
|
+
"support": "partial",
|
|
1260
|
+
"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
1261
|
}
|
|
1181
1262
|
],
|
|
1182
1263
|
"unsupported": []
|
|
@@ -1187,7 +1268,7 @@ var CATALOG = {
|
|
|
1187
1268
|
"group": "lists",
|
|
1188
1269
|
"read": "full",
|
|
1189
1270
|
"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",
|
|
1271
|
+
"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
1272
|
"fields": [
|
|
1192
1273
|
{
|
|
1193
1274
|
"qbo": "GivenName",
|
|
@@ -1218,7 +1299,7 @@ var CATALOG = {
|
|
|
1218
1299
|
{
|
|
1219
1300
|
"qbo": "Active",
|
|
1220
1301
|
"support": "full",
|
|
1221
|
-
"note": "Deactivate with a sparse update of Active:false
|
|
1302
|
+
"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
1303
|
},
|
|
1223
1304
|
{
|
|
1224
1305
|
"qbo": "PrimaryPhone",
|
|
@@ -1266,15 +1347,13 @@ var CATALOG = {
|
|
|
1266
1347
|
},
|
|
1267
1348
|
{
|
|
1268
1349
|
"qbo": "EmployeeNumber",
|
|
1269
|
-
"support": "
|
|
1270
|
-
"note": "Desktop
|
|
1271
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1350
|
+
"support": "full",
|
|
1351
|
+
"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
1352
|
},
|
|
1273
1353
|
{
|
|
1274
1354
|
"qbo": "TargetBonus",
|
|
1275
|
-
"support": "
|
|
1276
|
-
"note": "Desktop payroll
|
|
1277
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1355
|
+
"support": "full",
|
|
1356
|
+
"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
1357
|
},
|
|
1279
1358
|
{
|
|
1280
1359
|
"qbo": "AdditionalContactRef",
|
|
@@ -1287,7 +1366,7 @@ var CATALOG = {
|
|
|
1287
1366
|
{
|
|
1288
1367
|
"case": "Delete",
|
|
1289
1368
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1290
|
-
"note": "QBO employees are deactivated, not deleted
|
|
1369
|
+
"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
1370
|
},
|
|
1292
1371
|
{
|
|
1293
1372
|
"case": "Payroll fields",
|
|
@@ -1396,15 +1475,36 @@ var CATALOG = {
|
|
|
1396
1475
|
"support": "full",
|
|
1397
1476
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
1398
1477
|
},
|
|
1478
|
+
{
|
|
1479
|
+
"qbo": "ProjectRef",
|
|
1480
|
+
"support": "full",
|
|
1481
|
+
"note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"qbo": "EmailStatus",
|
|
1485
|
+
"support": "partial",
|
|
1486
|
+
"note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"qbo": "PrintStatus",
|
|
1490
|
+
"support": "none",
|
|
1491
|
+
"note": "Desktop estimates have no to-be-printed flag. NotSet (the QBO default) is accepted and sends nothing; NeedToPrint and PrintComplete are refused with UNSUPPORTED_BY_DESKTOP. Never returned on read.",
|
|
1492
|
+
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"qbo": "BillEmail",
|
|
1496
|
+
"support": "partial",
|
|
1497
|
+
"note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
|
|
1498
|
+
},
|
|
1399
1499
|
{
|
|
1400
1500
|
"qbo": "Line",
|
|
1401
1501
|
"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
|
|
1502
|
+
"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
1503
|
},
|
|
1404
1504
|
{
|
|
1405
1505
|
"qbo": "TxnTaxDetail",
|
|
1406
1506
|
"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
|
|
1507
|
+
"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
1508
|
},
|
|
1409
1509
|
{
|
|
1410
1510
|
"qbo": "LinkedTxn",
|
|
@@ -1424,12 +1524,17 @@ var CATALOG = {
|
|
|
1424
1524
|
{
|
|
1425
1525
|
"qbo": "CurrencyRef",
|
|
1426
1526
|
"support": "partial",
|
|
1427
|
-
"note": "
|
|
1527
|
+
"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
1528
|
},
|
|
1429
1529
|
{
|
|
1430
1530
|
"qbo": "ExchangeRate",
|
|
1431
1531
|
"support": "partial",
|
|
1432
|
-
"note": "
|
|
1532
|
+
"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."
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"qbo": "HomeTotalAmt",
|
|
1536
|
+
"support": "partial",
|
|
1537
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
1433
1538
|
},
|
|
1434
1539
|
{
|
|
1435
1540
|
"qbo": "AcceptedBy",
|
|
@@ -1442,18 +1547,28 @@ var CATALOG = {
|
|
|
1442
1547
|
"support": "none",
|
|
1443
1548
|
"note": "Desktop estimates have no accepted-date field. Track acceptance in your own system.",
|
|
1444
1549
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
1553
|
+
"support": "partial",
|
|
1554
|
+
"note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
|
|
1445
1555
|
}
|
|
1446
1556
|
],
|
|
1447
1557
|
"unsupported": [
|
|
1448
1558
|
{
|
|
1449
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
1559
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
1450
1560
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
1451
|
-
"note": "Desktop discounts are items and
|
|
1561
|
+
"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
1562
|
},
|
|
1453
1563
|
{
|
|
1454
1564
|
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
1455
1565
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1456
1566
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
1570
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1571
|
+
"note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
|
|
1457
1572
|
}
|
|
1458
1573
|
]
|
|
1459
1574
|
},
|
|
@@ -1463,7 +1578,7 @@ var CATALOG = {
|
|
|
1463
1578
|
"group": "lists",
|
|
1464
1579
|
"read": "partial",
|
|
1465
1580
|
"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 [])",
|
|
1581
|
+
"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
1582
|
"fields": [
|
|
1468
1583
|
{
|
|
1469
1584
|
"qbo": "SourceCurrencyCode",
|
|
@@ -1482,21 +1597,25 @@ var CATALOG = {
|
|
|
1482
1597
|
},
|
|
1483
1598
|
{
|
|
1484
1599
|
"qbo": "TargetCurrencyCode",
|
|
1485
|
-
"support": "
|
|
1486
|
-
"note": "
|
|
1487
|
-
|
|
1600
|
+
"support": "full",
|
|
1601
|
+
"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."
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"qbo": "keyed lookup",
|
|
1605
|
+
"support": "full",
|
|
1606
|
+
"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
1607
|
}
|
|
1489
1608
|
],
|
|
1490
1609
|
"unsupported": [
|
|
1491
1610
|
{
|
|
1492
|
-
"case": "
|
|
1493
|
-
"error": "
|
|
1494
|
-
"note": "
|
|
1611
|
+
"case": "Keyed lookup with asofdate before the stored AsOfDate",
|
|
1612
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1613
|
+
"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
1614
|
},
|
|
1496
1615
|
{
|
|
1497
1616
|
"case": "Create, update, or delete",
|
|
1498
1617
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1499
|
-
"note": "ExchangeRate is read
|
|
1618
|
+
"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
1619
|
},
|
|
1501
1620
|
{
|
|
1502
1621
|
"case": "Currencies without ExchangeRate on CurrencyRet",
|
|
@@ -1511,12 +1630,12 @@ var CATALOG = {
|
|
|
1511
1630
|
"group": "purchasing",
|
|
1512
1631
|
"read": "full",
|
|
1513
1632
|
"write": "partial",
|
|
1514
|
-
"headline": "Quantity adjustments to inventory items \u2014 create, read, header
|
|
1633
|
+
"headline": "Quantity adjustments to inventory items \u2014 create, read, update (header and lines) and delete",
|
|
1515
1634
|
"fields": [
|
|
1516
1635
|
{
|
|
1517
1636
|
"qbo": "AdjustAccountRef",
|
|
1518
1637
|
"support": "full",
|
|
1519
|
-
"note": "Desktop AccountRef
|
|
1638
|
+
"note": "Desktop AccountRef, the adjustment (offset) account. Required on create."
|
|
1520
1639
|
},
|
|
1521
1640
|
{
|
|
1522
1641
|
"qbo": "TxnDate",
|
|
@@ -1535,28 +1654,25 @@ var CATALOG = {
|
|
|
1535
1654
|
{
|
|
1536
1655
|
"qbo": "Line",
|
|
1537
1656
|
"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).
|
|
1657
|
+
"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
1658
|
},
|
|
1540
1659
|
{
|
|
1541
1660
|
"qbo": "CurrencyRef",
|
|
1542
|
-
"support": "
|
|
1543
|
-
"note": "
|
|
1544
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
1661
|
+
"support": "partial",
|
|
1662
|
+
"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
1663
|
},
|
|
1546
1664
|
{
|
|
1547
1665
|
"qbo": "ExchangeRate",
|
|
1548
|
-
"support": "
|
|
1549
|
-
"note": "
|
|
1550
|
-
|
|
1666
|
+
"support": "partial",
|
|
1667
|
+
"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)."
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"qbo": "operation=void",
|
|
1671
|
+
"support": "partial",
|
|
1672
|
+
"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
1673
|
}
|
|
1552
1674
|
],
|
|
1553
1675
|
"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
1676
|
{
|
|
1561
1677
|
"case": "Absolute quantity (NewQuantity) and value adjustments",
|
|
1562
1678
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
@@ -1633,15 +1749,35 @@ var CATALOG = {
|
|
|
1633
1749
|
"support": "full",
|
|
1634
1750
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
1635
1751
|
},
|
|
1752
|
+
{
|
|
1753
|
+
"qbo": "ProjectRef",
|
|
1754
|
+
"support": "full",
|
|
1755
|
+
"note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"qbo": "EmailStatus",
|
|
1759
|
+
"support": "partial",
|
|
1760
|
+
"note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"qbo": "PrintStatus",
|
|
1764
|
+
"support": "partial",
|
|
1765
|
+
"note": "Maps to Desktop IsToBePrinted. NeedToPrint writes true; NotSet and PrintComplete write false. Read: true is NeedToPrint, false is NotSet. Desktop does not record that a form was printed, so PrintComplete is never returned."
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"qbo": "BillEmail",
|
|
1769
|
+
"support": "partial",
|
|
1770
|
+
"note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
|
|
1771
|
+
},
|
|
1636
1772
|
{
|
|
1637
1773
|
"qbo": "Line",
|
|
1638
1774
|
"support": "partial",
|
|
1639
|
-
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
1775
|
+
"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
1776
|
},
|
|
1641
1777
|
{
|
|
1642
1778
|
"qbo": "TxnTaxDetail",
|
|
1643
1779
|
"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
|
|
1780
|
+
"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
1781
|
},
|
|
1646
1782
|
{
|
|
1647
1783
|
"qbo": "LinkedTxn",
|
|
@@ -1666,29 +1802,44 @@ var CATALOG = {
|
|
|
1666
1802
|
{
|
|
1667
1803
|
"qbo": "CurrencyRef",
|
|
1668
1804
|
"support": "partial",
|
|
1669
|
-
"note": "
|
|
1805
|
+
"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
1806
|
},
|
|
1671
1807
|
{
|
|
1672
1808
|
"qbo": "ExchangeRate",
|
|
1673
1809
|
"support": "partial",
|
|
1674
|
-
"note": "
|
|
1810
|
+
"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."
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"qbo": "HomeBalance",
|
|
1814
|
+
"support": "partial",
|
|
1815
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop BalanceRemainingInHomeCurrency. Accepted and ignored on write."
|
|
1675
1816
|
},
|
|
1676
1817
|
{
|
|
1677
1818
|
"qbo": "operation=void",
|
|
1678
1819
|
"support": "partial",
|
|
1679
1820
|
"note": "POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType Invoice), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QB Enterprise 24 (2026-09-29): the re-read shows amounts and line Qty zeroed, PrivateNote prefixed `VOID: `, TxnDate unchanged, a new SyncToken; re-proven 2026-09-30 with a memo (PrivateNote becomes `VOID: <memo>`, DocNumber kept, Balance 0); voiding again succeeds. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
1824
|
+
"support": "partial",
|
|
1825
|
+
"note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
|
|
1680
1826
|
}
|
|
1681
1827
|
],
|
|
1682
1828
|
"unsupported": [
|
|
1683
1829
|
{
|
|
1684
|
-
"case": "Line.DiscountLineDetail without an ItemRef (bare-percentage or amount-off discounts)",
|
|
1830
|
+
"case": "Line.DiscountLineDetail without an ItemRef or a single matching DiscountAccountRef item (bare-percentage or amount-off discounts)",
|
|
1685
1831
|
"error": "MISSING_REQUIRED_DESKTOP_ITEM",
|
|
1686
|
-
"note": "Desktop discounts are items and
|
|
1832
|
+
"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
1833
|
},
|
|
1688
1834
|
{
|
|
1689
|
-
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly
|
|
1835
|
+
"case": "Nested/grouped line types other than SalesItemLineDetail, DiscountLineDetail, GroupLineDetail, and DescriptionOnly",
|
|
1690
1836
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1691
1837
|
"note": "These line types do not map to QuickBooks Desktop sales transactions. Remove them or flatten to a supported DetailType. See COMPATIBILITY.md."
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
1841
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1842
|
+
"note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
|
|
1692
1843
|
}
|
|
1693
1844
|
]
|
|
1694
1845
|
},
|
|
@@ -1718,7 +1869,57 @@ var CATALOG = {
|
|
|
1718
1869
|
{
|
|
1719
1870
|
"qbo": "Type",
|
|
1720
1871
|
"support": "partial",
|
|
1721
|
-
"note": "Service, NonInventory, Inventory read and write
|
|
1872
|
+
"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."
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"qbo": "DesktopItemType",
|
|
1876
|
+
"support": "partial",
|
|
1877
|
+
"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."
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"qbo": "ItemGroupDetail",
|
|
1881
|
+
"support": "full",
|
|
1882
|
+
"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."
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"qbo": "PrintGroupedItems",
|
|
1886
|
+
"support": "full",
|
|
1887
|
+
"note": "TenkeyBridge extension. Group items only: whether the component lines print on a transaction (Desktop IsPrintItemsInGroup)."
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"qbo": "ItemAssemblyDetail",
|
|
1891
|
+
"support": "full",
|
|
1892
|
+
"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)."
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"qbo": "DiscountPercent",
|
|
1896
|
+
"support": "full",
|
|
1897
|
+
"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."
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"qbo": "DepositToAccountRef",
|
|
1901
|
+
"support": "full",
|
|
1902
|
+
"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."
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"qbo": "PaymentMethodRef",
|
|
1906
|
+
"support": "full",
|
|
1907
|
+
"note": "TenkeyBridge extension. Payment items: the payment method."
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"qbo": "TaxRate",
|
|
1911
|
+
"support": "partial",
|
|
1912
|
+
"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."
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"qbo": "AgencyRef",
|
|
1916
|
+
"support": "partial",
|
|
1917
|
+
"note": "TenkeyBridge extension. Read only, on SalesTax items: the tax agency vendor."
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"qbo": "TaxRateRefs",
|
|
1921
|
+
"support": "partial",
|
|
1922
|
+
"note": "TenkeyBridge extension. Read only, on SalesTaxGroup items: the member tax items."
|
|
1722
1923
|
},
|
|
1723
1924
|
{
|
|
1724
1925
|
"qbo": "Description",
|
|
@@ -1728,7 +1929,7 @@ var CATALOG = {
|
|
|
1728
1929
|
{
|
|
1729
1930
|
"qbo": "UnitPrice",
|
|
1730
1931
|
"support": "full",
|
|
1731
|
-
"note": "Desktop sales price. Sent with up to five decimals. On a Desktop discount item a flat rate reads as UnitPrice
|
|
1932
|
+
"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
1933
|
},
|
|
1733
1934
|
{
|
|
1734
1935
|
"qbo": "Sku",
|
|
@@ -1743,7 +1944,7 @@ var CATALOG = {
|
|
|
1743
1944
|
{
|
|
1744
1945
|
"qbo": "QtyOnHand",
|
|
1745
1946
|
"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."
|
|
1947
|
+
"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
1948
|
},
|
|
1748
1949
|
{
|
|
1749
1950
|
"qbo": "InvStartDate",
|
|
@@ -1813,19 +2014,20 @@ var CATALOG = {
|
|
|
1813
2014
|
],
|
|
1814
2015
|
"unsupported": [
|
|
1815
2016
|
{
|
|
1816
|
-
"case": "
|
|
2017
|
+
"case": "Writing SalesTax or SalesTaxGroup items",
|
|
1817
2018
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1818
|
-
"note": "
|
|
2019
|
+
"note": "These read through the Item API (with TaxRate, AgencyRef and TaxRateRefs) but cannot be written through the Item API.",
|
|
2020
|
+
"workaround": "Write a sales tax item through the TaxRate endpoint (POST /taxrate) and a sales tax group through POST /taxservice/taxcode."
|
|
1819
2021
|
},
|
|
1820
2022
|
{
|
|
1821
|
-
"case": "Creating or updating
|
|
2023
|
+
"case": "Creating or updating FixedAsset items",
|
|
1822
2024
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1823
|
-
"note": "
|
|
2025
|
+
"note": "Fixed assets read as Type NonInventory with DesktopItemType FixedAsset. Writing them is not supported."
|
|
1824
2026
|
},
|
|
1825
2027
|
{
|
|
1826
|
-
"case": "
|
|
2028
|
+
"case": "Category items, and turning a sales-only item into a two-sided one",
|
|
1827
2029
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1828
|
-
"note": "Desktop rejects the SalesOrPurchase to SalesAndPurchase conversion (error 3170)
|
|
2030
|
+
"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
2031
|
},
|
|
1830
2032
|
{
|
|
1831
2033
|
"case": "Changing QtyOnHand after creation",
|
|
@@ -1900,7 +2102,7 @@ var CATALOG = {
|
|
|
1900
2102
|
{
|
|
1901
2103
|
"qbo": "Line",
|
|
1902
2104
|
"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
|
|
2105
|
+
"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
2106
|
},
|
|
1905
2107
|
{
|
|
1906
2108
|
"qbo": "TotalAmt",
|
|
@@ -1909,15 +2111,18 @@ var CATALOG = {
|
|
|
1909
2111
|
},
|
|
1910
2112
|
{
|
|
1911
2113
|
"qbo": "CurrencyRef",
|
|
1912
|
-
"support": "
|
|
1913
|
-
"note": "
|
|
1914
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2114
|
+
"support": "partial",
|
|
2115
|
+
"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
2116
|
},
|
|
1916
2117
|
{
|
|
1917
2118
|
"qbo": "ExchangeRate",
|
|
1918
|
-
"support": "
|
|
1919
|
-
"note": "
|
|
1920
|
-
|
|
2119
|
+
"support": "partial",
|
|
2120
|
+
"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."
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"qbo": "operation=void",
|
|
2124
|
+
"support": "partial",
|
|
2125
|
+
"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
2126
|
}
|
|
1922
2127
|
],
|
|
1923
2128
|
"unsupported": [
|
|
@@ -1988,17 +2193,22 @@ var CATALOG = {
|
|
|
1988
2193
|
{
|
|
1989
2194
|
"qbo": "CustomField",
|
|
1990
2195
|
"support": "partial",
|
|
1991
|
-
"note": "Name/StringValue populated from Desktop custom fields (DataExt); DefinitionId not available from Desktop; read-only
|
|
2196
|
+
"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
2197
|
},
|
|
1993
2198
|
{
|
|
1994
2199
|
"qbo": "CurrencyRef",
|
|
1995
2200
|
"support": "partial",
|
|
1996
|
-
"note": "
|
|
2201
|
+
"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
2202
|
},
|
|
1998
2203
|
{
|
|
1999
2204
|
"qbo": "ExchangeRate",
|
|
2000
2205
|
"support": "partial",
|
|
2001
|
-
"note": "
|
|
2206
|
+
"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."
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"qbo": "HomeTotalAmt",
|
|
2210
|
+
"support": "partial",
|
|
2211
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2002
2212
|
},
|
|
2003
2213
|
{
|
|
2004
2214
|
"qbo": "ProcessPayment",
|
|
@@ -2067,12 +2277,12 @@ var CATALOG = {
|
|
|
2067
2277
|
{
|
|
2068
2278
|
"qbo": "AccountingInfoPrefs",
|
|
2069
2279
|
"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)."
|
|
2280
|
+
"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
2281
|
},
|
|
2072
2282
|
{
|
|
2073
2283
|
"qbo": "CurrencyPrefs",
|
|
2074
2284
|
"support": "partial",
|
|
2075
|
-
"note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef."
|
|
2285
|
+
"note": "MultiCurrencyEnabled \u2190 IsMultiCurrencyOn; HomeCurrency \u2190 HomeCurrencyRef, answered as the ISO code (USD) on multicurrency files; absent when multicurrency is off."
|
|
2076
2286
|
},
|
|
2077
2287
|
{
|
|
2078
2288
|
"qbo": "TimeTrackingPrefs",
|
|
@@ -2087,7 +2297,7 @@ var CATALOG = {
|
|
|
2087
2297
|
{
|
|
2088
2298
|
"qbo": "SalesFormsPrefs",
|
|
2089
2299
|
"support": "partial",
|
|
2090
|
-
"note": "DefaultShipMethodRef; AllowEstimates/UsingProgressInvoicing from JobsAndEstimatesPreferences. DefaultTerms never populated
|
|
2300
|
+
"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
2301
|
},
|
|
2092
2302
|
{
|
|
2093
2303
|
"qbo": "VendorAndPurchasesPrefs",
|
|
@@ -2101,9 +2311,8 @@ var CATALOG = {
|
|
|
2101
2311
|
},
|
|
2102
2312
|
{
|
|
2103
2313
|
"qbo": "ProductAndServicesPrefs",
|
|
2104
|
-
"support": "
|
|
2105
|
-
"note": "
|
|
2106
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2314
|
+
"support": "partial",
|
|
2315
|
+
"note": "QuantityOnHand \u2190 IsUsingInventory only; nothing else has a Desktop twin."
|
|
2107
2316
|
},
|
|
2108
2317
|
{
|
|
2109
2318
|
"qbo": "EmailMessagesPrefs",
|
|
@@ -2142,12 +2351,12 @@ var CATALOG = {
|
|
|
2142
2351
|
{
|
|
2143
2352
|
"qbo": "PaymentType",
|
|
2144
2353
|
"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)."
|
|
2354
|
+
"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
2355
|
},
|
|
2147
2356
|
{
|
|
2148
2357
|
"qbo": "Credit",
|
|
2149
2358
|
"support": "full",
|
|
2150
|
-
"note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*."
|
|
2359
|
+
"note": "true + PaymentType CreditCard \u2192 CreditCardCredit*; false/omitted \u2192 CreditCardCharge*. Immutable on update (changing it is refused, 2010)."
|
|
2151
2360
|
},
|
|
2152
2361
|
{
|
|
2153
2362
|
"qbo": "AccountRef",
|
|
@@ -2180,7 +2389,7 @@ var CATALOG = {
|
|
|
2180
2389
|
{
|
|
2181
2390
|
"qbo": "Line",
|
|
2182
2391
|
"support": "full",
|
|
2183
|
-
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery.
|
|
2392
|
+
"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
2393
|
},
|
|
2185
2394
|
{
|
|
2186
2395
|
"qbo": "TotalAmt",
|
|
@@ -2189,15 +2398,23 @@ var CATALOG = {
|
|
|
2189
2398
|
},
|
|
2190
2399
|
{
|
|
2191
2400
|
"qbo": "CurrencyRef",
|
|
2192
|
-
"support": "
|
|
2193
|
-
"note": "
|
|
2194
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2401
|
+
"support": "partial",
|
|
2402
|
+
"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
2403
|
},
|
|
2196
2404
|
{
|
|
2197
2405
|
"qbo": "ExchangeRate",
|
|
2198
|
-
"support": "
|
|
2199
|
-
"note": "
|
|
2200
|
-
|
|
2406
|
+
"support": "partial",
|
|
2407
|
+
"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."
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"qbo": "HomeTotalAmt",
|
|
2411
|
+
"support": "partial",
|
|
2412
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop AmountInHomeCurrency. Accepted and ignored on write."
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"qbo": "query paging",
|
|
2416
|
+
"support": "full",
|
|
2417
|
+
"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
2418
|
},
|
|
2202
2419
|
{
|
|
2203
2420
|
"qbo": "operation=void",
|
|
@@ -2206,15 +2423,15 @@ var CATALOG = {
|
|
|
2206
2423
|
}
|
|
2207
2424
|
],
|
|
2208
2425
|
"unsupported": [
|
|
2426
|
+
{
|
|
2427
|
+
"case": "A check applied to a credit memo (a refund check)",
|
|
2428
|
+
"error": "NOT_FOUND",
|
|
2429
|
+
"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."
|
|
2430
|
+
},
|
|
2209
2431
|
{
|
|
2210
2432
|
"case": "PaymentType outside Check/Cash/CreditCard",
|
|
2211
2433
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2212
2434
|
"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
2435
|
}
|
|
2219
2436
|
]
|
|
2220
2437
|
},
|
|
@@ -2282,7 +2499,7 @@ var CATALOG = {
|
|
|
2282
2499
|
{
|
|
2283
2500
|
"qbo": "Line",
|
|
2284
2501
|
"support": "partial",
|
|
2285
|
-
"note": "ItemBasedExpenseLineDetail only (PurchaseOrderLineAdd). AccountBasedExpenseLineDetail returns UNSUPPORTED_BY_DESKTOP. ReceivedQty maps from ReceivedQuantity on read (read-only). Updates carrying Line send the full line table (PurchaseOrderLineMod): a line with the Id a read returned keeps that Desktop line (Id = TxnLineID), a line without an Id is added, and any existing line omitted from the array is deleted \u2014 send the whole array. Fields you omit from a line that carries an Id are filled from the current record; changing Qty or UnitPrice without Amount recomputes Amount, and restating Amount alone drops the inherited Rate and Qty. An Id that is not a line of the PO is a 400; an Id listed twice is 2010; an empty Line array is refused. Per-line IsManuallyClosed is not exposed. Verified live on QuickBooks Enterprise 24 (2026-09-30): the Id/new/deleted-line table, qty recompute and OSR child order are accepted."
|
|
2502
|
+
"note": "ItemBasedExpenseLineDetail only (PurchaseOrderLineAdd). AccountBasedExpenseLineDetail returns UNSUPPORTED_BY_DESKTOP. ReceivedQty maps from ReceivedQuantity on read (read-only). Updates carrying Line send the full line table (PurchaseOrderLineMod): a line with the Id a read returned keeps that Desktop line (Id = TxnLineID), a line without an Id is added, and any existing line omitted from the array is deleted \u2014 send the whole array. Fields you omit from a line that carries an Id are filled from the current record; changing Qty or UnitPrice without Amount recomputes Amount, and restating Amount alone drops the inherited Rate and Qty. An Id that is not a line of the PO is a 400; an Id listed twice is 2010; an empty Line array is refused. Per-line IsManuallyClosed is not exposed. Item group lines (PurchaseOrderLineGroupRet) read as their component item lines, in the group's place and in Desktop's order, each carrying the TenkeyBridge extension fields GroupLineId (the group's Id) and GroupItemRef; the Id on those component lines is read-only. Group lines cannot be created, and a purchase order that has them refuses a Line update with UNSUPPORTED_BY_DESKTOP (a table update would delete the groups); header-only updates still work. Verified live on QuickBooks Enterprise 24 (2026-09-30): the Id/new/deleted-line table, qty recompute and OSR child order are accepted."
|
|
2286
2503
|
},
|
|
2287
2504
|
{
|
|
2288
2505
|
"qbo": "TotalAmt",
|
|
@@ -2292,7 +2509,7 @@ var CATALOG = {
|
|
|
2292
2509
|
{
|
|
2293
2510
|
"qbo": "POStatus",
|
|
2294
2511
|
"support": "partial",
|
|
2295
|
-
"note": "Open/Closed map to Desktop IsManuallyClosed, a Mod-only element
|
|
2512
|
+
"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
2513
|
},
|
|
2297
2514
|
{
|
|
2298
2515
|
"qbo": "APAccountRef",
|
|
@@ -2302,15 +2519,18 @@ var CATALOG = {
|
|
|
2302
2519
|
},
|
|
2303
2520
|
{
|
|
2304
2521
|
"qbo": "CurrencyRef",
|
|
2305
|
-
"support": "
|
|
2306
|
-
"note": "
|
|
2307
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2522
|
+
"support": "partial",
|
|
2523
|
+
"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
2524
|
},
|
|
2309
2525
|
{
|
|
2310
2526
|
"qbo": "ExchangeRate",
|
|
2311
|
-
"support": "
|
|
2312
|
-
"note": "
|
|
2313
|
-
|
|
2527
|
+
"support": "partial",
|
|
2528
|
+
"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."
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
"qbo": "HomeTotalAmt",
|
|
2532
|
+
"support": "partial",
|
|
2533
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2314
2534
|
}
|
|
2315
2535
|
],
|
|
2316
2536
|
"unsupported": [
|
|
@@ -2318,11 +2538,6 @@ var CATALOG = {
|
|
|
2318
2538
|
"case": "AccountBasedExpenseLineDetail on a PurchaseOrder line",
|
|
2319
2539
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2320
2540
|
"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
2541
|
}
|
|
2327
2542
|
]
|
|
2328
2543
|
},
|
|
@@ -2369,7 +2584,7 @@ var CATALOG = {
|
|
|
2369
2584
|
"group": "sales",
|
|
2370
2585
|
"read": "partial",
|
|
2371
2586
|
"write": "partial",
|
|
2372
|
-
"headline": "
|
|
2587
|
+
"headline": "Refunds of applied credits by card (ARRefundCreditCard) or by check (a Check applied to the credit memo); not general item-line refunds",
|
|
2373
2588
|
"fields": [
|
|
2374
2589
|
{
|
|
2375
2590
|
"qbo": "CustomerRef",
|
|
@@ -2383,11 +2598,37 @@ var CATALOG = {
|
|
|
2383
2598
|
{
|
|
2384
2599
|
"qbo": "PaymentMethodRef",
|
|
2385
2600
|
"support": "full",
|
|
2386
|
-
"note": "
|
|
2601
|
+
"note": "Card refunds: must be a credit-card payment method in the company file. Check refunds: not applicable, a 2010 fault if sent."
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"qbo": "RefundMethod",
|
|
2605
|
+
"support": "full",
|
|
2606
|
+
"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."
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"qbo": "ARAccountRef",
|
|
2610
|
+
"support": "full",
|
|
2611
|
+
"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."
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"qbo": "PrintStatus",
|
|
2615
|
+
"support": "partial",
|
|
2616
|
+
"note": "Check refunds only. TenkeyBridge sends the check as not to be printed (Desktop would otherwise drop DocNumber); send NeedToPrint to queue it for printing, in which case Desktop ignores DocNumber."
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"qbo": "BillEmail",
|
|
2620
|
+
"support": "partial",
|
|
2621
|
+
"note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
2625
|
+
"support": "partial",
|
|
2626
|
+
"note": "Accepted when true or false and never sent: a Desktop refund receipt here carries no discount lines for it to apply to. Any other value is 400 (code 2010)."
|
|
2387
2627
|
},
|
|
2388
2628
|
{
|
|
2389
2629
|
"qbo": "TxnDate",
|
|
2390
|
-
"support": "full"
|
|
2630
|
+
"support": "full",
|
|
2631
|
+
"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
2632
|
},
|
|
2392
2633
|
{
|
|
2393
2634
|
"qbo": "DocNumber",
|
|
@@ -2401,7 +2642,7 @@ var CATALOG = {
|
|
|
2401
2642
|
{
|
|
2402
2643
|
"qbo": "Line",
|
|
2403
2644
|
"support": "partial",
|
|
2404
|
-
"note": "LinkedTxn credit-memo applications \u2192 RefundAppliedToTxnAdd only. At least one Line is required on create
|
|
2645
|
+
"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
2646
|
},
|
|
2406
2647
|
{
|
|
2407
2648
|
"qbo": "TotalAmt",
|
|
@@ -2410,27 +2651,35 @@ var CATALOG = {
|
|
|
2410
2651
|
},
|
|
2411
2652
|
{
|
|
2412
2653
|
"qbo": "CurrencyRef",
|
|
2413
|
-
"support": "
|
|
2414
|
-
"note": "
|
|
2415
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
2654
|
+
"support": "partial",
|
|
2655
|
+
"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
2656
|
},
|
|
2417
2657
|
{
|
|
2418
2658
|
"qbo": "ExchangeRate",
|
|
2419
|
-
"support": "
|
|
2420
|
-
"note": "
|
|
2421
|
-
|
|
2659
|
+
"support": "partial",
|
|
2660
|
+
"note": "Read on multicurrency files only. Accepted and ignored on write."
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
"qbo": "HomeTotalAmt",
|
|
2664
|
+
"support": "partial",
|
|
2665
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from the check refund AmountInHomeCurrency. Accepted and ignored on write."
|
|
2422
2666
|
}
|
|
2423
2667
|
],
|
|
2424
2668
|
"unsupported": [
|
|
2425
2669
|
{
|
|
2426
2670
|
"case": "Item-line RefundReceipt (SalesItemLineDetail etc.)",
|
|
2427
2671
|
"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
|
|
2672
|
+
"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
2673
|
},
|
|
2430
2674
|
{
|
|
2431
2675
|
"case": "Update / sparse update",
|
|
2432
2676
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2433
|
-
"note": "ARRefundCreditCard has
|
|
2677
|
+
"note": "Neither refund family (ARRefundCreditCard or Check applied to a credit memo) has an update path in this release. Delete and create again."
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"case": "ApplyTaxAfterDiscount is not a boolean",
|
|
2681
|
+
"error": "2010",
|
|
2682
|
+
"note": "ApplyTaxAfterDiscount must be true or false. Either value is accepted and has no effect on a refund receipt, which carries no discount lines."
|
|
2434
2683
|
}
|
|
2435
2684
|
]
|
|
2436
2685
|
},
|
|
@@ -2477,7 +2726,7 @@ var CATALOG = {
|
|
|
2477
2726
|
"group": "platform",
|
|
2478
2727
|
"read": "partial",
|
|
2479
2728
|
"write": "none",
|
|
2480
|
-
"headline": "
|
|
2729
|
+
"headline": "Seventy-seven QBO-compatible reports served from QuickBooks Desktop: 26 translated live from Desktop's report engine (summary, detail, aging, balance, sales, sales-tax and budget reports), 49 Desktop extension reports with no QBO twin, and two composites, AccountList (built from Desktop's account list) and CashFlow (built from several queries). CashFlow is derived, not translated: Desktop's SDK has no cash-flow report, so it is computed from Profit and Loss and two Trial Balances and checked against Desktop before it is returned.",
|
|
2481
2730
|
"usage": "GET /v3/company/{companyId}/reports/ProfitAndLoss?start_date=2026-01-01&end_date=2026-12-31&summarize_column_by=Month",
|
|
2482
2731
|
"fields": [
|
|
2483
2732
|
{
|
|
@@ -2550,10 +2799,22 @@ var CATALOG = {
|
|
|
2550
2799
|
"support": "partial",
|
|
2551
2800
|
"note": "Built from Desktop's account list (AccountQueryRq). Desktop has no account detail type, so that column is absent."
|
|
2552
2801
|
},
|
|
2802
|
+
{
|
|
2803
|
+
"qbo": "ClassSales",
|
|
2804
|
+
"support": "partial",
|
|
2805
|
+
"note": "Desktop's custom summary report (CustomSummaryReportQueryRq, rows by Class over OrdinaryIncome accounts): one row per class plus Unclassified and TOTAL. Takes dates or date_macro, accounting_method, summarize_column_by (Month, Week, Days, Quarter, Year), customer, item, class and transaction_type. The account filter is fixed to income, so account, account_type, vendor and the modified-date filter fault.",
|
|
2806
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"qbo": "BudgetOverview / BudgetVsActuals",
|
|
2810
|
+
"support": "partial",
|
|
2811
|
+
"note": "BudgetSummaryReportQueryRq ProfitAndLossBudgetOverview / ProfitAndLossBudgetVsActual, one column group per month plus a period total. Desktop scopes a budget report by fiscal year, so these take fiscal_year (four digits, default: the current year) instead of dates, and no filters or column split; column titles are qualified with their month (for example 'Jan 26 - Budget'). Profit and loss budgets only; balance sheet budgets stay on the Budget entity. Read-only, like QBO.",
|
|
2812
|
+
"error": "REPORT_UNSUPPORTED_OPTION"
|
|
2813
|
+
},
|
|
2553
2814
|
{
|
|
2554
2815
|
"qbo": "Desktop extension reports",
|
|
2555
2816
|
"support": "full",
|
|
2556
|
-
"note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport. Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
|
|
2817
|
+
"note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport, and since Reports wave 4 TxnDetailByAccount, UnbilledCostsByJob, AuditTrail, 1099Detail, SalesByRepDetail, PurchaseByItemDetail, OpenPOsByJob, EstimatesByJob, JobProgressInvoicesVsEstimates, OpenSalesOrderByCustomer, OpenSalesOrderByItem, PendingSales, IncomeTaxDetail, MissingChecks, SalesTaxRevenueSummary, IncomeTaxSummary, BalanceSheetSummary, InventoryStockStatusByVendor, and the Job and Time reports JobProfitabilitySummary, JobEstimatesVsActualsSummary, ItemProfitability, ItemEstimatesVsActuals, JobProfitabilityDetail, JobEstimatesVsActualsDetail, TimeByJobSummary, TimeByJobDetail, TimeByItem, TimeByName. Filters are enabled only where they were proven live on QuickBooks Enterprise 24 (2026-10-20): customer/vendor, item, class, account type, transaction type and modified date on the detail reports (not the account filter on UnbilledCostsByJob and PendingSales, which Desktop fails with an internal error), the same minus modified date on the summaries, all but vendor on the four Job summaries, customer, item and class on the Time reports; the two Job detail reports require a customer or job Id and take no other filter; MissingChecks requires account Ids (Desktop refuses a bare query and an account type, as it does ReportBasis) and takes transaction type, class, modified date and columns. 1099Detail takes no filter at all (an entity filter crashed QuickBooks, so the gateway refuses every filter on it before it reaches Desktop). The Time reports take no columns (Desktop refuses Duration). Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
|
|
2557
2818
|
},
|
|
2558
2819
|
{
|
|
2559
2820
|
"qbo": "start_date / end_date / date_macro",
|
|
@@ -2630,9 +2891,9 @@ var CATALOG = {
|
|
|
2630
2891
|
"note": "qbXML's SummarizeColumnsBy has no per-item, per-employee or per-location split (ItemType splits by item type, not by item)."
|
|
2631
2892
|
},
|
|
2632
2893
|
{
|
|
2633
|
-
"case": "
|
|
2894
|
+
"case": "DepartmentSales",
|
|
2634
2895
|
"error": "REPORT_UNKNOWN",
|
|
2635
|
-
"note": "
|
|
2896
|
+
"note": "Desktop has no departments. Use ClassSales."
|
|
2636
2897
|
},
|
|
2637
2898
|
{
|
|
2638
2899
|
"case": "TransactionListWithSplits",
|
|
@@ -2707,15 +2968,35 @@ var CATALOG = {
|
|
|
2707
2968
|
"support": "full",
|
|
2708
2969
|
"note": "Maps to Desktop CustomerMsgRef by FullName; the message must already exist as a Desktop customer message. Updatable via sparse update (#55)."
|
|
2709
2970
|
},
|
|
2971
|
+
{
|
|
2972
|
+
"qbo": "ProjectRef",
|
|
2973
|
+
"support": "full",
|
|
2974
|
+
"note": "A Desktop job is a QBO project, so ProjectRef sets the transaction's customer to the job (send the job's Id or full name). If CustomerRef is sent too, the job wins, and nothing is looked up: the job already implies its parent customer. Read: when the customer is a job (its full name contains a colon), ProjectRef is returned with the same value and name as CustomerRef, which stays exactly as Desktop returns it. A QBO project is one level deep and a Desktop job can sit under another job, so ProjectRef here means any job."
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"qbo": "EmailStatus",
|
|
2978
|
+
"support": "partial",
|
|
2979
|
+
"note": "Maps to Desktop IsToBeEmailed. NeedToSend writes true; NotSet and EmailSent write false, because Desktop only knows whether the form is still queued. Read: true is NeedToSend, false is NotSet. Desktop does not record that a form was sent, so EmailSent is never returned. Setting NeedToSend sends nothing by itself: it only queues the form in QuickBooks."
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"qbo": "PrintStatus",
|
|
2983
|
+
"support": "partial",
|
|
2984
|
+
"note": "Maps to Desktop IsToBePrinted. NeedToPrint writes true; NotSet and PrintComplete write false. Read: true is NeedToPrint, false is NotSet. Desktop does not record that a form was printed, so PrintComplete is never returned."
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"qbo": "BillEmail",
|
|
2988
|
+
"support": "partial",
|
|
2989
|
+
"note": "Accepted and not stored. Desktop sales forms have no email address of their own: QuickBooks sends a form to the customer's email address. BillEmailCc and BillEmailBcc are accepted and dropped the same way. They are never returned on read, so update the customer's PrimaryEmailAddr to change where forms go."
|
|
2990
|
+
},
|
|
2710
2991
|
{
|
|
2711
2992
|
"qbo": "Line",
|
|
2712
2993
|
"support": "partial",
|
|
2713
|
-
"note": "SalesItemLineDetail, GroupLineDetail, and DescriptionOnly map cleanly; line-level ClassRef and ServiceDate are populated on read; DiscountLineDetail
|
|
2994
|
+
"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."
|
|
2714
2995
|
},
|
|
2715
2996
|
{
|
|
2716
2997
|
"qbo": "TxnTaxDetail",
|
|
2717
2998
|
"support": "partial",
|
|
2718
|
-
"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
|
|
2999
|
+
"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)."
|
|
2719
3000
|
},
|
|
2720
3001
|
{
|
|
2721
3002
|
"qbo": "LinkedTxn",
|
|
@@ -2735,20 +3016,36 @@ var CATALOG = {
|
|
|
2735
3016
|
{
|
|
2736
3017
|
"qbo": "CurrencyRef",
|
|
2737
3018
|
"support": "partial",
|
|
2738
|
-
"note": "
|
|
3019
|
+
"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."
|
|
2739
3020
|
},
|
|
2740
3021
|
{
|
|
2741
3022
|
"qbo": "ExchangeRate",
|
|
2742
3023
|
"support": "partial",
|
|
2743
|
-
"note": "
|
|
3024
|
+
"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."
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"qbo": "HomeTotalAmt",
|
|
3028
|
+
"support": "partial",
|
|
3029
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop TotalAmountInHomeCurrency. Accepted and ignored on write."
|
|
2744
3030
|
},
|
|
2745
3031
|
{
|
|
2746
3032
|
"qbo": "operation=void",
|
|
2747
3033
|
"support": "partial",
|
|
2748
3034
|
"note": "POST ?operation=void with {Id, SyncToken}: sends TxnVoidRq (TxnVoidType SalesReceipt), then re-reads and returns the record. SyncToken is verified against the current EditSequence first (mismatch = 5010). Proven live on QB Enterprise 24 (2026-09-29): the re-read shows amounts and line Qty zeroed, PrivateNote prefixed `VOID: `, TxnDate unchanged, a new SyncToken; voiding again succeeds. The response is whatever Desktop returns on the post-void re-read (nothing is fabricated)."
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"qbo": "ApplyTaxAfterDiscount",
|
|
3038
|
+
"support": "partial",
|
|
3039
|
+
"note": "Maps onto the discount line's own sales tax code, proven live on QuickBooks Enterprise 24: Tax is tax after the discount (true), Non is tax on the full amount (false). On write, true or false is never sent as a field; every discount line with no TaxCodeRef of its own is coded Tax or Non, and an explicit TAX or NON that contradicts the value is 400 (code 2010, element Line.DiscountLineDetail.TaxCodeRef). A custom tax code on a discount line wins. DiscountLineDetail.TaxCodeRef is written as that line's sales tax code. With no discount lines the value is accepted and does nothing. Read: present only when the form has discount lines and they are all Tax (true) or all Non (false); omitted when mixed. On a sparse update with no Line, a value equal to the current one is accepted; a different one is 422 UNSUPPORTED_BY_DESKTOP, so send the full Line array to change it. Any value that is not a boolean is 400 (code 2010)."
|
|
2749
3040
|
}
|
|
2750
3041
|
],
|
|
2751
|
-
"unsupported": [
|
|
3042
|
+
"unsupported": [
|
|
3043
|
+
{
|
|
3044
|
+
"case": "ApplyTaxAfterDiscount changed on a sparse update that carries no Line",
|
|
3045
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
3046
|
+
"note": "On Desktop the value lives on each discount line's tax code, so it cannot change on its own. Send the full Line array in the same update."
|
|
3047
|
+
}
|
|
3048
|
+
]
|
|
2752
3049
|
},
|
|
2753
3050
|
"Tag": {
|
|
2754
3051
|
"entity": "Tag",
|
|
@@ -2900,28 +3197,48 @@ var CATALOG = {
|
|
|
2900
3197
|
},
|
|
2901
3198
|
"TaxPayment": {
|
|
2902
3199
|
"entity": "TaxPayment",
|
|
2903
|
-
"verdict": "
|
|
2904
|
-
"group": "
|
|
2905
|
-
"read": "
|
|
3200
|
+
"verdict": "live",
|
|
3201
|
+
"group": "transactions",
|
|
3202
|
+
"read": "partial",
|
|
2906
3203
|
"write": "none",
|
|
2907
|
-
"headline": "Desktop
|
|
2908
|
-
"fields": [
|
|
2909
|
-
"unsupported": [
|
|
3204
|
+
"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.",
|
|
3205
|
+
"fields": [
|
|
2910
3206
|
{
|
|
2911
|
-
"
|
|
2912
|
-
"
|
|
2913
|
-
"note": "
|
|
2914
|
-
"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."
|
|
3207
|
+
"qbo": "PaymentDate",
|
|
3208
|
+
"support": "full",
|
|
3209
|
+
"note": "Desktop TxnDate. Emitted as PaymentDate, the key in Intuit's Read and Query samples; Intuit's attribute table names it TxnDate."
|
|
2915
3210
|
},
|
|
2916
3211
|
{
|
|
2917
|
-
"
|
|
3212
|
+
"qbo": "PaymentAmount",
|
|
3213
|
+
"support": "full",
|
|
3214
|
+
"note": "Desktop Amount."
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"qbo": "PaymentAccountRef",
|
|
3218
|
+
"support": "full",
|
|
3219
|
+
"note": "Desktop BankAccountRef."
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"qbo": "Description",
|
|
3223
|
+
"support": "full",
|
|
3224
|
+
"note": "Desktop Memo."
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
"qbo": "Refund",
|
|
3228
|
+
"support": "full",
|
|
3229
|
+
"note": "Always false: a Desktop sales tax payment check is a payment, and a refund is recorded as a Deposit."
|
|
3230
|
+
}
|
|
3231
|
+
],
|
|
3232
|
+
"unsupported": [
|
|
3233
|
+
{
|
|
3234
|
+
"case": "Tax agency, check number and per-item amounts",
|
|
2918
3235
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2919
|
-
"note": "
|
|
3236
|
+
"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."
|
|
2920
3237
|
},
|
|
2921
3238
|
{
|
|
2922
3239
|
"case": "create",
|
|
2923
3240
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2924
|
-
"note": "QBO's TaxPayment is read-only via the API; TenkeyBridge matches that."
|
|
3241
|
+
"note": "QBO's TaxPayment is read-only via the API; TenkeyBridge matches that. Record the payment in QuickBooks Desktop."
|
|
2925
3242
|
},
|
|
2926
3243
|
{
|
|
2927
3244
|
"case": "update",
|
|
@@ -2940,80 +3257,104 @@ var CATALOG = {
|
|
|
2940
3257
|
"verdict": "live",
|
|
2941
3258
|
"group": "lists",
|
|
2942
3259
|
"read": "full",
|
|
2943
|
-
"write": "
|
|
2944
|
-
"headline": "Read
|
|
3260
|
+
"write": "partial",
|
|
3261
|
+
"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.",
|
|
2945
3262
|
"fields": [
|
|
2946
3263
|
{
|
|
2947
3264
|
"qbo": "Name",
|
|
2948
|
-
"support": "full"
|
|
3265
|
+
"support": "full",
|
|
3266
|
+
"note": "Create and update. Max 31 characters, rejected up front with a 400 (2050). Required on create."
|
|
2949
3267
|
},
|
|
2950
3268
|
{
|
|
2951
3269
|
"qbo": "Active",
|
|
2952
|
-
"support": "full"
|
|
3270
|
+
"support": "full",
|
|
3271
|
+
"note": "Create and update (Desktop IsActive). Deactivate with a sparse update of Active false."
|
|
2953
3272
|
},
|
|
2954
3273
|
{
|
|
2955
3274
|
"qbo": "RateValue",
|
|
2956
3275
|
"support": "full",
|
|
2957
|
-
"note": "Desktop TaxRate percentage."
|
|
3276
|
+
"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."
|
|
2958
3277
|
},
|
|
2959
3278
|
{
|
|
2960
3279
|
"qbo": "Description",
|
|
2961
3280
|
"support": "full",
|
|
2962
|
-
"note": "Desktop ItemDesc."
|
|
3281
|
+
"note": "Desktop ItemDesc. Create and update."
|
|
2963
3282
|
},
|
|
2964
3283
|
{
|
|
2965
3284
|
"qbo": "AgencyRef",
|
|
2966
3285
|
"support": "full",
|
|
2967
|
-
"note": "Desktop TaxVendorRef
|
|
3286
|
+
"note": "Desktop TaxVendorRef, the tax agency Vendor. Required on create."
|
|
2968
3287
|
}
|
|
2969
3288
|
],
|
|
2970
3289
|
"unsupported": [
|
|
2971
3290
|
{
|
|
2972
|
-
"case": "Create or update",
|
|
3291
|
+
"case": "Create or update through a QBO client",
|
|
2973
3292
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2974
|
-
"note": "TaxRate
|
|
3293
|
+
"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.",
|
|
3294
|
+
"workaround": "To create a rate together with the tax code that groups it, use POST /taxservice/taxcode."
|
|
2975
3295
|
},
|
|
2976
3296
|
{
|
|
2977
3297
|
"case": "ItemSalesTaxGroup as TaxRate",
|
|
2978
3298
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2979
|
-
"note": "Sales-tax groups are not projected as TaxRate rows. Group members are themselves ItemSalesTax list items and appear as individual TaxRates via ItemSalesTaxQuery."
|
|
3299
|
+
"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."
|
|
2980
3300
|
}
|
|
2981
3301
|
]
|
|
2982
3302
|
},
|
|
2983
3303
|
"TaxService": {
|
|
2984
3304
|
"entity": "TaxService",
|
|
2985
|
-
"verdict": "
|
|
2986
|
-
"group": "
|
|
3305
|
+
"verdict": "live",
|
|
3306
|
+
"group": "platform",
|
|
2987
3307
|
"read": "none",
|
|
2988
|
-
"write": "
|
|
2989
|
-
"headline": "
|
|
2990
|
-
"
|
|
2991
|
-
"
|
|
3308
|
+
"write": "partial",
|
|
3309
|
+
"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.",
|
|
3310
|
+
"usage": "POST /v3/company/{companyId}/taxservice/taxcode",
|
|
3311
|
+
"fields": [
|
|
2992
3312
|
{
|
|
2993
|
-
"
|
|
2994
|
-
"
|
|
2995
|
-
"note": "
|
|
2996
|
-
"workaround": "Create tax rates and codes through TaxRate/TaxCode instead of the AST TaxService flow."
|
|
3313
|
+
"qbo": "TaxCode",
|
|
3314
|
+
"support": "full",
|
|
3315
|
+
"note": "The tax code name, 1 to 31 characters. Becomes a Desktop sales tax group; a name already in use is refused by QuickBooks."
|
|
2997
3316
|
},
|
|
2998
3317
|
{
|
|
2999
|
-
"
|
|
3000
|
-
"
|
|
3001
|
-
"note": "
|
|
3318
|
+
"qbo": "TaxRateDetails.TaxRateName",
|
|
3319
|
+
"support": "full",
|
|
3320
|
+
"note": "Name of a new rate, 1 to 31 characters (a Desktop sales tax item)."
|
|
3002
3321
|
},
|
|
3003
3322
|
{
|
|
3004
|
-
"
|
|
3005
|
-
"
|
|
3006
|
-
"note": "
|
|
3323
|
+
"qbo": "TaxRateDetails.RateValue",
|
|
3324
|
+
"support": "full",
|
|
3325
|
+
"note": "Percentage from 0 to 100."
|
|
3007
3326
|
},
|
|
3008
3327
|
{
|
|
3009
|
-
"
|
|
3010
|
-
"
|
|
3011
|
-
"note": "
|
|
3328
|
+
"qbo": "TaxRateDetails.TaxAgencyId",
|
|
3329
|
+
"support": "full",
|
|
3330
|
+
"note": "The tax agency, a Desktop Vendor Id."
|
|
3012
3331
|
},
|
|
3013
3332
|
{
|
|
3014
|
-
"
|
|
3333
|
+
"qbo": "TaxRateDetails.TaxApplicableOn",
|
|
3334
|
+
"support": "partial",
|
|
3335
|
+
"note": "Sales only. Any other value is UNSUPPORTED_BY_DESKTOP: Desktop sales tax items apply to sales only."
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"qbo": "TaxRateDetails.TaxRateId",
|
|
3339
|
+
"support": "full",
|
|
3340
|
+
"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."
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"qbo": "TaxCodeId",
|
|
3344
|
+
"support": "partial",
|
|
3345
|
+
"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."
|
|
3346
|
+
}
|
|
3347
|
+
],
|
|
3348
|
+
"unsupported": [
|
|
3349
|
+
{
|
|
3350
|
+
"case": "read, query, update, delete",
|
|
3015
3351
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
3016
|
-
"note": "TaxService is a
|
|
3352
|
+
"note": "TaxService is a create-only operation. There is no TaxService object to read back; read the rates as TaxRate."
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"case": "Rates created but the tax code not",
|
|
3356
|
+
"error": "TAX_CODE_PARTIAL",
|
|
3357
|
+
"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."
|
|
3017
3358
|
}
|
|
3018
3359
|
]
|
|
3019
3360
|
},
|
|
@@ -3088,7 +3429,7 @@ var CATALOG = {
|
|
|
3088
3429
|
"group": "lists",
|
|
3089
3430
|
"read": "full",
|
|
3090
3431
|
"write": "partial",
|
|
3091
|
-
"headline": "Employee time
|
|
3432
|
+
"headline": "Employee and vendor time; Duration compiled from Hours/Minutes or a StartTime/EndTime span",
|
|
3092
3433
|
"fields": [
|
|
3093
3434
|
{
|
|
3094
3435
|
"qbo": "TxnDate",
|
|
@@ -3096,13 +3437,18 @@ var CATALOG = {
|
|
|
3096
3437
|
},
|
|
3097
3438
|
{
|
|
3098
3439
|
"qbo": "NameOf",
|
|
3099
|
-
"support": "
|
|
3100
|
-
"note":
|
|
3440
|
+
"support": "full",
|
|
3441
|
+
"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."
|
|
3101
3442
|
},
|
|
3102
3443
|
{
|
|
3103
3444
|
"qbo": "EmployeeRef",
|
|
3104
3445
|
"support": "full",
|
|
3105
|
-
"note": "Required; Desktop EntityRef. Missing value returns 2020."
|
|
3446
|
+
"note": "Required when NameOf is Employee or omitted; Desktop EntityRef. Missing value returns 2020. Sending EmployeeRef together with VendorRef returns 2010."
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"qbo": "VendorRef",
|
|
3450
|
+
"support": "full",
|
|
3451
|
+
"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."
|
|
3106
3452
|
},
|
|
3107
3453
|
{
|
|
3108
3454
|
"qbo": "CustomerRef",
|
|
@@ -3166,12 +3512,12 @@ var CATALOG = {
|
|
|
3166
3512
|
{
|
|
3167
3513
|
"qbo": "HourlyRate",
|
|
3168
3514
|
"support": "partial",
|
|
3169
|
-
"note":
|
|
3515
|
+
"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.'
|
|
3170
3516
|
},
|
|
3171
3517
|
{
|
|
3172
3518
|
"qbo": "CostRate",
|
|
3173
3519
|
"support": "partial",
|
|
3174
|
-
"note": "Accepted and ignored
|
|
3520
|
+
"note": "Accepted and ignored. Desktop time tracking has no cost-rate element."
|
|
3175
3521
|
},
|
|
3176
3522
|
{
|
|
3177
3523
|
"qbo": "Taxable",
|
|
@@ -3186,12 +3532,12 @@ var CATALOG = {
|
|
|
3186
3532
|
{
|
|
3187
3533
|
"qbo": "CurrencyRef",
|
|
3188
3534
|
"support": "partial",
|
|
3189
|
-
"note": "Accepted and ignored
|
|
3535
|
+
"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)."
|
|
3190
3536
|
},
|
|
3191
3537
|
{
|
|
3192
3538
|
"qbo": "ExchangeRate",
|
|
3193
3539
|
"support": "partial",
|
|
3194
|
-
"note": "Accepted and ignored
|
|
3540
|
+
"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)."
|
|
3195
3541
|
},
|
|
3196
3542
|
{
|
|
3197
3543
|
"qbo": "PayrollItemRef",
|
|
@@ -3206,13 +3552,7 @@ var CATALOG = {
|
|
|
3206
3552
|
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3207
3553
|
}
|
|
3208
3554
|
],
|
|
3209
|
-
"unsupported": [
|
|
3210
|
-
{
|
|
3211
|
-
"case": 'Vendor/contractor time (NameOf: "Vendor", or a VendorRef)',
|
|
3212
|
-
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
3213
|
-
"note": "Only employee time is supported this release; vendor/contractor time tracking lands in a later TenkeyBridge release."
|
|
3214
|
-
}
|
|
3215
|
-
]
|
|
3555
|
+
"unsupported": []
|
|
3216
3556
|
},
|
|
3217
3557
|
"Transfer": {
|
|
3218
3558
|
"entity": "Transfer",
|
|
@@ -3246,15 +3586,13 @@ var CATALOG = {
|
|
|
3246
3586
|
},
|
|
3247
3587
|
{
|
|
3248
3588
|
"qbo": "CurrencyRef",
|
|
3249
|
-
"support": "
|
|
3250
|
-
"note": "
|
|
3251
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3589
|
+
"support": "partial",
|
|
3590
|
+
"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)."
|
|
3252
3591
|
},
|
|
3253
3592
|
{
|
|
3254
3593
|
"qbo": "ExchangeRate",
|
|
3255
|
-
"support": "
|
|
3256
|
-
"note": "
|
|
3257
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3594
|
+
"support": "partial",
|
|
3595
|
+
"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)."
|
|
3258
3596
|
}
|
|
3259
3597
|
],
|
|
3260
3598
|
"unsupported": [
|
|
@@ -3353,12 +3691,12 @@ var CATALOG = {
|
|
|
3353
3691
|
{
|
|
3354
3692
|
"qbo": "CurrencyRef",
|
|
3355
3693
|
"support": "partial",
|
|
3356
|
-
"note": "
|
|
3694
|
+
"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)."
|
|
3357
3695
|
},
|
|
3358
3696
|
{
|
|
3359
3697
|
"qbo": "ExchangeRate",
|
|
3360
3698
|
"support": "partial",
|
|
3361
|
-
"note": "
|
|
3699
|
+
"note": "Not a Desktop vendor field. Accepted and ignored."
|
|
3362
3700
|
}
|
|
3363
3701
|
],
|
|
3364
3702
|
"unsupported": []
|
|
@@ -3368,7 +3706,7 @@ var CATALOG = {
|
|
|
3368
3706
|
"verdict": "live",
|
|
3369
3707
|
"group": "purchasing",
|
|
3370
3708
|
"read": "full",
|
|
3371
|
-
"write": "
|
|
3709
|
+
"write": "full",
|
|
3372
3710
|
"headline": "Bill mirror image \u2014 expense and item lines",
|
|
3373
3711
|
"fields": [
|
|
3374
3712
|
{
|
|
@@ -3395,7 +3733,7 @@ var CATALOG = {
|
|
|
3395
3733
|
{
|
|
3396
3734
|
"qbo": "Line",
|
|
3397
3735
|
"support": "full",
|
|
3398
|
-
"note": "AccountBasedExpenseLineDetail and ItemBasedExpenseLineDetail via shared Bill line machinery.
|
|
3736
|
+
"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."
|
|
3399
3737
|
},
|
|
3400
3738
|
{
|
|
3401
3739
|
"qbo": "TotalAmt",
|
|
@@ -3409,15 +3747,23 @@ var CATALOG = {
|
|
|
3409
3747
|
},
|
|
3410
3748
|
{
|
|
3411
3749
|
"qbo": "CurrencyRef",
|
|
3412
|
-
"support": "
|
|
3413
|
-
"note": "
|
|
3414
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3750
|
+
"support": "partial",
|
|
3751
|
+
"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."
|
|
3415
3752
|
},
|
|
3416
3753
|
{
|
|
3417
3754
|
"qbo": "ExchangeRate",
|
|
3418
|
-
"support": "
|
|
3419
|
-
"note": "
|
|
3420
|
-
|
|
3755
|
+
"support": "partial",
|
|
3756
|
+
"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."
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"qbo": "HomeTotalAmt",
|
|
3760
|
+
"support": "partial",
|
|
3761
|
+
"note": "Read on multicurrency files only; the amount in the home currency, from Desktop CreditAmountInHomeCurrency. Accepted and ignored on write."
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
"qbo": "operation=void",
|
|
3765
|
+
"support": "partial",
|
|
3766
|
+
"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)."
|
|
3421
3767
|
}
|
|
3422
3768
|
],
|
|
3423
3769
|
"unsupported": []
|
|
@@ -3611,7 +3957,7 @@ function registerTools(server, client) {
|
|
|
3611
3957
|
server.registerTool(
|
|
3612
3958
|
"run_report",
|
|
3613
3959
|
{
|
|
3614
|
-
description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns. Read compat://entity/reports for the available reports and which params each takes.",
|
|
3960
|
+
description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns, report_date, start_moddate, end_moddate. BudgetOverview and BudgetVsActuals take fiscal_year instead of dates; MissingChecks requires account, and JobProfitabilityDetail and JobEstimatesVsActualsDetail require customer. ClassSales gives income by class. Read compat://entity/reports for the available reports and which params each takes.",
|
|
3615
3961
|
inputSchema: {
|
|
3616
3962
|
report: import_zod.z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
|
|
3617
3963
|
params: import_zod.z.record(import_zod.z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
|
|
@@ -3716,7 +4062,7 @@ function registerTools(server, client) {
|
|
|
3716
4062
|
server.registerTool(
|
|
3717
4063
|
"void",
|
|
3718
4064
|
{
|
|
3719
|
-
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.',
|
|
4065
|
+
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.',
|
|
3720
4066
|
inputSchema: {
|
|
3721
4067
|
entity: entityArg,
|
|
3722
4068
|
id: import_zod.z.string(),
|
|
@@ -3740,7 +4086,7 @@ function registerTools(server, client) {
|
|
|
3740
4086
|
}
|
|
3741
4087
|
|
|
3742
4088
|
// src/version.ts
|
|
3743
|
-
var PKG_VERSION = "0.
|
|
4089
|
+
var PKG_VERSION = "0.7.0";
|
|
3744
4090
|
|
|
3745
4091
|
// src/server.ts
|
|
3746
4092
|
var SERVER_NAME = "tenkeybridge";
|