@tenkeybridge/mcp 0.9.0 → 0.10.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 +107 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +107 -8
- 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 +107 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -97,6 +97,6 @@ declare function resolveEntityName(name: string): EntityName | undefined;
|
|
|
97
97
|
type CatalogSummaryRow = Pick<CatalogEntry, "entity" | "verdict" | "group" | "read" | "write" | "headline" | "usage">;
|
|
98
98
|
declare function catalogSummary(): CatalogSummaryRow[];
|
|
99
99
|
|
|
100
|
-
declare const PKG_VERSION = "0.
|
|
100
|
+
declare const PKG_VERSION = "0.10.0";
|
|
101
101
|
|
|
102
102
|
export { CATALOG, type CatalogEntry, type CatalogField, type CatalogSummaryRow, type CatalogUnsupported, type EntityAccessorLike, type GatewayClient, type McpAuth, type McpConfig, PKG_VERSION, SERVER_NAME, buildServer, catalogSummary, defaultTokenFile, loadConfig, persistRefreshToken, readStoredRefreshToken, registerResources, registerTools, resolveCatalog, resolveEntityName, toolVisible };
|
package/dist/index.d.ts
CHANGED
|
@@ -97,6 +97,6 @@ declare function resolveEntityName(name: string): EntityName | undefined;
|
|
|
97
97
|
type CatalogSummaryRow = Pick<CatalogEntry, "entity" | "verdict" | "group" | "read" | "write" | "headline" | "usage">;
|
|
98
98
|
declare function catalogSummary(): CatalogSummaryRow[];
|
|
99
99
|
|
|
100
|
-
declare const PKG_VERSION = "0.
|
|
100
|
+
declare const PKG_VERSION = "0.10.0";
|
|
101
101
|
|
|
102
102
|
export { CATALOG, type CatalogEntry, type CatalogField, type CatalogSummaryRow, type CatalogUnsupported, type EntityAccessorLike, type GatewayClient, type McpAuth, type McpConfig, PKG_VERSION, SERVER_NAME, buildServer, catalogSummary, defaultTokenFile, loadConfig, persistRefreshToken, readStoredRefreshToken, registerResources, registerTools, resolveCatalog, resolveEntityName, toolVisible };
|
package/dist/index.js
CHANGED
|
@@ -1390,6 +1390,11 @@ var CATALOG = {
|
|
|
1390
1390
|
"support": "full",
|
|
1391
1391
|
"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."
|
|
1392
1392
|
},
|
|
1393
|
+
{
|
|
1394
|
+
"qbo": "PayrollInfo",
|
|
1395
|
+
"support": "partial",
|
|
1396
|
+
"note": "TenkeyBridge extension, read-only: Desktop's EmployeePayrollInfo as { PayPeriod, ClassRef, Earnings: [{ PayrollItemRef, Rate | RatePercent }], UseTimeDataToCreatePaychecks, SickHours, VacationHours } with hours as decimal numbers (PT40H30M0S reads 40.5). Present only when the file has a payroll subscription and the integrated app may access personal data (Edit, Preferences, Integrated Applications); otherwise absent. A create carrying PayrollInfo, or an update that changes it, answers 422 UNSUPPORTED_BY_DESKTOP; an unchanged echo on update is ignored. Not filterable."
|
|
1397
|
+
},
|
|
1393
1398
|
{
|
|
1394
1399
|
"qbo": "AdditionalContactRef",
|
|
1395
1400
|
"support": "none",
|
|
@@ -1404,9 +1409,9 @@ var CATALOG = {
|
|
|
1404
1409
|
"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)."
|
|
1405
1410
|
},
|
|
1406
1411
|
{
|
|
1407
|
-
"case": "
|
|
1412
|
+
"case": "Writing payroll fields",
|
|
1408
1413
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1409
|
-
"note": "Pay
|
|
1414
|
+
"note": "Pay periods, earnings rates and sick or vacation hours are read-only (see PayrollInfo). Set them in QuickBooks Desktop."
|
|
1410
1415
|
}
|
|
1411
1416
|
]
|
|
1412
1417
|
},
|
|
@@ -2223,6 +2228,64 @@ var CATALOG = {
|
|
|
2223
2228
|
}
|
|
2224
2229
|
]
|
|
2225
2230
|
},
|
|
2231
|
+
"Paycheck": {
|
|
2232
|
+
"entity": "Paycheck",
|
|
2233
|
+
"verdict": "live",
|
|
2234
|
+
"group": "transactions",
|
|
2235
|
+
"read": "partial",
|
|
2236
|
+
"write": "none",
|
|
2237
|
+
"headline": "TenkeyBridge extension: read-only list of QuickBooks Desktop payroll paychecks (header rows: employee, bank account, date, check number, net pay). QuickBooks Online has no Paycheck entity. Needs a payroll subscription and the personal-data permission",
|
|
2238
|
+
"fields": [
|
|
2239
|
+
{
|
|
2240
|
+
"qbo": "MetaData",
|
|
2241
|
+
"support": "full",
|
|
2242
|
+
"note": "Id is Desktop's TxnID. CreateTime and LastUpdatedTime come from Desktop's TimeCreated / TimeModified. There is no SyncToken: Desktop's paycheck rows carry no EditSequence."
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"qbo": "TxnDate",
|
|
2246
|
+
"support": "full",
|
|
2247
|
+
"note": "The check date. Pushed to Desktop as a TransactionDateRangeFilter."
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"qbo": "DocNumber",
|
|
2251
|
+
"support": "full",
|
|
2252
|
+
"note": "Desktop RefNumber. Filters on it are applied by the gateway after the read."
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"qbo": "EmployeeRef",
|
|
2256
|
+
"support": "full",
|
|
2257
|
+
"note": "Desktop EntityRef, the employee. An equality filter is pushed to Desktop as a TransactionEntityFilter."
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"qbo": "BankAccountRef",
|
|
2261
|
+
"support": "full",
|
|
2262
|
+
"note": "Desktop AccountRef, the bank account the check is drawn on."
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"qbo": "NetPay",
|
|
2266
|
+
"support": "full",
|
|
2267
|
+
"note": "Desktop Amount with the sign flipped: Desktop reports money out as negative, NetPay is the positive take-home amount. Filterable, applied by the gateway."
|
|
2268
|
+
}
|
|
2269
|
+
],
|
|
2270
|
+
"unsupported": [
|
|
2271
|
+
{
|
|
2272
|
+
"case": "Earnings, taxes and deductions",
|
|
2273
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2274
|
+
"note": "qbXML has no paycheck detail query: the paycheck list answers header rows only. Pay stub lines (earnings, taxes, deductions, hours) come from the payroll reports."
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"case": "create, update, delete or void",
|
|
2278
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2279
|
+
"note": "Paycheck is read-only through TenkeyBridge. Paychecks are created in QuickBooks Desktop payroll.",
|
|
2280
|
+
"workaround": "Create or void the paycheck in QuickBooks Desktop (Employees, Pay Employees); it shows up on the next read."
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"case": "File without payroll",
|
|
2284
|
+
"error": "PAYROLL_SUBSCRIPTION_REQUIRED",
|
|
2285
|
+
"note": "Desktop answers status 3262 when the company file has no payroll subscription (422 PAYROLL_SUBSCRIPTION_REQUIRED), and 3261 when the integrated app lacks the personal-data permission (403 QB_PERSONAL_DATA_DENIED)."
|
|
2286
|
+
}
|
|
2287
|
+
]
|
|
2288
|
+
},
|
|
2226
2289
|
"Payment": {
|
|
2227
2290
|
"entity": "Payment",
|
|
2228
2291
|
"verdict": "live",
|
|
@@ -2351,6 +2414,43 @@ var CATALOG = {
|
|
|
2351
2414
|
}
|
|
2352
2415
|
]
|
|
2353
2416
|
},
|
|
2417
|
+
"PayrollItemWage": {
|
|
2418
|
+
"entity": "PayrollItemWage",
|
|
2419
|
+
"verdict": "live",
|
|
2420
|
+
"group": "lists",
|
|
2421
|
+
"read": "full",
|
|
2422
|
+
"write": "none",
|
|
2423
|
+
"headline": "TenkeyBridge extension: read/query the payroll wage items (Regular Pay, Overtime Pay, ...) a TimeActivity can name; QuickBooks Desktop only",
|
|
2424
|
+
"fields": [
|
|
2425
|
+
{
|
|
2426
|
+
"qbo": "Name",
|
|
2427
|
+
"support": "full",
|
|
2428
|
+
"note": "Up to 31 characters."
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"qbo": "Active",
|
|
2432
|
+
"support": "full",
|
|
2433
|
+
"note": "Queries return active items only unless you filter on Active."
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"qbo": "WageType",
|
|
2437
|
+
"support": "full",
|
|
2438
|
+
"note": "Desktop's enum string, unchanged: Bonus, Commission, HourlyOvertime, HourlyRegular, HourlySick, HourlyVacation, SalaryRegular, SalarySick, SalaryVacation."
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"qbo": "ExpenseAccountRef",
|
|
2442
|
+
"support": "full"
|
|
2443
|
+
}
|
|
2444
|
+
],
|
|
2445
|
+
"unsupported": [
|
|
2446
|
+
{
|
|
2447
|
+
"case": "Create, update, deactivate or delete",
|
|
2448
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2449
|
+
"note": "PayrollItemWage is read-only through TenkeyBridge. Reading wage items works on a company file without a payroll subscription.",
|
|
2450
|
+
"workaround": "Create or edit the wage item in QuickBooks Desktop (Lists, Payroll Item List); it shows up on the next read."
|
|
2451
|
+
}
|
|
2452
|
+
]
|
|
2453
|
+
},
|
|
2354
2454
|
"Preferences": {
|
|
2355
2455
|
"entity": "Preferences",
|
|
2356
2456
|
"verdict": "live",
|
|
@@ -2910,7 +3010,7 @@ var CATALOG = {
|
|
|
2910
3010
|
{
|
|
2911
3011
|
"qbo": "Desktop extension reports",
|
|
2912
3012
|
"support": "full",
|
|
2913
|
-
"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, and since Reports wave 5 PhysicalInventoryWorksheet (a bare snapshot: Desktop refuses every period, filter, basis and column option on it, so the gateway refuses them too) and the Advanced Inventory reports InventoryValuationSummaryBySite, LotNumberInStockBySite and SerialNumberInStockBySite (sent bare; a company file without Advanced Inventory answers 3250, which becomes a 422 REPORT_FEATURE_UNAVAILABLE naming the feature; not live-proven past that gate, and unavailable in the sandbox). 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."
|
|
3013
|
+
"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, and since Reports wave 5 PhysicalInventoryWorksheet (a bare snapshot: Desktop refuses every period, filter, basis and column option on it, so the gateway refuses them too) and the Advanced Inventory reports InventoryValuationSummaryBySite, LotNumberInStockBySite and SerialNumberInStockBySite (sent bare; a company file without Advanced Inventory answers 3250, which becomes a 422 REPORT_FEATURE_UNAVAILABLE naming the feature; not live-proven past that gate, and unavailable in the sandbox). Six payroll reports (2026-12-03): PayrollTransactionDetail, PayrollItemDetail, PayrollTransactionsByPayee and PayrollReviewDetail (PayrollDetailReportQueryRq) and PayrollSummary and EmployeeEarningsSummary (PayrollSummaryReportQueryRq). They take a period only (start_date/end_date or date_macro): no filter, column split, accounting_method or columns, because only the period was proven live, and anything else is refused before Desktop. They need a QuickBooks Desktop payroll subscription (status 3262 becomes 422 PAYROLL_SUBSCRIPTION_REQUIRED) and the integrated-application personal-data permission (status 3261 becomes 403 QB_PERSONAL_DATA_DENIED). The sandbox replays one fixed capture of each. 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."
|
|
2914
3014
|
},
|
|
2915
3015
|
{
|
|
2916
3016
|
"qbo": "start_date / end_date / date_macro",
|
|
@@ -3643,9 +3743,8 @@ var CATALOG = {
|
|
|
3643
3743
|
},
|
|
3644
3744
|
{
|
|
3645
3745
|
"qbo": "PayrollItemRef",
|
|
3646
|
-
"support": "
|
|
3647
|
-
"note":
|
|
3648
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3746
|
+
"support": "full",
|
|
3747
|
+
"note": 'TenkeyBridge extension (QBO Accounting has no equivalent): maps to Desktop PayrollItemWageRef, read from and written to the entry as { value, name }. Pick a wage item from the PayrollItemWage list (Regular Pay, Overtime Pay, ...). Required on every entry for an employee whose "Use time data to create paychecks" is on: without it QuickBooks refuses the save (statusCode 3180, "Activities for this employee must have a payroll item"). For an employee set not to use time data it is optional and stored when sent. Vendor entries accept and store one too. A sparse update that omits it keeps the stored item; sending a different one changes it; it cannot be cleared.'
|
|
3649
3748
|
},
|
|
3650
3749
|
{
|
|
3651
3750
|
"qbo": "TxnNumber",
|
|
@@ -4094,7 +4193,7 @@ function registerTools(server, client, access) {
|
|
|
4094
4193
|
hide("run_report", server.registerTool(
|
|
4095
4194
|
"run_report",
|
|
4096
4195
|
{
|
|
4097
|
-
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; TransactionListWithSplits lists every split line. Read compat://entity/reports for the available reports and which params each takes.",
|
|
4196
|
+
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; TransactionListWithSplits lists every split line. The payroll reports (PayrollTransactionDetail, PayrollSummary and four more) take a period only (start_date, end_date or date_macro). Read compat://entity/reports for the available reports and which params each takes.",
|
|
4098
4197
|
inputSchema: {
|
|
4099
4198
|
report: z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
|
|
4100
4199
|
params: z.record(z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
|
|
@@ -4266,7 +4365,7 @@ function registerTools(server, client, access) {
|
|
|
4266
4365
|
}
|
|
4267
4366
|
|
|
4268
4367
|
// src/version.ts
|
|
4269
|
-
var PKG_VERSION = "0.
|
|
4368
|
+
var PKG_VERSION = "0.10.0";
|
|
4270
4369
|
|
|
4271
4370
|
// src/server.ts
|
|
4272
4371
|
var SERVER_NAME = "tenkeybridge";
|