conductor-node 11.0.2 → 11.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -267
- package/dist/package.json +2 -4
- package/dist/src/integrations/qbd/QbdIntegration.d.ts +358 -73
- package/dist/src/integrations/qbd/QbdIntegration.js +358 -73
- package/dist/src/interceptors/errorHandling.js +7 -2
- package/dist/src/interceptors/logging.js +3 -1
- package/dist/src/resources/EndUsersResource.d.ts +3 -0
- package/dist/src/utils/checkForUpdates.js +8 -4
- package/dist/src/utils/error.d.ts +6 -1
- package/dist/src/utils/error.js +9 -1
- package/package.json +2 -4
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import BaseIntegration from "../../integrations/BaseIntegration";
|
|
2
2
|
import type * as QbdTypes from "../../integrations/qbd/qbdTypes";
|
|
3
3
|
export default class QbdIntegration extends BaseIntegration {
|
|
4
|
+
/**
|
|
5
|
+
* An account represents a financial account, allowing customization like
|
|
6
|
+
* sub-accounting, account numbering, and initial balance setting.
|
|
7
|
+
*/
|
|
4
8
|
account: {
|
|
5
9
|
/**
|
|
6
10
|
* Perform the same activities as a user does in the QB New Account form,
|
|
@@ -28,6 +32,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
28
32
|
*/
|
|
29
33
|
query: (endUserId: string, params?: QbdTypes.AccountQueryRq) => Promise<NonNullable<QbdTypes.AccountQueryRs["AccountRet"]>>;
|
|
30
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* A bill is a transaction that represents a request-for-payment from a vendor
|
|
37
|
+
* for goods or services that it has provided.
|
|
38
|
+
*/
|
|
31
39
|
bill: {
|
|
32
40
|
/**
|
|
33
41
|
* This API provides the functionality of the QuickBooks “Enter Bills” form,
|
|
@@ -163,6 +171,42 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
163
171
|
*/
|
|
164
172
|
query: (endUserId: string, params?: QbdTypes.BillQueryRq) => Promise<NonNullable<QbdTypes.BillQueryRs["BillRet"]>>;
|
|
165
173
|
};
|
|
174
|
+
/**
|
|
175
|
+
* A billing rate is a predefined cost rate assigned to vendors or employees.
|
|
176
|
+
*/
|
|
177
|
+
billingRate: {
|
|
178
|
+
/**
|
|
179
|
+
* Adds a billing rate to the billing rate level list.
|
|
180
|
+
*
|
|
181
|
+
* After a billing rate is created, it can be assigned to an employee or
|
|
182
|
+
* vendor (`VendorAdd`/`VendorMod`, `EmployeeAdd`/`EmployeeMod`) via the
|
|
183
|
+
* `BillingRateRef` element in the appropriate request. Then, once the
|
|
184
|
+
* billing rate is assigned to an employee or vendor, if you use that
|
|
185
|
+
* employee or vendor in a time transaction (`TimeTrackingAdd`), then the
|
|
186
|
+
* billing rate will override the rate specified by the service item used in
|
|
187
|
+
* the time transaction.
|
|
188
|
+
*
|
|
189
|
+
* Use `FixedBillingRate` to override all service items with a fixed rate.
|
|
190
|
+
* Use `BillingRatePerItem` to override a specific service item. If you want
|
|
191
|
+
* to specify more than one service item, you’ll need to use one
|
|
192
|
+
* `BillingRatePerItem` aggregate for each service item.
|
|
193
|
+
*
|
|
194
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BillingRateAdd
|
|
195
|
+
*/
|
|
196
|
+
add: (endUserId: string, params: QbdTypes.BillingRateAddRq["BillingRateAdd"]) => Promise<NonNullable<QbdTypes.BillingRateAddRs["BillingRateRet"]>>;
|
|
197
|
+
/**
|
|
198
|
+
* Returns all billing rates, or billing rates filtered by modified date, or
|
|
199
|
+
* filtered by billing rate name, or filtered by the service item referenced
|
|
200
|
+
* in the billing rate.
|
|
201
|
+
*
|
|
202
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BillingRateQuery
|
|
203
|
+
*/
|
|
204
|
+
query: (endUserId: string, params?: QbdTypes.BillingRateQueryRq) => Promise<NonNullable<QbdTypes.BillingRateQueryRs["BillingRateRet"]>>;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* A bill payment check is a transaction that represents a payment by check
|
|
208
|
+
* for a bill.
|
|
209
|
+
*/
|
|
166
210
|
billPaymentCheck: {
|
|
167
211
|
/**
|
|
168
212
|
* A `BillPaymentCheckAdd` request must include either `PaymentAmount`,
|
|
@@ -269,9 +313,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
269
313
|
* you can filter on the `RefNumber` or `RefNumber` range. Notice that all
|
|
270
314
|
* of these filters can be used together (ANDed) if desired.
|
|
271
315
|
*
|
|
272
|
-
* To prevent the return of too much data, you can use `MaxReturned` to
|
|
273
|
-
* the total number of bills returned from the query. In addition, you
|
|
274
|
-
* limit the type of data that is returned for each bill, using
|
|
316
|
+
* To prevent the return of too much data, you can use `MaxReturned` to
|
|
317
|
+
* limit the total number of bills returned from the query. In addition, you
|
|
318
|
+
* can limit the type of data that is returned for each bill, using
|
|
275
319
|
* `IncludeRetElement`. Finally, you can specify whether each bill contains
|
|
276
320
|
* line items using the `IncludeLineItems`, which by default is `False` (no
|
|
277
321
|
* line item data).
|
|
@@ -280,35 +324,46 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
280
324
|
*/
|
|
281
325
|
query: (endUserId: string, params?: QbdTypes.BillPaymentCheckQueryRq) => Promise<NonNullable<QbdTypes.BillPaymentCheckQueryRs["BillPaymentCheckRet"]>>;
|
|
282
326
|
};
|
|
283
|
-
|
|
327
|
+
/**
|
|
328
|
+
* A build assembly represents an inventory item created from other inventory
|
|
329
|
+
* items or assemblies.
|
|
330
|
+
*/
|
|
331
|
+
buildAssembly: {
|
|
284
332
|
/**
|
|
285
|
-
* Adds a
|
|
333
|
+
* Adds a build assembly transaction to QuickBooks, where the specified
|
|
334
|
+
* quantity of the specified inventory assembly item is built. If there are
|
|
335
|
+
* insufficient quantities of items required for the build, you can have the
|
|
336
|
+
* build marked as a pending build by using setting `MarkPendingIfRequired`
|
|
337
|
+
* to `True`. (If you don’t and there aren’t enough quantities on hand for
|
|
338
|
+
* the build, this request will fail.) If successful, this request results
|
|
339
|
+
* in the decrementing of the quantities on hand amounts of each item used
|
|
340
|
+
* in the build, and the incrementing of the on hand quantities of the built
|
|
341
|
+
* assembly item.
|
|
286
342
|
*
|
|
287
|
-
*
|
|
288
|
-
* vendor (`VendorAdd`/`VendorMod`, `EmployeeAdd`/`EmployeeMod`) via the
|
|
289
|
-
* `BillingRateRef` element in the appropriate request. Then, once the
|
|
290
|
-
* billing rate is assigned to an employee or vendor, if you use that
|
|
291
|
-
* employee or vendor in a time transaction (`TimeTrackingAdd`), then the
|
|
292
|
-
* billing rate will override the rate specified by the service item used in
|
|
293
|
-
* the time transaction.
|
|
343
|
+
* This request is supported only in Premier and Enterprise.
|
|
294
344
|
*
|
|
295
|
-
*
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
345
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyAdd
|
|
346
|
+
*/
|
|
347
|
+
add: (endUserId: string, params: QbdTypes.BuildAssemblyAddRq["BuildAssemblyAdd"]) => Promise<NonNullable<QbdTypes.BuildAssemblyAddRs["BuildAssemblyRet"]>>;
|
|
348
|
+
/**
|
|
349
|
+
* Modifies an existing build assembly transaction in the QuickBooks
|
|
350
|
+
* company.
|
|
299
351
|
*
|
|
300
|
-
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/
|
|
352
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyMod
|
|
301
353
|
*/
|
|
302
|
-
|
|
354
|
+
mod: (endUserId: string, params: QbdTypes.BuildAssemblyModRq["BuildAssemblyMod"]) => Promise<NonNullable<QbdTypes.BuildAssemblyModRs["BuildAssemblyRet"]>>;
|
|
303
355
|
/**
|
|
304
|
-
*
|
|
305
|
-
* filtered by billing rate name, or filtered by the service item referenced
|
|
306
|
-
* in the billing rate.
|
|
356
|
+
* Filters build assembly transactions by the specified filter criteria.
|
|
307
357
|
*
|
|
308
|
-
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/
|
|
358
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyQuery
|
|
309
359
|
*/
|
|
310
|
-
query: (endUserId: string, params?: QbdTypes.
|
|
360
|
+
query: (endUserId: string, params?: QbdTypes.BuildAssemblyQueryRq) => Promise<NonNullable<QbdTypes.BuildAssemblyQueryRs["BuildAssemblyRet"]>>;
|
|
311
361
|
};
|
|
362
|
+
/**
|
|
363
|
+
* A charge contains information about a statement charge. (A credit card
|
|
364
|
+
* charge, on the other hand, refers to a credit card charge incurred by the
|
|
365
|
+
* QuickBooks user.)
|
|
366
|
+
*/
|
|
312
367
|
charge: {
|
|
313
368
|
/**
|
|
314
369
|
* Adds a customer charge. A `Charge` contains information about a statement
|
|
@@ -343,36 +398,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
343
398
|
*/
|
|
344
399
|
query: (endUserId: string, params?: QbdTypes.ChargeQueryRq) => Promise<NonNullable<QbdTypes.ChargeQueryRs["ChargeRet"]>>;
|
|
345
400
|
};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
* quantity of the specified inventory assembly item is built. If there are
|
|
350
|
-
* insufficient quantities of items required for the build, you can have the
|
|
351
|
-
* build marked as a pending build by using setting `MarkPendingIfRequired`
|
|
352
|
-
* to `True`. (If you don’t and there aren’t enough quantities on hand for
|
|
353
|
-
* the build, this request will fail.) If successful, this request results
|
|
354
|
-
* in the decrementing of the quantities on hand amounts of each item used
|
|
355
|
-
* in the build, and the incrementing of the on hand quantities of the built
|
|
356
|
-
* assembly item.
|
|
357
|
-
*
|
|
358
|
-
* This request is supported only in Premier and Enterprise.
|
|
359
|
-
*
|
|
360
|
-
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyAdd
|
|
361
|
-
*/
|
|
362
|
-
add: (endUserId: string, params: QbdTypes.BuildAssemblyAddRq["BuildAssemblyAdd"]) => Promise<NonNullable<QbdTypes.BuildAssemblyAddRs["BuildAssemblyRet"]>>;
|
|
363
|
-
/**
|
|
364
|
-
* Modifies an existing build assembly transaction in the QuickBooks company.
|
|
365
|
-
*
|
|
366
|
-
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyMod
|
|
367
|
-
*/
|
|
368
|
-
mod: (endUserId: string, params: QbdTypes.BuildAssemblyModRq["BuildAssemblyMod"]) => Promise<NonNullable<QbdTypes.BuildAssemblyModRs["BuildAssemblyRet"]>>;
|
|
369
|
-
/**
|
|
370
|
-
* Filters build assembly transactions by the specified filter criteria.
|
|
371
|
-
*
|
|
372
|
-
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/BuildAssemblyQuery
|
|
373
|
-
*/
|
|
374
|
-
query: (endUserId: string, params?: QbdTypes.BuildAssemblyQueryRq) => Promise<NonNullable<QbdTypes.BuildAssemblyQueryRs["BuildAssemblyRet"]>>;
|
|
375
|
-
};
|
|
401
|
+
/**
|
|
402
|
+
* A check is a transaction that represents a paper check.
|
|
403
|
+
*/
|
|
376
404
|
check: {
|
|
377
405
|
/**
|
|
378
406
|
* The amount of a check is the total of the amounts assigned to expense
|
|
@@ -394,7 +422,8 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
394
422
|
*/
|
|
395
423
|
add: (endUserId: string, params: QbdTypes.CheckAddRq["CheckAdd"]) => Promise<NonNullable<QbdTypes.CheckAddRs["CheckRet"]>>;
|
|
396
424
|
/**
|
|
397
|
-
* Modifies an existing Check. Notice that you cannot use this to modify
|
|
425
|
+
* Modifies an existing Check. Notice that you cannot use this to modify
|
|
426
|
+
* BillPaymentChecks.
|
|
398
427
|
*
|
|
399
428
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/CheckMod
|
|
400
429
|
*/
|
|
@@ -408,6 +437,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
408
437
|
*/
|
|
409
438
|
query: (endUserId: string, params?: QbdTypes.CheckQueryRq) => Promise<NonNullable<QbdTypes.CheckQueryRs["CheckRet"]>>;
|
|
410
439
|
};
|
|
440
|
+
/**
|
|
441
|
+
* Classes can be used to separate transactions into meaningful categories.
|
|
442
|
+
* (For example, transactions could be classified according to department,
|
|
443
|
+
* business location, or type of work.)
|
|
444
|
+
*/
|
|
411
445
|
class: {
|
|
412
446
|
/**
|
|
413
447
|
* Classes can be used to separate transactions into meaningful categories.
|
|
@@ -442,6 +476,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
442
476
|
*/
|
|
443
477
|
query: (endUserId: string, params?: QbdTypes.ClassQueryRq) => Promise<NonNullable<QbdTypes.ClassQueryRs["ClassRet"]>>;
|
|
444
478
|
};
|
|
479
|
+
/**
|
|
480
|
+
* The company refers to the end-user's business entity within QuickBooks
|
|
481
|
+
* Desktop.
|
|
482
|
+
*/
|
|
445
483
|
company: {
|
|
446
484
|
/**
|
|
447
485
|
* Returns detailed information about a QuickBooks company file, such as the
|
|
@@ -456,6 +494,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
456
494
|
*/
|
|
457
495
|
query: (endUserId: string, params?: QbdTypes.CompanyQueryRq) => Promise<NonNullable<QbdTypes.CompanyQueryRs["CompanyRet"]>>;
|
|
458
496
|
};
|
|
497
|
+
/**
|
|
498
|
+
* A credit card charge is a general charge incurred when a QuickBooks user
|
|
499
|
+
* makes a purchase using a credit card. Credit card charges for purchases can
|
|
500
|
+
* be tracked as expenses (in expense accounts) or as items.
|
|
501
|
+
*/
|
|
459
502
|
creditCardCharge: {
|
|
460
503
|
/**
|
|
461
504
|
* A credit card charge is a general charge incurred when a QuickBooks user
|
|
@@ -504,6 +547,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
504
547
|
*/
|
|
505
548
|
query: (endUserId: string, params?: QbdTypes.CreditCardChargeQueryRq) => Promise<NonNullable<QbdTypes.CreditCardChargeQueryRs["CreditCardChargeRet"]>>;
|
|
506
549
|
};
|
|
550
|
+
/**
|
|
551
|
+
* A credit card credit is a credit card refund issued to a customer.
|
|
552
|
+
*/
|
|
507
553
|
creditCardCredit: {
|
|
508
554
|
/**
|
|
509
555
|
* If a QuickBooks user returns merchandise and receives credit, the credit
|
|
@@ -551,6 +597,14 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
551
597
|
*/
|
|
552
598
|
query: (endUserId: string, params?: QbdTypes.CreditCardCreditQueryRq) => Promise<NonNullable<QbdTypes.CreditCardCreditQueryRs["CreditCardCreditRet"]>>;
|
|
553
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* A credit memo specifies an amount that you owe your customer for some
|
|
602
|
+
* reason, such as overpayment against an invoice, returned merchandise, or
|
|
603
|
+
* for some pre-payment. It reduces a customer’s outstanding balance.
|
|
604
|
+
*
|
|
605
|
+
* Do not confuse a credit memo with a vendor credit, which specifies an
|
|
606
|
+
* amount that a vendor owes you.
|
|
607
|
+
*/
|
|
554
608
|
creditMemo: {
|
|
555
609
|
/**
|
|
556
610
|
* Adds a credit memo. A credit memo specifies an amount that you owe your
|
|
@@ -600,10 +654,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
600
654
|
*/
|
|
601
655
|
query: (endUserId: string, params?: QbdTypes.CreditMemoQueryRq) => Promise<NonNullable<QbdTypes.CreditMemoQueryRs["CreditMemoRet"]>>;
|
|
602
656
|
};
|
|
657
|
+
/**
|
|
658
|
+
* A currency is custom currency defined by the user.
|
|
659
|
+
*/
|
|
603
660
|
currency: {
|
|
604
661
|
/**
|
|
605
|
-
* Adds a user-defined currency with the specified name and currency
|
|
606
|
-
* code.
|
|
662
|
+
* Adds a user-defined currency with the specified name and currency code.
|
|
607
663
|
*
|
|
608
664
|
* Currencies created by users are distinguished from the built-in QB
|
|
609
665
|
* currencies in the `CurrencyRet` object: they are identified as
|
|
@@ -636,6 +692,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
636
692
|
*/
|
|
637
693
|
query: (endUserId: string, params?: QbdTypes.CurrencyQueryRq) => Promise<NonNullable<QbdTypes.CurrencyQueryRs["CurrencyRet"]>>;
|
|
638
694
|
};
|
|
695
|
+
/**
|
|
696
|
+
* Customers refer to both the QuickBooks user’s customers and the individual
|
|
697
|
+
* jobs that are being performed for them.
|
|
698
|
+
*/
|
|
639
699
|
customer: {
|
|
640
700
|
/**
|
|
641
701
|
* The customer list includes information about the QuickBooks user’s
|
|
@@ -680,6 +740,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
680
740
|
*/
|
|
681
741
|
query: (endUserId: string, params?: QbdTypes.CustomerQueryRq) => Promise<NonNullable<QbdTypes.CustomerQueryRs["CustomerRet"]>>;
|
|
682
742
|
};
|
|
743
|
+
/**
|
|
744
|
+
* Customer types allow business owners to categorize customers in ways that
|
|
745
|
+
* are meaningful for their businesses. For example, a customer type might
|
|
746
|
+
* indicate which industry a customer represents, or which part of the country
|
|
747
|
+
* a customer is in.
|
|
748
|
+
*/
|
|
683
749
|
customerType: {
|
|
684
750
|
/**
|
|
685
751
|
* Customer types allow business owners to categorize customers in ways that
|
|
@@ -701,6 +767,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
701
767
|
*/
|
|
702
768
|
query: (endUserId: string, params?: QbdTypes.CustomerTypeQueryRq) => Promise<NonNullable<QbdTypes.CustomerTypeQueryRs["CustomerTypeRet"]>>;
|
|
703
769
|
};
|
|
770
|
+
/**
|
|
771
|
+
* Date-driven terms show the day of the month by which payment is due and can
|
|
772
|
+
* include a discount for early payment. Payments with standard terms, on the
|
|
773
|
+
* other hand, are due within a certain number of days.
|
|
774
|
+
*/
|
|
704
775
|
dateDrivenTerms: {
|
|
705
776
|
/**
|
|
706
777
|
* Date-driven terms show the day of the month by which payment is due and
|
|
@@ -721,6 +792,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
721
792
|
*/
|
|
722
793
|
query: (endUserId: string, params?: QbdTypes.DateDrivenTermsQueryRq) => Promise<NonNullable<QbdTypes.DateDrivenTermsQueryRs["DateDrivenTermsRet"]>>;
|
|
723
794
|
};
|
|
795
|
+
/**
|
|
796
|
+
* A deposit is a non-posting transaction that you can use to group payments
|
|
797
|
+
* together. You can also use a deposit to deposit payments directly into a
|
|
798
|
+
* QuickBooks bank account.
|
|
799
|
+
*/
|
|
724
800
|
deposit: {
|
|
725
801
|
/**
|
|
726
802
|
* After you receive payments from customers (see `ReceivePayment`), you can
|
|
@@ -744,6 +820,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
744
820
|
*/
|
|
745
821
|
query: (endUserId: string, params?: QbdTypes.DepositQueryRq) => Promise<NonNullable<QbdTypes.DepositQueryRs["DepositRet"]>>;
|
|
746
822
|
};
|
|
823
|
+
/**
|
|
824
|
+
* An employee is a person who works for a company. An employee can be a
|
|
825
|
+
* salaried employee, an hourly employee, or a contractor. An employee can
|
|
826
|
+
* also be a vendor.
|
|
827
|
+
*/
|
|
747
828
|
employee: {
|
|
748
829
|
/**
|
|
749
830
|
* Adds an employee with personal data about the employee as well as certain
|
|
@@ -765,6 +846,16 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
765
846
|
*/
|
|
766
847
|
query: (endUserId: string, params?: QbdTypes.EmployeeQueryRq) => Promise<NonNullable<QbdTypes.EmployeeQueryRs["EmployeeRet"]>>;
|
|
767
848
|
};
|
|
849
|
+
/**
|
|
850
|
+
* A QuickBooks estimate is a description of a sale that the QuickBooks user
|
|
851
|
+
* proposes to make to a current or prospective customer. An estimate might
|
|
852
|
+
* also be called a “bid” or a “proposal.” In QuickBooks, estimates and
|
|
853
|
+
* invoices use similar fields, and an estimate can be converted into an
|
|
854
|
+
* invoice after the customer accepts the estimate.
|
|
855
|
+
*
|
|
856
|
+
* An estimate is a non-posting transaction, so it does not affect a company’s
|
|
857
|
+
* balance sheet or income statement.
|
|
858
|
+
*/
|
|
768
859
|
estimate: {
|
|
769
860
|
/**
|
|
770
861
|
* Adds an estimate. A QuickBooks estimate is a description of a sale that
|
|
@@ -811,6 +902,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
811
902
|
*/
|
|
812
903
|
query: (endUserId: string, params?: QbdTypes.EstimateQueryRq) => Promise<NonNullable<QbdTypes.EstimateQueryRs["EstimateRet"]>>;
|
|
813
904
|
};
|
|
905
|
+
/**
|
|
906
|
+
* An inventory adjustment is a non-posting transaction that you can use to
|
|
907
|
+
* adjust the quantity or value of an inventory item
|
|
908
|
+
*/
|
|
814
909
|
inventoryAdjustment: {
|
|
815
910
|
/**
|
|
816
911
|
* Adds an inventory adjustment.
|
|
@@ -845,6 +940,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
845
940
|
*/
|
|
846
941
|
query: (endUserId: string, params?: QbdTypes.InventoryAdjustmentQueryRq) => Promise<NonNullable<QbdTypes.InventoryAdjustmentQueryRs["InventoryAdjustmentRet"]>>;
|
|
847
942
|
};
|
|
943
|
+
/**
|
|
944
|
+
* An inventory site is a location where inventory is stored. For example, a
|
|
945
|
+
* company might have a warehouse, a stockroom, and a showroom, each of which
|
|
946
|
+
* is an inventory site.
|
|
947
|
+
*/
|
|
848
948
|
inventorySite: {
|
|
849
949
|
/**
|
|
850
950
|
* Adds an inventory site.
|
|
@@ -865,6 +965,17 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
865
965
|
*/
|
|
866
966
|
query: (endUserId: string, params?: QbdTypes.InventorySiteQueryRq) => Promise<NonNullable<QbdTypes.InventorySiteQueryRs["InventorySiteRet"]>>;
|
|
867
967
|
};
|
|
968
|
+
/**
|
|
969
|
+
* An invoice records the amount owed by a customer who purchased goods or
|
|
970
|
+
* services but did not pay in full at the time of the sale. If full payment
|
|
971
|
+
* is received at the time of the sale, it is recorded as a sales receipt, not
|
|
972
|
+
* an invoice.
|
|
973
|
+
*
|
|
974
|
+
* In QuickBooks, invoices and estimates use similar fields, and an estimate
|
|
975
|
+
* can be converted into an invoice after the customer accepts the estimate.
|
|
976
|
+
* However, in the SDK, there is currently no ability to create an invoice
|
|
977
|
+
* directly from an estimate (you cannot link an invoice to an estimate).
|
|
978
|
+
*/
|
|
868
979
|
invoice: {
|
|
869
980
|
/**
|
|
870
981
|
* Adds an invoice.
|
|
@@ -927,6 +1038,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
927
1038
|
*/
|
|
928
1039
|
query: (endUserId: string, params?: QbdTypes.InvoiceQueryRq) => Promise<NonNullable<QbdTypes.InvoiceQueryRs["InvoiceRet"]>>;
|
|
929
1040
|
};
|
|
1041
|
+
/**
|
|
1042
|
+
* A discount item is a percentage or a fixed amount that will be subtracted
|
|
1043
|
+
* from a total or subtotal.
|
|
1044
|
+
*/
|
|
930
1045
|
itemDiscount: {
|
|
931
1046
|
/**
|
|
932
1047
|
* Adds a discount item. A discount item is a percentage or a fixed amount
|
|
@@ -1002,6 +1117,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1002
1117
|
*/
|
|
1003
1118
|
query: (endUserId: string, params?: QbdTypes.ItemDiscountQueryRq) => Promise<NonNullable<QbdTypes.ItemDiscountQueryRs["ItemDiscountRet"]>>;
|
|
1004
1119
|
};
|
|
1120
|
+
/**
|
|
1121
|
+
* Fixed-asset items represent assets that will benefit a business for longer
|
|
1122
|
+
* than one year. The purchase price of these fixed assets is typically
|
|
1123
|
+
* expensed over a period of years, rather than in the year the purchase was
|
|
1124
|
+
* made.
|
|
1125
|
+
*/
|
|
1005
1126
|
itemFixedAsset: {
|
|
1006
1127
|
/**
|
|
1007
1128
|
* Adds a fixed-asset item. Fixed-asset items represent assets that will
|
|
@@ -1028,6 +1149,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1028
1149
|
*/
|
|
1029
1150
|
query: (endUserId: string, params?: QbdTypes.ItemFixedAssetQueryRq) => Promise<NonNullable<QbdTypes.ItemFixedAssetQueryRs["ItemFixedAssetRet"]>>;
|
|
1030
1151
|
};
|
|
1152
|
+
/**
|
|
1153
|
+
* An item group represents items that are grouped together for fast entry.
|
|
1154
|
+
*/
|
|
1031
1155
|
itemGroup: {
|
|
1032
1156
|
/**
|
|
1033
1157
|
* Adds an item group. `ItemGroup` objects represent items that are grouped
|
|
@@ -1054,6 +1178,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1054
1178
|
*/
|
|
1055
1179
|
query: (endUserId: string, params?: QbdTypes.ItemGroupQueryRq) => Promise<NonNullable<QbdTypes.ItemGroupQueryRs["ItemGroupRet"]>>;
|
|
1056
1180
|
};
|
|
1181
|
+
/**
|
|
1182
|
+
* An inventory item is any merchandise or part that a business purchases,
|
|
1183
|
+
* tracks as inventory, and then resells.
|
|
1184
|
+
*/
|
|
1057
1185
|
itemInventory: {
|
|
1058
1186
|
/**
|
|
1059
1187
|
* Adds an inventory item. An inventory item is any merchandise or part that
|
|
@@ -1101,6 +1229,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1101
1229
|
*/
|
|
1102
1230
|
query: (endUserId: string, params?: QbdTypes.ItemInventoryQueryRq) => Promise<NonNullable<QbdTypes.ItemInventoryQueryRs["ItemInventoryRet"]>>;
|
|
1103
1231
|
};
|
|
1232
|
+
/**
|
|
1233
|
+
* An inventory assembly item is an item that is assembled or manufactured
|
|
1234
|
+
* from other inventory items. The items and/or assemblies that make up the
|
|
1235
|
+
* assembly are called components.
|
|
1236
|
+
*/
|
|
1104
1237
|
itemInventoryAssembly: {
|
|
1105
1238
|
/**
|
|
1106
1239
|
* Adds an inventory assembly item, which is an item that is assembled or
|
|
@@ -1141,6 +1274,14 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1141
1274
|
*/
|
|
1142
1275
|
query: (endUserId: string, params?: QbdTypes.ItemInventoryAssemblyQueryRq) => Promise<NonNullable<QbdTypes.ItemInventoryAssemblyQueryRs["ItemInventoryAssemblyRet"]>>;
|
|
1143
1276
|
};
|
|
1277
|
+
/**
|
|
1278
|
+
* A non-inventory item is any material or part that a business buys but does
|
|
1279
|
+
* not keep on hand as inventory. There are two types of non-inventory items:
|
|
1280
|
+
* 1. Materials or parts that are part of the business’s overhead (for
|
|
1281
|
+
* example, office supplies
|
|
1282
|
+
* 2. Materials or parts that the business buys to finish a specific job and
|
|
1283
|
+
* then charges back to the customer.
|
|
1284
|
+
*/
|
|
1144
1285
|
itemNonInventory: {
|
|
1145
1286
|
/**
|
|
1146
1287
|
* Adds a non-inventory item, which is any material or part that a business
|
|
@@ -1173,13 +1314,13 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1173
1314
|
* the change should apply to existing transactions or not. Specifying True
|
|
1174
1315
|
* for the boolean basically dismisses this with a “Yes” answer, allowing
|
|
1175
1316
|
* your changes to be made and changes any existing transactions that use
|
|
1176
|
-
* the item with that `AccountRef`. Specifying “False” means that the mod
|
|
1177
|
-
* not take affect if there are existing transactions. Setting this to
|
|
1317
|
+
* the item with that `AccountRef`. Specifying “False” means that the mod
|
|
1318
|
+
* will not take affect if there are existing transactions. Setting this to
|
|
1178
1319
|
* “True” should be used with caution and normally only after some user has
|
|
1179
1320
|
* indicated that they want those changes made to all those existing
|
|
1180
1321
|
* transactions! If any affected transactions are protected by a closing
|
|
1181
|
-
* date and password, the `AccountRef` changes will not be made and so the
|
|
1182
|
-
* request will return an error without making the requested Mod.
|
|
1322
|
+
* date and password, the `AccountRef` changes will not be made and so the
|
|
1323
|
+
* Mod request will return an error without making the requested Mod.
|
|
1183
1324
|
*
|
|
1184
1325
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/ItemNonInventoryMod
|
|
1185
1326
|
*/
|
|
@@ -1191,6 +1332,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1191
1332
|
*/
|
|
1192
1333
|
query: (endUserId: string, params?: QbdTypes.ItemNonInventoryQueryRq) => Promise<NonNullable<QbdTypes.ItemNonInventoryQueryRs["ItemNonInventoryRet"]>>;
|
|
1193
1334
|
};
|
|
1335
|
+
/**
|
|
1336
|
+
* An other charge item are miscellaneous charges that do not fall into the
|
|
1337
|
+
* categories of service, labor, materials, or parts. Examples include
|
|
1338
|
+
* delivery charges, setup fees, and service charges.
|
|
1339
|
+
*/
|
|
1194
1340
|
itemOtherCharge: {
|
|
1195
1341
|
/**
|
|
1196
1342
|
* Adds an other charge item, which are miscellaneous charges that do not
|
|
@@ -1237,6 +1383,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1237
1383
|
*/
|
|
1238
1384
|
query: (endUserId: string, params?: QbdTypes.ItemOtherChargeQueryRq) => Promise<NonNullable<QbdTypes.ItemOtherChargeQueryRs["ItemOtherChargeRet"]>>;
|
|
1239
1385
|
};
|
|
1386
|
+
/**
|
|
1387
|
+
* A payment item is a type of item that is used to record a payment that is
|
|
1388
|
+
* received from a customer.
|
|
1389
|
+
*/
|
|
1240
1390
|
itemPayment: {
|
|
1241
1391
|
/**
|
|
1242
1392
|
* Adds an item payment or set of payments. You can use this request to
|
|
@@ -1268,6 +1418,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1268
1418
|
*/
|
|
1269
1419
|
query: (endUserId: string, params?: QbdTypes.ItemPaymentQueryRq) => Promise<NonNullable<QbdTypes.ItemPaymentQueryRs["ItemPaymentRet"]>>;
|
|
1270
1420
|
};
|
|
1421
|
+
/**
|
|
1422
|
+
* An item receipt transaction is a transaction entered in QuickBooks when a
|
|
1423
|
+
* shipment is received from a vendor.
|
|
1424
|
+
*/
|
|
1271
1425
|
itemReceipt: {
|
|
1272
1426
|
/**
|
|
1273
1427
|
* Adds an item receipt transaction, which is a transaction entered in
|
|
@@ -1296,6 +1450,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1296
1450
|
*/
|
|
1297
1451
|
query: (endUserId: string, params?: QbdTypes.ItemReceiptQueryRq) => Promise<NonNullable<QbdTypes.ItemReceiptQueryRs["ItemReceiptRet"]>>;
|
|
1298
1452
|
};
|
|
1453
|
+
/**
|
|
1454
|
+
* A sales-tax item is an item used to calculate a single sales tax that is
|
|
1455
|
+
* collected at a specified rate and paid to a single agency.
|
|
1456
|
+
*/
|
|
1299
1457
|
itemSalesTax: {
|
|
1300
1458
|
/**
|
|
1301
1459
|
* Adds a sales-tax item, which is an item used to calculate a single sales
|
|
@@ -1351,6 +1509,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1351
1509
|
*/
|
|
1352
1510
|
query: (endUserId: string, params?: QbdTypes.ItemSalesTaxQueryRq) => Promise<NonNullable<QbdTypes.ItemSalesTaxQueryRs["ItemSalesTaxRet"]>>;
|
|
1353
1511
|
};
|
|
1512
|
+
/**
|
|
1513
|
+
* A sales-tax group item is an item used for calculating two or more sales
|
|
1514
|
+
* taxes grouped together and applied to the same sale. For example, local and
|
|
1515
|
+
* state taxes could be tracked separately but applied to a sale as one tax.
|
|
1516
|
+
*/
|
|
1354
1517
|
itemSalesTaxGroup: {
|
|
1355
1518
|
/**
|
|
1356
1519
|
* Adds a sales-tax group item, which is an item used for calculating two or
|
|
@@ -1403,6 +1566,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1403
1566
|
*/
|
|
1404
1567
|
query: (endUserId: string, params?: QbdTypes.ItemSalesTaxGroupQueryRq) => Promise<NonNullable<QbdTypes.ItemSalesTaxGroupQueryRs["ItemSalesTaxGroupRet"]>>;
|
|
1405
1568
|
};
|
|
1569
|
+
/**
|
|
1570
|
+
* A service item is an item that refers to services that a business charges
|
|
1571
|
+
* for or purchases. Examples include specialized labor, consulting hours, and
|
|
1572
|
+
* professional fees.
|
|
1573
|
+
*/
|
|
1406
1574
|
itemService: {
|
|
1407
1575
|
/**
|
|
1408
1576
|
* Adds a service item, which is an item that refers to services that a
|
|
@@ -1415,8 +1583,8 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1415
1583
|
* In a `TimeTracking` message, `ItemServiceRef` refers to the type of work.
|
|
1416
1584
|
* If no `CustomerRef` is specified, then `ItemServiceRef` is not needed. If
|
|
1417
1585
|
* `IsBillable` is set to true, then `TimeTrackingAdd` must include both
|
|
1418
|
-
* `ItemServiceRef` and `CustomerRef`.
|
|
1419
|
-
*
|
|
1586
|
+
* `ItemServiceRef` and `CustomerRef`. See more:
|
|
1587
|
+
* https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/ItemServiceAdd
|
|
1420
1588
|
*/
|
|
1421
1589
|
add: (endUserId: string, params: QbdTypes.ItemServiceAddRq["ItemServiceAdd"]) => Promise<NonNullable<QbdTypes.ItemServiceAddRs["ItemServiceRet"]>>;
|
|
1422
1590
|
/**
|
|
@@ -1458,6 +1626,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1458
1626
|
*/
|
|
1459
1627
|
query: (endUserId: string, params?: QbdTypes.ItemServiceQueryRq) => Promise<NonNullable<QbdTypes.ItemServiceQueryRs["ItemServiceRet"]>>;
|
|
1460
1628
|
};
|
|
1629
|
+
/**
|
|
1630
|
+
* A subtotal item is used on a sales form to add up the amounts of the item
|
|
1631
|
+
* lines above it, up to the previous subtotal.
|
|
1632
|
+
*/
|
|
1461
1633
|
itemSubtotal: {
|
|
1462
1634
|
/**
|
|
1463
1635
|
* Adds a subtotal item. On a sales form, a subtotal item will add up the
|
|
@@ -1481,6 +1653,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1481
1653
|
*/
|
|
1482
1654
|
query: (endUserId: string, params?: QbdTypes.ItemSubtotalQueryRq) => Promise<NonNullable<QbdTypes.ItemSubtotalQueryRs["ItemSubtotalRet"]>>;
|
|
1483
1655
|
};
|
|
1656
|
+
/**
|
|
1657
|
+
* A job type can be used to separate jobs into any categories that are
|
|
1658
|
+
* meaningful to the business.
|
|
1659
|
+
*/
|
|
1484
1660
|
jobType: {
|
|
1485
1661
|
/**
|
|
1486
1662
|
* Adds a job type. A job type can be used to separate jobs into any
|
|
@@ -1500,6 +1676,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1500
1676
|
*/
|
|
1501
1677
|
query: (endUserId: string, params?: QbdTypes.JobTypeQueryRq) => Promise<NonNullable<QbdTypes.JobTypeQueryRs["JobTypeRet"]>>;
|
|
1502
1678
|
};
|
|
1679
|
+
/**
|
|
1680
|
+
* A journal entry is used for recording transactions directly in the general
|
|
1681
|
+
* journal, particularly for activities like depreciation. It requires paired
|
|
1682
|
+
* credit and debit lines in one request to balance the monetary amounts.
|
|
1683
|
+
*/
|
|
1503
1684
|
journalEntry: {
|
|
1504
1685
|
/**
|
|
1505
1686
|
* The debit and credit lines can be intermingled. A credit line can legally
|
|
@@ -1569,6 +1750,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1569
1750
|
*/
|
|
1570
1751
|
query: (endUserId: string, params?: QbdTypes.JournalEntryQueryRq) => Promise<NonNullable<QbdTypes.JournalEntryQueryRs["JournalEntryRet"]>>;
|
|
1571
1752
|
};
|
|
1753
|
+
/**
|
|
1754
|
+
* A lead is a potential customer or sales opportunity that a business might
|
|
1755
|
+
* have.
|
|
1756
|
+
*/
|
|
1572
1757
|
lead: {
|
|
1573
1758
|
/**
|
|
1574
1759
|
* Adds a lead.
|
|
@@ -1589,6 +1774,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1589
1774
|
*/
|
|
1590
1775
|
query: (endUserId: string, params?: QbdTypes.LeadQueryRq) => Promise<NonNullable<QbdTypes.LeadQueryRs["LeadRet"]>>;
|
|
1591
1776
|
};
|
|
1777
|
+
/**
|
|
1778
|
+
* The “other names” list contains any names that do not appear on customer,
|
|
1779
|
+
* vendor, or employee lists.
|
|
1780
|
+
*/
|
|
1592
1781
|
otherName: {
|
|
1593
1782
|
/**
|
|
1594
1783
|
* Adds an other name. In QuickBooks, the “other names” list contains any
|
|
@@ -1610,6 +1799,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1610
1799
|
*/
|
|
1611
1800
|
query: (endUserId: string, params?: QbdTypes.OtherNameQueryRq) => Promise<NonNullable<QbdTypes.OtherNameQueryRs["OtherNameRet"]>>;
|
|
1612
1801
|
};
|
|
1802
|
+
/**
|
|
1803
|
+
* A price level is used to specify custom pricing for specific customers.
|
|
1804
|
+
* Once you create a price level for a customer, QuickBooks will automatically
|
|
1805
|
+
* use the custom price in new invoices, sales receipts, sales orders or
|
|
1806
|
+
* credit memos for that customer.
|
|
1807
|
+
*/
|
|
1613
1808
|
priceLevel: {
|
|
1614
1809
|
/**
|
|
1615
1810
|
* Adds a price level. You can use price levels to specify custom pricing
|
|
@@ -1644,6 +1839,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1644
1839
|
*/
|
|
1645
1840
|
query: (endUserId: string, params?: QbdTypes.PriceLevelQueryRq) => Promise<NonNullable<QbdTypes.PriceLevelQueryRs["PriceLevelRet"]>>;
|
|
1646
1841
|
};
|
|
1842
|
+
/**
|
|
1843
|
+
* A purchase order is an order submitted to a vendor.
|
|
1844
|
+
*/
|
|
1647
1845
|
purchaseOrder: {
|
|
1648
1846
|
/**
|
|
1649
1847
|
* Adds a purchase order, which is an order submitted to a vendor. You can
|
|
@@ -1685,6 +1883,15 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1685
1883
|
*/
|
|
1686
1884
|
query: (endUserId: string, params?: QbdTypes.PurchaseOrderQueryRq) => Promise<NonNullable<QbdTypes.PurchaseOrderQueryRs["PurchaseOrderRet"]>>;
|
|
1687
1885
|
};
|
|
1886
|
+
/**
|
|
1887
|
+
* A receive payment transaction is used for one or more of these purposes:
|
|
1888
|
+
* 1. To record a customer’s payment against an invoice for one or more jobs,
|
|
1889
|
+
* 2. To set a discount (for early payment, for example),
|
|
1890
|
+
* 3. To set a credit (from previously returned merchandise, for example).
|
|
1891
|
+
*
|
|
1892
|
+
* If full payment is received at the time of sale, it is recorded using a
|
|
1893
|
+
* sales receipt transaction, not a receive payments transaction.
|
|
1894
|
+
*/
|
|
1688
1895
|
receivePayment: {
|
|
1689
1896
|
/**
|
|
1690
1897
|
* Receives a customer payment into QuickBooks. A receive payment
|
|
@@ -1777,6 +1984,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1777
1984
|
*/
|
|
1778
1985
|
query: (endUserId: string, params?: QbdTypes.ReceivePaymentQueryRq) => Promise<NonNullable<QbdTypes.ReceivePaymentQueryRs["ReceivePaymentRet"]>>;
|
|
1779
1986
|
};
|
|
1987
|
+
/**
|
|
1988
|
+
* A report in QuickBooks Desktop is a tool that allows users to generate
|
|
1989
|
+
* detailed financial statements and overviews, such as Profit and Loss
|
|
1990
|
+
* statements or General Ledger detail reports, tailored to their specific
|
|
1991
|
+
* needs.
|
|
1992
|
+
*/
|
|
1780
1993
|
report: {
|
|
1781
1994
|
/**
|
|
1782
1995
|
* Generates budget reports similar to the budget report functionality that
|
|
@@ -1978,6 +2191,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
1978
2191
|
*/
|
|
1979
2192
|
time: (endUserId: string, params: QbdTypes.TimeReportQueryRq) => Promise<NonNullable<QbdTypes.TimeReportQueryRs["ReportRet"]>>;
|
|
1980
2193
|
};
|
|
2194
|
+
/**
|
|
2195
|
+
* A sales order tracks inventory that is on back order for a customer. In
|
|
2196
|
+
* QuickBooks, sales orders and invoices use similar fields, and a sales order
|
|
2197
|
+
* can be “converted” into an invoice (by linking the invoice to the sales
|
|
2198
|
+
* order) once the inventory is in stock.
|
|
2199
|
+
*/
|
|
1981
2200
|
salesOrder: {
|
|
1982
2201
|
/**
|
|
1983
2202
|
* Adds a sales order.
|
|
@@ -2023,6 +2242,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2023
2242
|
*/
|
|
2024
2243
|
query: (endUserId: string, params?: QbdTypes.SalesOrderQueryRq) => Promise<NonNullable<QbdTypes.SalesOrderQueryRs["SalesOrderRet"]>>;
|
|
2025
2244
|
};
|
|
2245
|
+
/**
|
|
2246
|
+
* Sales receipts include payments by cash, check, or credit card.
|
|
2247
|
+
*/
|
|
2026
2248
|
salesReceipt: {
|
|
2027
2249
|
/**
|
|
2028
2250
|
* Adds a sales receipt to QuickBooks.
|
|
@@ -2065,6 +2287,9 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2065
2287
|
*/
|
|
2066
2288
|
query: (endUserId: string, params?: QbdTypes.SalesReceiptQueryRq) => Promise<NonNullable<QbdTypes.SalesReceiptQueryRs["SalesReceiptRet"]>>;
|
|
2067
2289
|
};
|
|
2290
|
+
/**
|
|
2291
|
+
* A sales rep is a sales representative listed on sales forms.
|
|
2292
|
+
*/
|
|
2068
2293
|
salesRep: {
|
|
2069
2294
|
/**
|
|
2070
2295
|
* Adds a sales rep.
|
|
@@ -2093,6 +2318,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2093
2318
|
*/
|
|
2094
2319
|
query: (endUserId: string, params?: QbdTypes.SalesRepQueryRq) => Promise<NonNullable<QbdTypes.SalesRepQueryRs["SalesRepRet"]>>;
|
|
2095
2320
|
};
|
|
2321
|
+
/**
|
|
2322
|
+
* A sales tax code helps categorize items on a sales form as taxable or
|
|
2323
|
+
* non-taxable, detailing reasons and associating tax codes with customers,
|
|
2324
|
+
* items, or transactions.
|
|
2325
|
+
*/
|
|
2096
2326
|
salesTaxCode: {
|
|
2097
2327
|
/**
|
|
2098
2328
|
* Adds a sales tax code.
|
|
@@ -2109,13 +2339,14 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2109
2339
|
* preference within QuickBooks is set to No, QuickBooks will assign the
|
|
2110
2340
|
* default non-taxable sales-tax code to all sales.
|
|
2111
2341
|
*
|
|
2112
|
-
* A `SalesTaxCodeRef` aggregate refers to a sales-tax code on the list. In
|
|
2113
|
-
* request, if a `SalesTaxCodeRef` aggregate includes both `FullName` and
|
|
2114
|
-
* `ListID`, `FullName` will be ignored. In a Customer message,
|
|
2115
|
-
* refers to the sales-tax code that will be used for
|
|
2116
|
-
* customer. In an ItemInventory message,
|
|
2117
|
-
* of sales tax that will be charged
|
|
2118
|
-
* and if sales tax is set up within
|
|
2342
|
+
* A `SalesTaxCodeRef` aggregate refers to a sales-tax code on the list. In
|
|
2343
|
+
* a request, if a `SalesTaxCodeRef` aggregate includes both `FullName` and
|
|
2344
|
+
* `ListID`, `FullName` will be ignored. In a Customer message,
|
|
2345
|
+
* `SalesTaxCodeRef` refers to the sales-tax code that will be used for
|
|
2346
|
+
* items related to this customer. In an ItemInventory message,
|
|
2347
|
+
* `SalesTaxCodeRef` refers to the type of sales tax that will be charged
|
|
2348
|
+
* for this item, if it is a taxable item and if sales tax is set up within
|
|
2349
|
+
* QuickBooks.
|
|
2119
2350
|
*
|
|
2120
2351
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/SalesTaxCodeAdd
|
|
2121
2352
|
*/
|
|
@@ -2137,9 +2368,14 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2137
2368
|
*/
|
|
2138
2369
|
query: (endUserId: string, params?: QbdTypes.SalesTaxCodeQueryRq) => Promise<NonNullable<QbdTypes.SalesTaxCodeQueryRs["SalesTaxCodeRet"]>>;
|
|
2139
2370
|
};
|
|
2371
|
+
/**
|
|
2372
|
+
* A sales tax payment check is a payment made for sales tax owed (for
|
|
2373
|
+
* example, to a state sales tax authority).
|
|
2374
|
+
*/
|
|
2140
2375
|
salesTaxPaymentCheck: {
|
|
2141
2376
|
/**
|
|
2142
|
-
* Adds a payment made for sales tax owed (for example, to a state sales tax
|
|
2377
|
+
* Adds a payment made for sales tax owed (for example, to a state sales tax
|
|
2378
|
+
* authority).
|
|
2143
2379
|
*
|
|
2144
2380
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/SalesTaxPaymentCheckAdd
|
|
2145
2381
|
*/
|
|
@@ -2151,12 +2387,18 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2151
2387
|
*/
|
|
2152
2388
|
mod: (endUserId: string, params: QbdTypes.SalesTaxPaymentCheckModRq["SalesTaxPaymentCheckMod"]) => Promise<NonNullable<QbdTypes.SalesTaxPaymentCheckModRs["SalesTaxPaymentCheckRet"]>>;
|
|
2153
2389
|
/**
|
|
2154
|
-
* Queries for payments that have been made for sales tax owed (for example,
|
|
2390
|
+
* Queries for payments that have been made for sales tax owed (for example,
|
|
2391
|
+
* to a state sales tax authority).
|
|
2155
2392
|
*
|
|
2156
2393
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/SalesTaxPaymentCheckQuery
|
|
2157
2394
|
*/
|
|
2158
2395
|
query: (endUserId: string, params?: QbdTypes.SalesTaxPaymentCheckQueryRq) => Promise<NonNullable<QbdTypes.SalesTaxPaymentCheckQueryRs["SalesTaxPaymentCheckRet"]>>;
|
|
2159
2396
|
};
|
|
2397
|
+
/**
|
|
2398
|
+
* Standard terms show the number of days within which payment is due and can
|
|
2399
|
+
* include a discount for early payment. Payments with date-driven terms, on
|
|
2400
|
+
* the other hand, are due by a certain date.
|
|
2401
|
+
*/
|
|
2160
2402
|
standardTerms: {
|
|
2161
2403
|
/**
|
|
2162
2404
|
* Adds a standard term. Standard terms show the number of days within which
|
|
@@ -2164,7 +2406,8 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2164
2406
|
* the following standard term means that payment is due in 30 days, with a
|
|
2165
2407
|
* 1% discount if payment is made within 10 days: "1% 10 Net 30".
|
|
2166
2408
|
*
|
|
2167
|
-
* Payments with date-driven terms, on the other hand, are due by a certain
|
|
2409
|
+
* Payments with date-driven terms, on the other hand, are due by a certain
|
|
2410
|
+
* date.
|
|
2168
2411
|
*
|
|
2169
2412
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/StandardTermsAdd
|
|
2170
2413
|
*/
|
|
@@ -2176,6 +2419,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2176
2419
|
*/
|
|
2177
2420
|
query: (endUserId: string, params?: QbdTypes.StandardTermsQueryRq) => Promise<NonNullable<QbdTypes.StandardTermsQueryRs["StandardTermsRet"]>>;
|
|
2178
2421
|
};
|
|
2422
|
+
/**
|
|
2423
|
+
* The time-tracking object facilitates payroll and invoicing based on work
|
|
2424
|
+
* hours, assignable to vendors, employees, or others.
|
|
2425
|
+
*/
|
|
2179
2426
|
timeTracking: {
|
|
2180
2427
|
/**
|
|
2181
2428
|
* The time-tracking transactions that are returned in this query include
|
|
@@ -2227,6 +2474,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2227
2474
|
*/
|
|
2228
2475
|
query: (endUserId: string, params?: QbdTypes.TimeTrackingQueryRq) => Promise<NonNullable<QbdTypes.TimeTrackingQueryRs["TimeTrackingRet"]>>;
|
|
2229
2476
|
};
|
|
2477
|
+
/**
|
|
2478
|
+
* A transfer is a transaction that moves money from one account to another
|
|
2479
|
+
* account.
|
|
2480
|
+
*/
|
|
2230
2481
|
transfer: {
|
|
2231
2482
|
/**
|
|
2232
2483
|
* Adds a transfer transaction.
|
|
@@ -2247,6 +2498,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2247
2498
|
*/
|
|
2248
2499
|
query: (endUserId: string, params?: QbdTypes.TransferQueryRq) => Promise<NonNullable<QbdTypes.TransferQueryRs["TransferRet"]>>;
|
|
2249
2500
|
};
|
|
2501
|
+
/**
|
|
2502
|
+
* An inventory transfer is the movement of inventory between two inventory
|
|
2503
|
+
* sites.
|
|
2504
|
+
*/
|
|
2250
2505
|
transferInventory: {
|
|
2251
2506
|
/**
|
|
2252
2507
|
* Adds a transfer inventory transaction.
|
|
@@ -2268,9 +2523,14 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2268
2523
|
*/
|
|
2269
2524
|
query: (endUserId: string, params?: QbdTypes.TransferInventoryQueryRq) => Promise<NonNullable<QbdTypes.TransferInventoryQueryRs["TransferInventoryRet"]>>;
|
|
2270
2525
|
};
|
|
2526
|
+
/**
|
|
2527
|
+
* A vehicle is used to add, select, and manage vehicles for tracking and
|
|
2528
|
+
* billing mileage.
|
|
2529
|
+
*/
|
|
2271
2530
|
vehicle: {
|
|
2272
2531
|
/**
|
|
2273
|
-
* Adds a vehicle to the vehicle list for use in `VehicleMileage`
|
|
2532
|
+
* Adds a vehicle to the vehicle list for use in `VehicleMileage`
|
|
2533
|
+
* transactions. Each vehicle name must be unique.
|
|
2274
2534
|
*
|
|
2275
2535
|
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/VehicleAdd
|
|
2276
2536
|
*/
|
|
@@ -2290,6 +2550,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2290
2550
|
*/
|
|
2291
2551
|
query: (endUserId: string, params?: QbdTypes.VehicleQueryRq) => Promise<NonNullable<QbdTypes.VehicleQueryRs["VehicleRet"]>>;
|
|
2292
2552
|
};
|
|
2553
|
+
/**
|
|
2554
|
+
* Vehicle mileage records a mileage transaction for a specified vehicle,
|
|
2555
|
+
* using provided or calculated miles.
|
|
2556
|
+
*/
|
|
2293
2557
|
vehicleMileage: {
|
|
2294
2558
|
/**
|
|
2295
2559
|
* Adds a vehicle mileage transaction. involving the specified vehicle for
|
|
@@ -2307,6 +2571,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2307
2571
|
*/
|
|
2308
2572
|
query: (endUserId: string, params?: QbdTypes.VehicleMileageQueryRq) => Promise<NonNullable<QbdTypes.VehicleMileageQueryRs["VehicleMileageRet"]>>;
|
|
2309
2573
|
};
|
|
2574
|
+
/**
|
|
2575
|
+
* A vendor is any person or company from whom a small business owner buys
|
|
2576
|
+
* goods and services. (Banks and tax agencies usually are included on the
|
|
2577
|
+
* vendor list.) A company’s vendor list contains information such as account
|
|
2578
|
+
* balance and contact information about each vendor.
|
|
2579
|
+
*/
|
|
2310
2580
|
vendor: {
|
|
2311
2581
|
/**
|
|
2312
2582
|
* Adds a vendor.
|
|
@@ -2335,6 +2605,11 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2335
2605
|
*/
|
|
2336
2606
|
query: (endUserId: string, params?: QbdTypes.VendorQueryRq) => Promise<NonNullable<QbdTypes.VendorQueryRs["VendorRet"]>>;
|
|
2337
2607
|
};
|
|
2608
|
+
/**
|
|
2609
|
+
* A vendor credit is also known as a “bill credit”. That is, it is a credit
|
|
2610
|
+
* that a vendor owes you because you overpaid your bill, returned
|
|
2611
|
+
* merchandise, or for some other reason.
|
|
2612
|
+
*/
|
|
2338
2613
|
vendorCredit: {
|
|
2339
2614
|
/**
|
|
2340
2615
|
* Adds a vendor credit.
|
|
@@ -2377,6 +2652,12 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2377
2652
|
*/
|
|
2378
2653
|
query: (endUserId: string, params?: QbdTypes.VendorCreditQueryRq) => Promise<NonNullable<QbdTypes.VendorCreditQueryRs["VendorCreditRet"]>>;
|
|
2379
2654
|
};
|
|
2655
|
+
/**
|
|
2656
|
+
* A vendor type allows business owners to categorize vendors in ways that are
|
|
2657
|
+
* meaningful for their businesses. For example, a vendor type might indicate
|
|
2658
|
+
* which industry a vendor represents, or which part of the country a vendor
|
|
2659
|
+
* is in.
|
|
2660
|
+
*/
|
|
2380
2661
|
vendorType: {
|
|
2381
2662
|
/**
|
|
2382
2663
|
* Adds a vendor type. A vendor type allows business owners to categorize
|
|
@@ -2398,6 +2679,10 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2398
2679
|
*/
|
|
2399
2680
|
query: (endUserId: string, params?: QbdTypes.VendorTypeQueryRq) => Promise<NonNullable<QbdTypes.VendorTypeQueryRs["VendorTypeRet"]>>;
|
|
2400
2681
|
};
|
|
2682
|
+
/**
|
|
2683
|
+
* A workers comp code categorizes occupations based on risk, determining
|
|
2684
|
+
* insurance premiums for workers' compensation coverage.
|
|
2685
|
+
*/
|
|
2401
2686
|
workersCompCode: {
|
|
2402
2687
|
/**
|
|
2403
2688
|
* Adds a workers’ compensation code with one or more rate entries (each
|