conductor-node 14.11.0 → 14.12.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.
Files changed (167) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +1 -1
  3. package/resources/qbd/bill-check-payments.d.mts +25 -0
  4. package/resources/qbd/bill-check-payments.d.mts.map +1 -1
  5. package/resources/qbd/bill-check-payments.d.ts +25 -0
  6. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  7. package/resources/qbd/bill-credit-card-payments.d.mts +11 -0
  8. package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
  9. package/resources/qbd/bill-credit-card-payments.d.ts +11 -0
  10. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  11. package/resources/qbd/bills.d.mts +28 -0
  12. package/resources/qbd/bills.d.mts.map +1 -1
  13. package/resources/qbd/bills.d.ts +28 -0
  14. package/resources/qbd/bills.d.ts.map +1 -1
  15. package/resources/qbd/build-assemblies.d.mts +4 -0
  16. package/resources/qbd/build-assemblies.d.mts.map +1 -1
  17. package/resources/qbd/build-assemblies.d.ts +4 -0
  18. package/resources/qbd/build-assemblies.d.ts.map +1 -1
  19. package/resources/qbd/checks.d.mts +34 -0
  20. package/resources/qbd/checks.d.mts.map +1 -1
  21. package/resources/qbd/checks.d.ts +34 -0
  22. package/resources/qbd/checks.d.ts.map +1 -1
  23. package/resources/qbd/credit-card-charges.d.mts +28 -0
  24. package/resources/qbd/credit-card-charges.d.mts.map +1 -1
  25. package/resources/qbd/credit-card-charges.d.ts +28 -0
  26. package/resources/qbd/credit-card-charges.d.ts.map +1 -1
  27. package/resources/qbd/credit-card-credits.d.mts +28 -0
  28. package/resources/qbd/credit-card-credits.d.mts.map +1 -1
  29. package/resources/qbd/credit-card-credits.d.ts +28 -0
  30. package/resources/qbd/credit-card-credits.d.ts.map +1 -1
  31. package/resources/qbd/credit-card-refunds.d.mts +5 -0
  32. package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
  33. package/resources/qbd/credit-card-refunds.d.ts +5 -0
  34. package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
  35. package/resources/qbd/credit-memos.d.mts +26 -0
  36. package/resources/qbd/credit-memos.d.mts.map +1 -1
  37. package/resources/qbd/credit-memos.d.ts +26 -0
  38. package/resources/qbd/credit-memos.d.ts.map +1 -1
  39. package/resources/qbd/customers.d.mts +12 -0
  40. package/resources/qbd/customers.d.mts.map +1 -1
  41. package/resources/qbd/customers.d.ts +12 -0
  42. package/resources/qbd/customers.d.ts.map +1 -1
  43. package/resources/qbd/deposits.d.mts +12 -0
  44. package/resources/qbd/deposits.d.mts.map +1 -1
  45. package/resources/qbd/deposits.d.ts +12 -0
  46. package/resources/qbd/deposits.d.ts.map +1 -1
  47. package/resources/qbd/discount-items.d.mts +9 -3
  48. package/resources/qbd/discount-items.d.mts.map +1 -1
  49. package/resources/qbd/discount-items.d.ts +9 -3
  50. package/resources/qbd/discount-items.d.ts.map +1 -1
  51. package/resources/qbd/employees.d.mts +26 -0
  52. package/resources/qbd/employees.d.mts.map +1 -1
  53. package/resources/qbd/employees.d.ts +26 -0
  54. package/resources/qbd/employees.d.ts.map +1 -1
  55. package/resources/qbd/estimates.d.mts +26 -0
  56. package/resources/qbd/estimates.d.mts.map +1 -1
  57. package/resources/qbd/estimates.d.ts +26 -0
  58. package/resources/qbd/estimates.d.ts.map +1 -1
  59. package/resources/qbd/inventory-adjustments.d.mts +4 -0
  60. package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
  61. package/resources/qbd/inventory-adjustments.d.ts +4 -0
  62. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  63. package/resources/qbd/inventory-assembly-items.d.mts +8 -5
  64. package/resources/qbd/inventory-assembly-items.d.mts.map +1 -1
  65. package/resources/qbd/inventory-assembly-items.d.ts +8 -5
  66. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  67. package/resources/qbd/inventory-items.d.mts +8 -5
  68. package/resources/qbd/inventory-items.d.mts.map +1 -1
  69. package/resources/qbd/inventory-items.d.ts +8 -5
  70. package/resources/qbd/inventory-items.d.ts.map +1 -1
  71. package/resources/qbd/inventory-sites.d.mts +4 -0
  72. package/resources/qbd/inventory-sites.d.mts.map +1 -1
  73. package/resources/qbd/inventory-sites.d.ts +4 -0
  74. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  75. package/resources/qbd/invoices.d.mts +32 -0
  76. package/resources/qbd/invoices.d.mts.map +1 -1
  77. package/resources/qbd/invoices.d.ts +32 -0
  78. package/resources/qbd/invoices.d.ts.map +1 -1
  79. package/resources/qbd/item-receipts.d.mts +28 -0
  80. package/resources/qbd/item-receipts.d.mts.map +1 -1
  81. package/resources/qbd/item-receipts.d.ts +28 -0
  82. package/resources/qbd/item-receipts.d.ts.map +1 -1
  83. package/resources/qbd/journal-entries.d.mts +13 -0
  84. package/resources/qbd/journal-entries.d.mts.map +1 -1
  85. package/resources/qbd/journal-entries.d.ts +13 -0
  86. package/resources/qbd/journal-entries.d.ts.map +1 -1
  87. package/resources/qbd/other-names.d.mts +12 -0
  88. package/resources/qbd/other-names.d.mts.map +1 -1
  89. package/resources/qbd/other-names.d.ts +12 -0
  90. package/resources/qbd/other-names.d.ts.map +1 -1
  91. package/resources/qbd/payroll-wage-items.d.mts +3 -0
  92. package/resources/qbd/payroll-wage-items.d.mts.map +1 -1
  93. package/resources/qbd/payroll-wage-items.d.ts +3 -0
  94. package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
  95. package/resources/qbd/price-levels.d.mts +18 -18
  96. package/resources/qbd/price-levels.d.mts.map +1 -1
  97. package/resources/qbd/price-levels.d.ts +18 -18
  98. package/resources/qbd/price-levels.d.ts.map +1 -1
  99. package/resources/qbd/purchase-orders.d.mts +26 -0
  100. package/resources/qbd/purchase-orders.d.mts.map +1 -1
  101. package/resources/qbd/purchase-orders.d.ts +26 -0
  102. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  103. package/resources/qbd/receive-payments.d.mts +28 -0
  104. package/resources/qbd/receive-payments.d.mts.map +1 -1
  105. package/resources/qbd/receive-payments.d.ts +28 -0
  106. package/resources/qbd/receive-payments.d.ts.map +1 -1
  107. package/resources/qbd/sales-orders.d.mts +26 -0
  108. package/resources/qbd/sales-orders.d.mts.map +1 -1
  109. package/resources/qbd/sales-orders.d.ts +26 -0
  110. package/resources/qbd/sales-orders.d.ts.map +1 -1
  111. package/resources/qbd/sales-receipts.d.mts +26 -0
  112. package/resources/qbd/sales-receipts.d.mts.map +1 -1
  113. package/resources/qbd/sales-receipts.d.ts +26 -0
  114. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  115. package/resources/qbd/time-tracking-activities.d.mts +6 -0
  116. package/resources/qbd/time-tracking-activities.d.mts.map +1 -1
  117. package/resources/qbd/time-tracking-activities.d.ts +6 -0
  118. package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
  119. package/resources/qbd/transfers.d.mts +6 -0
  120. package/resources/qbd/transfers.d.mts.map +1 -1
  121. package/resources/qbd/transfers.d.ts +6 -0
  122. package/resources/qbd/transfers.d.ts.map +1 -1
  123. package/resources/qbd/vendor-credits.d.mts +28 -0
  124. package/resources/qbd/vendor-credits.d.mts.map +1 -1
  125. package/resources/qbd/vendor-credits.d.ts +28 -0
  126. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  127. package/resources/qbd/vendors.d.mts +16 -0
  128. package/resources/qbd/vendors.d.mts.map +1 -1
  129. package/resources/qbd/vendors.d.ts +16 -0
  130. package/resources/qbd/vendors.d.ts.map +1 -1
  131. package/src/resources/qbd/bill-check-payments.ts +25 -0
  132. package/src/resources/qbd/bill-credit-card-payments.ts +11 -0
  133. package/src/resources/qbd/bills.ts +28 -0
  134. package/src/resources/qbd/build-assemblies.ts +4 -0
  135. package/src/resources/qbd/checks.ts +34 -0
  136. package/src/resources/qbd/credit-card-charges.ts +28 -0
  137. package/src/resources/qbd/credit-card-credits.ts +28 -0
  138. package/src/resources/qbd/credit-card-refunds.ts +5 -0
  139. package/src/resources/qbd/credit-memos.ts +26 -0
  140. package/src/resources/qbd/customers.ts +12 -0
  141. package/src/resources/qbd/deposits.ts +12 -0
  142. package/src/resources/qbd/discount-items.ts +9 -3
  143. package/src/resources/qbd/employees.ts +26 -0
  144. package/src/resources/qbd/estimates.ts +26 -0
  145. package/src/resources/qbd/inventory-adjustments.ts +4 -0
  146. package/src/resources/qbd/inventory-assembly-items.ts +8 -5
  147. package/src/resources/qbd/inventory-items.ts +8 -5
  148. package/src/resources/qbd/inventory-sites.ts +4 -0
  149. package/src/resources/qbd/invoices.ts +32 -0
  150. package/src/resources/qbd/item-receipts.ts +28 -0
  151. package/src/resources/qbd/journal-entries.ts +13 -0
  152. package/src/resources/qbd/other-names.ts +12 -0
  153. package/src/resources/qbd/payroll-wage-items.ts +3 -0
  154. package/src/resources/qbd/price-levels.ts +20 -20
  155. package/src/resources/qbd/purchase-orders.ts +26 -0
  156. package/src/resources/qbd/receive-payments.ts +28 -0
  157. package/src/resources/qbd/sales-orders.ts +26 -0
  158. package/src/resources/qbd/sales-receipts.ts +26 -0
  159. package/src/resources/qbd/time-tracking-activities.ts +6 -0
  160. package/src/resources/qbd/transfers.ts +6 -0
  161. package/src/resources/qbd/vendor-credits.ts +28 -0
  162. package/src/resources/qbd/vendors.ts +16 -0
  163. package/src/version.ts +1 -1
  164. package/version.d.mts +1 -1
  165. package/version.d.ts +1 -1
  166. package/version.js +1 -1
  167. package/version.mjs +1 -1
@@ -1789,6 +1789,8 @@ export interface ItemReceiptCreateParams {
1789
1789
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
1790
1790
  * user. When left blank in this create request, this field will be left blank in
1791
1791
  * QuickBooks (i.e., it does _not_ auto-increment).
1792
+ *
1793
+ * Maximum length: 20 characters.
1792
1794
  */
1793
1795
  refNumber?: string;
1794
1796
 
@@ -1817,6 +1819,9 @@ export namespace ItemReceiptCreateParams {
1817
1819
 
1818
1820
  /**
1819
1821
  * The monetary amount of this expense line, represented as a decimal string.
1822
+ *
1823
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1824
+ * to 13 digits before the decimal point (for example, "123.45").
1820
1825
  */
1821
1826
  amount?: string;
1822
1827
 
@@ -1973,6 +1978,9 @@ export namespace ItemReceiptCreateParams {
1973
1978
  * to calculate `amount`. If `amount`, `cost`, and `quantity` are all unspecified,
1974
1979
  * then QuickBooks will calculate `amount` based on a `quantity` of `1` and the
1975
1980
  * suggested `cost`. This field cannot be cleared.
1981
+ *
1982
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1983
+ * to 13 digits before the decimal point (for example, "123.45").
1976
1984
  */
1977
1985
  amount?: string;
1978
1986
 
@@ -1994,6 +2002,9 @@ export namespace ItemReceiptCreateParams {
1994
2002
  * The cost of this item line, represented as a decimal string. If both `quantity`
1995
2003
  * and `amount` are specified but not `cost`, QuickBooks will use them to calculate
1996
2004
  * `cost`.
2005
+ *
2006
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2007
+ * decimal point (for example, "123.45").
1997
2008
  */
1998
2009
  cost?: string;
1999
2010
 
@@ -2317,6 +2328,8 @@ export interface ItemReceiptUpdateParams {
2317
2328
  * receipt, which can be used to identify the transaction in QuickBooks. This value
2318
2329
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
2319
2330
  * user.
2331
+ *
2332
+ * Maximum length: 20 characters.
2320
2333
  */
2321
2334
  refNumber?: string;
2322
2335
 
@@ -2364,6 +2377,9 @@ export namespace ItemReceiptUpdateParams {
2364
2377
 
2365
2378
  /**
2366
2379
  * The monetary amount of this expense line, represented as a decimal string.
2380
+ *
2381
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2382
+ * to 13 digits before the decimal point (for example, "123.45").
2367
2383
  */
2368
2384
  amount?: string;
2369
2385
 
@@ -2488,6 +2504,9 @@ export namespace ItemReceiptUpdateParams {
2488
2504
  * to calculate `amount`. If `amount`, `cost`, and `quantity` are all unspecified,
2489
2505
  * then QuickBooks will calculate `amount` based on a `quantity` of `1` and the
2490
2506
  * suggested `cost`. This field cannot be cleared.
2507
+ *
2508
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2509
+ * to 13 digits before the decimal point (for example, "123.45").
2491
2510
  */
2492
2511
  amount?: string;
2493
2512
 
@@ -2509,6 +2528,9 @@ export namespace ItemReceiptUpdateParams {
2509
2528
  * The cost of this item line, represented as a decimal string. If both `quantity`
2510
2529
  * and `amount` are specified but not `cost`, QuickBooks will use them to calculate
2511
2530
  * `cost`.
2531
+ *
2532
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2533
+ * decimal point (for example, "123.45").
2512
2534
  */
2513
2535
  cost?: string;
2514
2536
 
@@ -2628,6 +2650,9 @@ export namespace ItemReceiptUpdateParams {
2628
2650
  * to calculate `amount`. If `amount`, `cost`, and `quantity` are all unspecified,
2629
2651
  * then QuickBooks will calculate `amount` based on a `quantity` of `1` and the
2630
2652
  * suggested `cost`. This field cannot be cleared.
2653
+ *
2654
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2655
+ * to 13 digits before the decimal point (for example, "123.45").
2631
2656
  */
2632
2657
  amount?: string;
2633
2658
 
@@ -2649,6 +2674,9 @@ export namespace ItemReceiptUpdateParams {
2649
2674
  * The cost of this item line, represented as a decimal string. If both `quantity`
2650
2675
  * and `amount` are specified but not `cost`, QuickBooks will use them to calculate
2651
2676
  * `cost`.
2677
+ *
2678
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2679
+ * decimal point (for example, "123.45").
2652
2680
  */
2653
2681
  cost?: string;
2654
2682
 
@@ -778,6 +778,8 @@ export interface JournalEntryCreateParams {
778
778
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
779
779
  * user. When left blank in this create request, this field will be left blank in
780
780
  * QuickBooks (i.e., it does _not_ auto-increment).
781
+ *
782
+ * Maximum length: 11 characters.
781
783
  */
782
784
  refNumber?: string;
783
785
  }
@@ -793,6 +795,9 @@ export namespace JournalEntryCreateParams {
793
795
  /**
794
796
  * The monetary amount of this journal credit line, represented as a decimal
795
797
  * string.
798
+ *
799
+ * Decimal string format: exactly 2 decimal places when cents are included and up
800
+ * to 13 digits before the decimal point (for example, "123.45").
796
801
  */
797
802
  amount?: string;
798
803
 
@@ -845,6 +850,9 @@ export namespace JournalEntryCreateParams {
845
850
 
846
851
  /**
847
852
  * The monetary amount of this journal debit line, represented as a decimal string.
853
+ *
854
+ * Decimal string format: exactly 2 decimal places when cents are included and up
855
+ * to 13 digits before the decimal point (for example, "123.45").
848
856
  */
849
857
  amount?: string;
850
858
 
@@ -955,6 +963,8 @@ export interface JournalEntryUpdateParams {
955
963
  * entry, which can be used to identify the transaction in QuickBooks. This value
956
964
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
957
965
  * user.
966
+ *
967
+ * Maximum length: 11 characters.
958
968
  */
959
969
  refNumber?: string;
960
970
 
@@ -981,6 +991,9 @@ export namespace JournalEntryUpdateParams {
981
991
 
982
992
  /**
983
993
  * The monetary amount of this journal line, represented as a decimal string.
994
+ *
995
+ * Decimal string format: exactly 2 decimal places when cents are included and up
996
+ * to 13 digits before the decimal point (for example, "123.45").
984
997
  */
985
998
  amount?: string;
986
999
 
@@ -391,6 +391,8 @@ export interface OtherNameCreateParams {
391
391
 
392
392
  /**
393
393
  * Body param: The other-name's alternate telephone number.
394
+ *
395
+ * Maximum length: 21 characters.
394
396
  */
395
397
  alternatePhone?: string;
396
398
 
@@ -422,6 +424,8 @@ export interface OtherNameCreateParams {
422
424
 
423
425
  /**
424
426
  * Body param: The other-name's fax number.
427
+ *
428
+ * Maximum length: 21 characters.
425
429
  */
426
430
  fax?: string;
427
431
 
@@ -459,6 +463,8 @@ export interface OtherNameCreateParams {
459
463
 
460
464
  /**
461
465
  * Body param: The other-name's primary telephone number.
466
+ *
467
+ * Maximum length: 21 characters.
462
468
  */
463
469
  phone?: string;
464
470
 
@@ -587,6 +593,8 @@ export interface OtherNameUpdateParams {
587
593
 
588
594
  /**
589
595
  * Body param: The other-name's alternate telephone number.
596
+ *
597
+ * Maximum length: 21 characters.
590
598
  */
591
599
  alternatePhone?: string;
592
600
 
@@ -608,6 +616,8 @@ export interface OtherNameUpdateParams {
608
616
 
609
617
  /**
610
618
  * Body param: The other-name's fax number.
619
+ *
620
+ * Maximum length: 21 characters.
611
621
  */
612
622
  fax?: string;
613
623
 
@@ -657,6 +667,8 @@ export interface OtherNameUpdateParams {
657
667
 
658
668
  /**
659
669
  * Body param: The other-name's primary telephone number.
670
+ *
671
+ * Maximum length: 21 characters.
660
672
  */
661
673
  phone?: string;
662
674
 
@@ -258,6 +258,9 @@ export interface PayrollWageItemCreateParams {
258
258
  /**
259
259
  * Body param: The default rate for this payroll wage item, represented as a
260
260
  * decimal string. Only one of `rate` and `ratePercent` can be set.
261
+ *
262
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
263
+ * decimal point (for example, "123.45").
261
264
  */
262
265
  rate?: string;
263
266
 
@@ -317,13 +317,21 @@ export interface PriceLevelCreateParams {
317
317
 
318
318
  export namespace PriceLevelCreateParams {
319
319
  export interface PerItemPriceLevel {
320
+ /**
321
+ * The item associated with this per-item price level. This can refer to any good
322
+ * or service that the business buys or sells, including item types such as a
323
+ * service item, inventory item, or special calculation item like a discount item
324
+ * or sales-tax item.
325
+ */
326
+ itemId: string;
327
+
320
328
  /**
321
329
  * The percentage adjustment for this per-item price level when using relative
322
330
  * pricing. Specifies a percentage to modify pricing, using positive values (e.g.,
323
331
  * "20") to increase prices by that percentage, or negative values (e.g., "-10") to
324
332
  * apply a discount.
325
333
  */
326
- adjustPercentage: string;
334
+ adjustPercentage?: string;
327
335
 
328
336
  /**
329
337
  * The base value reference for this per-item price level's percentage adjustment.
@@ -335,15 +343,7 @@ export namespace PriceLevelCreateParams {
335
343
  * (`adjustPercentage` with `adjustRelativeTo`) when configuring per-item price
336
344
  * levels.
337
345
  */
338
- adjustRelativeTo: 'cost' | 'current_custom_price' | 'standard_price';
339
-
340
- /**
341
- * The item associated with this per-item price level. This can refer to any good
342
- * or service that the business buys or sells, including item types such as a
343
- * service item, inventory item, or special calculation item like a discount item
344
- * or sales-tax item.
345
- */
346
- itemId: string;
346
+ adjustRelativeTo?: 'cost' | 'current_custom_price' | 'standard_price';
347
347
 
348
348
  /**
349
349
  * The fixed amount custom price for this per-item price level that overrides the
@@ -428,13 +428,21 @@ export interface PriceLevelUpdateParams {
428
428
 
429
429
  export namespace PriceLevelUpdateParams {
430
430
  export interface PerItemPriceLevel {
431
+ /**
432
+ * The item associated with this per-item price level. This can refer to any good
433
+ * or service that the business buys or sells, including item types such as a
434
+ * service item, inventory item, or special calculation item like a discount item
435
+ * or sales-tax item.
436
+ */
437
+ itemId: string;
438
+
431
439
  /**
432
440
  * The percentage adjustment for this per-item price level when using relative
433
441
  * pricing. Specifies a percentage to modify pricing, using positive values (e.g.,
434
442
  * "20") to increase prices by that percentage, or negative values (e.g., "-10") to
435
443
  * apply a discount.
436
444
  */
437
- adjustPercentage: string;
445
+ adjustPercentage?: string;
438
446
 
439
447
  /**
440
448
  * The base value reference for this per-item price level's percentage adjustment.
@@ -446,15 +454,7 @@ export namespace PriceLevelUpdateParams {
446
454
  * (`adjustPercentage` with `adjustRelativeTo`) when configuring per-item price
447
455
  * levels.
448
456
  */
449
- adjustRelativeTo: 'cost' | 'current_custom_price' | 'standard_price';
450
-
451
- /**
452
- * The item associated with this per-item price level. This can refer to any good
453
- * or service that the business buys or sells, including item types such as a
454
- * service item, inventory item, or special calculation item like a discount item
455
- * or sales-tax item.
456
- */
457
- itemId: string;
457
+ adjustRelativeTo?: 'cost' | 'current_custom_price' | 'standard_price';
458
458
 
459
459
  /**
460
460
  * The fixed amount custom price for this per-item price level that overrides the
@@ -1805,6 +1805,8 @@ export interface PurchaseOrderCreateParams {
1805
1805
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
1806
1806
  * user. When left blank in this create request, this field will be left blank in
1807
1807
  * QuickBooks (i.e., it does _not_ auto-increment).
1808
+ *
1809
+ * Maximum length: 11 characters.
1808
1810
  */
1809
1811
  refNumber?: string;
1810
1812
 
@@ -1826,6 +1828,8 @@ export interface PurchaseOrderCreateParams {
1826
1828
  * for goods transfer from seller to buyer. Internally, QuickBooks uses the term
1827
1829
  * "FOB" for this field, which stands for "freight on board". This field is
1828
1830
  * informational and has no accounting implications.
1831
+ *
1832
+ * Maximum length: 13 characters.
1829
1833
  */
1830
1834
  shipmentOrigin?: string;
1831
1835
 
@@ -1948,6 +1952,9 @@ export namespace PurchaseOrderCreateParams {
1948
1952
  * will use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
1949
1953
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
1950
1954
  * `1` and the suggested `rate`. This field cannot be cleared.
1955
+ *
1956
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1957
+ * to 13 digits before the decimal point (for example, "123.45").
1951
1958
  */
1952
1959
  amount?: string;
1953
1960
 
@@ -2031,6 +2038,9 @@ export namespace PurchaseOrderCreateParams {
2031
2038
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2032
2039
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2033
2040
  * decimal string. This field cannot be cleared.
2041
+ *
2042
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2043
+ * decimal point (for example, "123.45").
2034
2044
  */
2035
2045
  rate?: string;
2036
2046
 
@@ -2391,6 +2401,8 @@ export interface PurchaseOrderUpdateParams {
2391
2401
  * order, which can be used to identify the transaction in QuickBooks. This value
2392
2402
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
2393
2403
  * user.
2404
+ *
2405
+ * Maximum length: 11 characters.
2394
2406
  */
2395
2407
  refNumber?: string;
2396
2408
 
@@ -2412,6 +2424,8 @@ export interface PurchaseOrderUpdateParams {
2412
2424
  * for goods transfer from seller to buyer. Internally, QuickBooks uses the term
2413
2425
  * "FOB" for this field, which stands for "freight on board". This field is
2414
2426
  * informational and has no accounting implications.
2427
+ *
2428
+ * Maximum length: 13 characters.
2415
2429
  */
2416
2430
  shipmentOrigin?: string;
2417
2431
 
@@ -2541,6 +2555,9 @@ export namespace PurchaseOrderUpdateParams {
2541
2555
  * will use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2542
2556
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2543
2557
  * `1` and the suggested `rate`. This field cannot be cleared.
2558
+ *
2559
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2560
+ * to 13 digits before the decimal point (for example, "123.45").
2544
2561
  */
2545
2562
  amount?: string;
2546
2563
 
@@ -2638,6 +2655,9 @@ export namespace PurchaseOrderUpdateParams {
2638
2655
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2639
2656
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2640
2657
  * decimal string. This field cannot be cleared.
2658
+ *
2659
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2660
+ * decimal point (for example, "123.45").
2641
2661
  */
2642
2662
  rate?: string;
2643
2663
 
@@ -2690,6 +2710,9 @@ export namespace PurchaseOrderUpdateParams {
2690
2710
  * will use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2691
2711
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2692
2712
  * `1` and the suggested `rate`. This field cannot be cleared.
2713
+ *
2714
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2715
+ * to 13 digits before the decimal point (for example, "123.45").
2693
2716
  */
2694
2717
  amount?: string;
2695
2718
 
@@ -2787,6 +2810,9 @@ export namespace PurchaseOrderUpdateParams {
2787
2810
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2788
2811
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2789
2812
  * decimal string. This field cannot be cleared.
2813
+ *
2814
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2815
+ * decimal point (for example, "123.45").
2790
2816
  */
2791
2817
  rate?: string;
2792
2818
 
@@ -841,6 +841,9 @@ export interface ReceivePaymentCreateParams {
841
841
  *
842
842
  * **NOTE**: The sum of the `paymentAmount` amounts in the `applyToTransactions`
843
843
  * array cannot exceed the `totalAmount`, or you will receive an error.
844
+ *
845
+ * Decimal string format: exactly 2 decimal places when cents are included and up
846
+ * to 13 digits before the decimal point (for example, "123.45").
844
847
  */
845
848
  totalAmount: string;
846
849
 
@@ -948,6 +951,8 @@ export interface ReceivePaymentCreateParams {
948
951
  * This value is not required to be unique and can be arbitrarily changed by the
949
952
  * QuickBooks user. When left blank in this create request, this field will be left
950
953
  * blank in QuickBooks (i.e., it does _not_ auto-increment).
954
+ *
955
+ * Maximum length: 20 characters.
951
956
  */
952
957
  refNumber?: string;
953
958
  }
@@ -981,6 +986,9 @@ export namespace ReceivePaymentCreateParams {
981
986
  /**
982
987
  * The monetary amount by which to reduce the receivable transaction's receivable
983
988
  * amount, represented as a decimal string.
989
+ *
990
+ * Decimal string format: exactly 2 decimal places when cents are included and up
991
+ * to 13 digits before the decimal point (for example, "123.45").
984
992
  */
985
993
  discountAmount?: string;
986
994
 
@@ -992,6 +1000,9 @@ export namespace ReceivePaymentCreateParams {
992
1000
  /**
993
1001
  * The monetary amount to apply to the receivable transaction, represented as a
994
1002
  * decimal string.
1003
+ *
1004
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1005
+ * to 13 digits before the decimal point (for example, "123.45").
995
1006
  */
996
1007
  paymentAmount?: string;
997
1008
  }
@@ -1001,6 +1012,9 @@ export namespace ReceivePaymentCreateParams {
1001
1012
  /**
1002
1013
  * The amount of credit applied to this transaction. This could include customer
1003
1014
  * deposits, payments, or credits. Represented as a decimal string.
1015
+ *
1016
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1017
+ * to 13 digits before the decimal point (for example, "123.45").
1004
1018
  */
1005
1019
  appliedAmount: string;
1006
1020
 
@@ -1273,6 +1287,8 @@ export interface ReceivePaymentUpdateParams {
1273
1287
  * receive-payment, which can be used to identify the transaction in QuickBooks.
1274
1288
  * This value is not required to be unique and can be arbitrarily changed by the
1275
1289
  * QuickBooks user.
1290
+ *
1291
+ * Maximum length: 20 characters.
1276
1292
  */
1277
1293
  refNumber?: string;
1278
1294
 
@@ -1282,6 +1298,9 @@ export interface ReceivePaymentUpdateParams {
1282
1298
  *
1283
1299
  * **NOTE**: The sum of the `paymentAmount` amounts in the `applyToTransactions`
1284
1300
  * array cannot exceed the `totalAmount`, or you will receive an error.
1301
+ *
1302
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1303
+ * to 13 digits before the decimal point (for example, "123.45").
1285
1304
  */
1286
1305
  totalAmount?: string;
1287
1306
 
@@ -1320,6 +1339,9 @@ export namespace ReceivePaymentUpdateParams {
1320
1339
  /**
1321
1340
  * The monetary amount by which to reduce the receivable transaction's receivable
1322
1341
  * amount, represented as a decimal string.
1342
+ *
1343
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1344
+ * to 13 digits before the decimal point (for example, "123.45").
1323
1345
  */
1324
1346
  discountAmount?: string;
1325
1347
 
@@ -1331,6 +1353,9 @@ export namespace ReceivePaymentUpdateParams {
1331
1353
  /**
1332
1354
  * The monetary amount to apply to the receivable transaction, represented as a
1333
1355
  * decimal string.
1356
+ *
1357
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1358
+ * to 13 digits before the decimal point (for example, "123.45").
1334
1359
  */
1335
1360
  paymentAmount?: string;
1336
1361
  }
@@ -1340,6 +1365,9 @@ export namespace ReceivePaymentUpdateParams {
1340
1365
  /**
1341
1366
  * The amount of credit applied to this transaction. This could include customer
1342
1367
  * deposits, payments, or credits. Represented as a decimal string.
1368
+ *
1369
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1370
+ * to 13 digits before the decimal point (for example, "123.45").
1343
1371
  */
1344
1372
  appliedAmount: string;
1345
1373
 
@@ -1842,6 +1842,8 @@ export interface SalesOrderCreateParams {
1842
1842
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
1843
1843
  * user. When left blank in this create request, this field will be left blank in
1844
1844
  * QuickBooks (i.e., it does _not_ auto-increment).
1845
+ *
1846
+ * Maximum length: 11 characters.
1845
1847
  */
1846
1848
  refNumber?: string;
1847
1849
 
@@ -1891,6 +1893,8 @@ export interface SalesOrderCreateParams {
1891
1893
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
1892
1894
  * for this field, which stands for "freight on board". This field is informational
1893
1895
  * and has no accounting implications.
1896
+ *
1897
+ * Maximum length: 13 characters.
1894
1898
  */
1895
1899
  shipmentOrigin?: string;
1896
1900
 
@@ -2068,6 +2072,9 @@ export namespace SalesOrderCreateParams {
2068
2072
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2069
2073
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2070
2074
  * `1` and the suggested `rate`. This field cannot be cleared.
2075
+ *
2076
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2077
+ * to 13 digits before the decimal point (for example, "123.45").
2071
2078
  */
2072
2079
  amount?: string;
2073
2080
 
@@ -2168,6 +2175,9 @@ export namespace SalesOrderCreateParams {
2168
2175
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2169
2176
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2170
2177
  * decimal string. This field cannot be cleared.
2178
+ *
2179
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2180
+ * decimal point (for example, "123.45").
2171
2181
  */
2172
2182
  rate?: string;
2173
2183
 
@@ -2452,6 +2462,8 @@ export interface SalesOrderUpdateParams {
2452
2462
  * order, which can be used to identify the transaction in QuickBooks. This value
2453
2463
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
2454
2464
  * user.
2465
+ *
2466
+ * Maximum length: 11 characters.
2455
2467
  */
2456
2468
  refNumber?: string;
2457
2469
 
@@ -2501,6 +2513,8 @@ export interface SalesOrderUpdateParams {
2501
2513
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
2502
2514
  * for this field, which stands for "freight on board". This field is informational
2503
2515
  * and has no accounting implications.
2516
+ *
2517
+ * Maximum length: 13 characters.
2504
2518
  */
2505
2519
  shipmentOrigin?: string;
2506
2520
 
@@ -2685,6 +2699,9 @@ export namespace SalesOrderUpdateParams {
2685
2699
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2686
2700
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2687
2701
  * `1` and the suggested `rate`. This field cannot be cleared.
2702
+ *
2703
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2704
+ * to 13 digits before the decimal point (for example, "123.45").
2688
2705
  */
2689
2706
  amount?: string;
2690
2707
 
@@ -2790,6 +2807,9 @@ export namespace SalesOrderUpdateParams {
2790
2807
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2791
2808
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2792
2809
  * decimal string. This field cannot be cleared.
2810
+ *
2811
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2812
+ * decimal point (for example, "123.45").
2793
2813
  */
2794
2814
  rate?: string;
2795
2815
 
@@ -2840,6 +2860,9 @@ export namespace SalesOrderUpdateParams {
2840
2860
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2841
2861
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2842
2862
  * `1` and the suggested `rate`. This field cannot be cleared.
2863
+ *
2864
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2865
+ * to 13 digits before the decimal point (for example, "123.45").
2843
2866
  */
2844
2867
  amount?: string;
2845
2868
 
@@ -2945,6 +2968,9 @@ export namespace SalesOrderUpdateParams {
2945
2968
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2946
2969
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2947
2970
  * decimal string. This field cannot be cleared.
2971
+ *
2972
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2973
+ * decimal point (for example, "123.45").
2948
2974
  */
2949
2975
  rate?: string;
2950
2976
 
@@ -2396,6 +2396,8 @@ export interface SalesReceiptCreateParams {
2396
2396
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
2397
2397
  * user. When left blank in this create request, this field will be left blank in
2398
2398
  * QuickBooks (i.e., it does _not_ auto-increment).
2399
+ *
2400
+ * Maximum length: 11 characters.
2399
2401
  */
2400
2402
  refNumber?: string;
2401
2403
 
@@ -2440,6 +2442,8 @@ export interface SalesReceiptCreateParams {
2440
2442
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
2441
2443
  * for this field, which stands for "freight on board". This field is informational
2442
2444
  * and has no accounting implications.
2445
+ *
2446
+ * Maximum length: 13 characters.
2443
2447
  */
2444
2448
  shipmentOrigin?: string;
2445
2449
 
@@ -2784,6 +2788,9 @@ export namespace SalesReceiptCreateParams {
2784
2788
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2785
2789
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2786
2790
  * `1` and the suggested `rate`. This field cannot be cleared.
2791
+ *
2792
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2793
+ * to 13 digits before the decimal point (for example, "123.45").
2787
2794
  */
2788
2795
  amount?: string;
2789
2796
 
@@ -2892,6 +2899,9 @@ export namespace SalesReceiptCreateParams {
2892
2899
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2893
2900
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2894
2901
  * decimal string. This field cannot be cleared.
2902
+ *
2903
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2904
+ * decimal point (for example, "123.45").
2895
2905
  */
2896
2906
  rate?: string;
2897
2907
 
@@ -3362,6 +3372,8 @@ export interface SalesReceiptUpdateParams {
3362
3372
  * receipt, which can be used to identify the transaction in QuickBooks. This value
3363
3373
  * is not required to be unique and can be arbitrarily changed by the QuickBooks
3364
3374
  * user.
3375
+ *
3376
+ * Maximum length: 11 characters.
3365
3377
  */
3366
3378
  refNumber?: string;
3367
3379
 
@@ -3406,6 +3418,8 @@ export interface SalesReceiptUpdateParams {
3406
3418
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
3407
3419
  * for this field, which stands for "freight on board". This field is informational
3408
3420
  * and has no accounting implications.
3421
+ *
3422
+ * Maximum length: 13 characters.
3409
3423
  */
3410
3424
  shipmentOrigin?: string;
3411
3425
 
@@ -3585,6 +3599,9 @@ export namespace SalesReceiptUpdateParams {
3585
3599
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
3586
3600
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
3587
3601
  * `1` and the suggested `rate`. This field cannot be cleared.
3602
+ *
3603
+ * Decimal string format: exactly 2 decimal places when cents are included and up
3604
+ * to 13 digits before the decimal point (for example, "123.45").
3588
3605
  */
3589
3606
  amount?: string;
3590
3607
 
@@ -3691,6 +3708,9 @@ export namespace SalesReceiptUpdateParams {
3691
3708
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3692
3709
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3693
3710
  * decimal string. This field cannot be cleared.
3711
+ *
3712
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3713
+ * decimal point (for example, "123.45").
3694
3714
  */
3695
3715
  rate?: string;
3696
3716
 
@@ -3749,6 +3769,9 @@ export namespace SalesReceiptUpdateParams {
3749
3769
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
3750
3770
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
3751
3771
  * `1` and the suggested `rate`. This field cannot be cleared.
3772
+ *
3773
+ * Decimal string format: exactly 2 decimal places when cents are included and up
3774
+ * to 13 digits before the decimal point (for example, "123.45").
3752
3775
  */
3753
3776
  amount?: string;
3754
3777
 
@@ -3855,6 +3878,9 @@ export namespace SalesReceiptUpdateParams {
3855
3878
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3856
3879
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3857
3880
  * decimal string. This field cannot be cleared.
3881
+ *
3882
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3883
+ * decimal point (for example, "123.45").
3858
3884
  */
3859
3885
  rate?: string;
3860
3886
 
@@ -413,6 +413,9 @@ export interface TimeTrackingActivityCreateParams {
413
413
  *
414
414
  * **IMPORTANT**: This field is required for updating time tracking activities,
415
415
  * even if the field is not being modified, because of a bug in QuickBooks itself.
416
+ *
417
+ * Must use QuickBooks Desktop's ISO 8601 time interval format (for example,
418
+ * "PT1H30M" represents 1 hour and 30 minutes).
416
419
  */
417
420
  duration: string;
418
421
 
@@ -513,6 +516,9 @@ export interface TimeTrackingActivityUpdateParams {
513
516
  *
514
517
  * **IMPORTANT**: This field is required for updating time tracking activities,
515
518
  * even if the field is not being modified, because of a bug in QuickBooks itself.
519
+ *
520
+ * Must use QuickBooks Desktop's ISO 8601 time interval format (for example,
521
+ * "PT1H30M" represents 1 hour and 30 minutes).
516
522
  */
517
523
  duration: string;
518
524