conductor-node 14.11.0 → 14.13.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 (203) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/internal/utils/log.d.mts.map +1 -1
  3. package/internal/utils/log.d.ts.map +1 -1
  4. package/internal/utils/log.js +2 -0
  5. package/internal/utils/log.js.map +1 -1
  6. package/internal/utils/log.mjs +2 -0
  7. package/internal/utils/log.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/qbd/bill-check-payments.d.mts +33 -8
  10. package/resources/qbd/bill-check-payments.d.mts.map +1 -1
  11. package/resources/qbd/bill-check-payments.d.ts +33 -8
  12. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  13. package/resources/qbd/bill-credit-card-payments.d.mts +15 -4
  14. package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
  15. package/resources/qbd/bill-credit-card-payments.d.ts +15 -4
  16. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  17. package/resources/qbd/bills.d.mts +28 -0
  18. package/resources/qbd/bills.d.mts.map +1 -1
  19. package/resources/qbd/bills.d.ts +28 -0
  20. package/resources/qbd/bills.d.ts.map +1 -1
  21. package/resources/qbd/build-assemblies.d.mts +4 -0
  22. package/resources/qbd/build-assemblies.d.mts.map +1 -1
  23. package/resources/qbd/build-assemblies.d.ts +4 -0
  24. package/resources/qbd/build-assemblies.d.ts.map +1 -1
  25. package/resources/qbd/checks.d.mts +34 -0
  26. package/resources/qbd/checks.d.mts.map +1 -1
  27. package/resources/qbd/checks.d.ts +34 -0
  28. package/resources/qbd/checks.d.ts.map +1 -1
  29. package/resources/qbd/credit-card-charges.d.mts +28 -0
  30. package/resources/qbd/credit-card-charges.d.mts.map +1 -1
  31. package/resources/qbd/credit-card-charges.d.ts +28 -0
  32. package/resources/qbd/credit-card-charges.d.ts.map +1 -1
  33. package/resources/qbd/credit-card-credits.d.mts +28 -0
  34. package/resources/qbd/credit-card-credits.d.mts.map +1 -1
  35. package/resources/qbd/credit-card-credits.d.ts +28 -0
  36. package/resources/qbd/credit-card-credits.d.ts.map +1 -1
  37. package/resources/qbd/credit-card-refunds.d.mts +5 -0
  38. package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
  39. package/resources/qbd/credit-card-refunds.d.ts +5 -0
  40. package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
  41. package/resources/qbd/credit-memos.d.mts +26 -0
  42. package/resources/qbd/credit-memos.d.mts.map +1 -1
  43. package/resources/qbd/credit-memos.d.ts +26 -0
  44. package/resources/qbd/credit-memos.d.ts.map +1 -1
  45. package/resources/qbd/customers.d.mts +12 -0
  46. package/resources/qbd/customers.d.mts.map +1 -1
  47. package/resources/qbd/customers.d.ts +12 -0
  48. package/resources/qbd/customers.d.ts.map +1 -1
  49. package/resources/qbd/deposits.d.mts +12 -0
  50. package/resources/qbd/deposits.d.mts.map +1 -1
  51. package/resources/qbd/deposits.d.ts +12 -0
  52. package/resources/qbd/deposits.d.ts.map +1 -1
  53. package/resources/qbd/discount-items.d.mts +9 -3
  54. package/resources/qbd/discount-items.d.mts.map +1 -1
  55. package/resources/qbd/discount-items.d.ts +9 -3
  56. package/resources/qbd/discount-items.d.ts.map +1 -1
  57. package/resources/qbd/employees.d.mts +26 -0
  58. package/resources/qbd/employees.d.mts.map +1 -1
  59. package/resources/qbd/employees.d.ts +26 -0
  60. package/resources/qbd/employees.d.ts.map +1 -1
  61. package/resources/qbd/estimates.d.mts +26 -0
  62. package/resources/qbd/estimates.d.mts.map +1 -1
  63. package/resources/qbd/estimates.d.ts +26 -0
  64. package/resources/qbd/estimates.d.ts.map +1 -1
  65. package/resources/qbd/index.d.mts +1 -0
  66. package/resources/qbd/index.d.mts.map +1 -1
  67. package/resources/qbd/index.d.ts +1 -0
  68. package/resources/qbd/index.d.ts.map +1 -1
  69. package/resources/qbd/index.js +4 -2
  70. package/resources/qbd/index.js.map +1 -1
  71. package/resources/qbd/index.mjs +1 -0
  72. package/resources/qbd/index.mjs.map +1 -1
  73. package/resources/qbd/inventory-adjustments.d.mts +4 -0
  74. package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
  75. package/resources/qbd/inventory-adjustments.d.ts +4 -0
  76. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  77. package/resources/qbd/inventory-assembly-items.d.mts +8 -5
  78. package/resources/qbd/inventory-assembly-items.d.mts.map +1 -1
  79. package/resources/qbd/inventory-assembly-items.d.ts +8 -5
  80. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  81. package/resources/qbd/inventory-items.d.mts +8 -5
  82. package/resources/qbd/inventory-items.d.mts.map +1 -1
  83. package/resources/qbd/inventory-items.d.ts +8 -5
  84. package/resources/qbd/inventory-items.d.ts.map +1 -1
  85. package/resources/qbd/inventory-sites.d.mts +4 -0
  86. package/resources/qbd/inventory-sites.d.mts.map +1 -1
  87. package/resources/qbd/inventory-sites.d.ts +4 -0
  88. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  89. package/resources/qbd/invoices.d.mts +42 -8
  90. package/resources/qbd/invoices.d.mts.map +1 -1
  91. package/resources/qbd/invoices.d.ts +42 -8
  92. package/resources/qbd/invoices.d.ts.map +1 -1
  93. package/resources/qbd/item-receipts.d.mts +28 -0
  94. package/resources/qbd/item-receipts.d.mts.map +1 -1
  95. package/resources/qbd/item-receipts.d.ts +28 -0
  96. package/resources/qbd/item-receipts.d.ts.map +1 -1
  97. package/resources/qbd/journal-entries.d.mts +13 -0
  98. package/resources/qbd/journal-entries.d.mts.map +1 -1
  99. package/resources/qbd/journal-entries.d.ts +13 -0
  100. package/resources/qbd/journal-entries.d.ts.map +1 -1
  101. package/resources/qbd/other-names.d.mts +12 -0
  102. package/resources/qbd/other-names.d.mts.map +1 -1
  103. package/resources/qbd/other-names.d.ts +12 -0
  104. package/resources/qbd/other-names.d.ts.map +1 -1
  105. package/resources/qbd/payroll-wage-items.d.mts +3 -0
  106. package/resources/qbd/payroll-wage-items.d.mts.map +1 -1
  107. package/resources/qbd/payroll-wage-items.d.ts +3 -0
  108. package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
  109. package/resources/qbd/price-levels.d.mts +18 -18
  110. package/resources/qbd/price-levels.d.mts.map +1 -1
  111. package/resources/qbd/price-levels.d.ts +18 -18
  112. package/resources/qbd/price-levels.d.ts.map +1 -1
  113. package/resources/qbd/purchase-orders.d.mts +26 -0
  114. package/resources/qbd/purchase-orders.d.mts.map +1 -1
  115. package/resources/qbd/purchase-orders.d.ts +26 -0
  116. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  117. package/resources/qbd/qbd.d.mts +4 -0
  118. package/resources/qbd/qbd.d.mts.map +1 -1
  119. package/resources/qbd/qbd.d.ts +4 -0
  120. package/resources/qbd/qbd.d.ts.map +1 -1
  121. package/resources/qbd/qbd.js +4 -0
  122. package/resources/qbd/qbd.js.map +1 -1
  123. package/resources/qbd/qbd.mjs +4 -0
  124. package/resources/qbd/qbd.mjs.map +1 -1
  125. package/resources/qbd/receive-payments.d.mts +40 -12
  126. package/resources/qbd/receive-payments.d.mts.map +1 -1
  127. package/resources/qbd/receive-payments.d.ts +40 -12
  128. package/resources/qbd/receive-payments.d.ts.map +1 -1
  129. package/resources/qbd/receive-payments.js +4 -4
  130. package/resources/qbd/receive-payments.mjs +4 -4
  131. package/resources/qbd/reports.d.mts +1800 -0
  132. package/resources/qbd/reports.d.mts.map +1 -0
  133. package/resources/qbd/reports.d.ts +1800 -0
  134. package/resources/qbd/reports.d.ts.map +1 -0
  135. package/resources/qbd/reports.js +203 -0
  136. package/resources/qbd/reports.js.map +1 -0
  137. package/resources/qbd/reports.mjs +199 -0
  138. package/resources/qbd/reports.mjs.map +1 -0
  139. package/resources/qbd/sales-orders.d.mts +26 -0
  140. package/resources/qbd/sales-orders.d.mts.map +1 -1
  141. package/resources/qbd/sales-orders.d.ts +26 -0
  142. package/resources/qbd/sales-orders.d.ts.map +1 -1
  143. package/resources/qbd/sales-receipts.d.mts +26 -0
  144. package/resources/qbd/sales-receipts.d.mts.map +1 -1
  145. package/resources/qbd/sales-receipts.d.ts +26 -0
  146. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  147. package/resources/qbd/time-tracking-activities.d.mts +6 -0
  148. package/resources/qbd/time-tracking-activities.d.mts.map +1 -1
  149. package/resources/qbd/time-tracking-activities.d.ts +6 -0
  150. package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
  151. package/resources/qbd/transfers.d.mts +6 -0
  152. package/resources/qbd/transfers.d.mts.map +1 -1
  153. package/resources/qbd/transfers.d.ts +6 -0
  154. package/resources/qbd/transfers.d.ts.map +1 -1
  155. package/resources/qbd/vendor-credits.d.mts +28 -0
  156. package/resources/qbd/vendor-credits.d.mts.map +1 -1
  157. package/resources/qbd/vendor-credits.d.ts +28 -0
  158. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  159. package/resources/qbd/vendors.d.mts +16 -0
  160. package/resources/qbd/vendors.d.mts.map +1 -1
  161. package/resources/qbd/vendors.d.ts +16 -0
  162. package/resources/qbd/vendors.d.ts.map +1 -1
  163. package/src/internal/utils/log.ts +2 -0
  164. package/src/resources/qbd/bill-check-payments.ts +33 -8
  165. package/src/resources/qbd/bill-credit-card-payments.ts +15 -4
  166. package/src/resources/qbd/bills.ts +28 -0
  167. package/src/resources/qbd/build-assemblies.ts +4 -0
  168. package/src/resources/qbd/checks.ts +34 -0
  169. package/src/resources/qbd/credit-card-charges.ts +28 -0
  170. package/src/resources/qbd/credit-card-credits.ts +28 -0
  171. package/src/resources/qbd/credit-card-refunds.ts +5 -0
  172. package/src/resources/qbd/credit-memos.ts +26 -0
  173. package/src/resources/qbd/customers.ts +12 -0
  174. package/src/resources/qbd/deposits.ts +12 -0
  175. package/src/resources/qbd/discount-items.ts +9 -3
  176. package/src/resources/qbd/employees.ts +26 -0
  177. package/src/resources/qbd/estimates.ts +26 -0
  178. package/src/resources/qbd/index.ts +14 -0
  179. package/src/resources/qbd/inventory-adjustments.ts +4 -0
  180. package/src/resources/qbd/inventory-assembly-items.ts +8 -5
  181. package/src/resources/qbd/inventory-items.ts +8 -5
  182. package/src/resources/qbd/inventory-sites.ts +4 -0
  183. package/src/resources/qbd/invoices.ts +42 -8
  184. package/src/resources/qbd/item-receipts.ts +28 -0
  185. package/src/resources/qbd/journal-entries.ts +13 -0
  186. package/src/resources/qbd/other-names.ts +12 -0
  187. package/src/resources/qbd/payroll-wage-items.ts +3 -0
  188. package/src/resources/qbd/price-levels.ts +20 -20
  189. package/src/resources/qbd/purchase-orders.ts +26 -0
  190. package/src/resources/qbd/qbd.ts +32 -0
  191. package/src/resources/qbd/receive-payments.ts +40 -12
  192. package/src/resources/qbd/reports.ts +3933 -0
  193. package/src/resources/qbd/sales-orders.ts +26 -0
  194. package/src/resources/qbd/sales-receipts.ts +26 -0
  195. package/src/resources/qbd/time-tracking-activities.ts +6 -0
  196. package/src/resources/qbd/transfers.ts +6 -0
  197. package/src/resources/qbd/vendor-credits.ts +28 -0
  198. package/src/resources/qbd/vendors.ts +16 -0
  199. package/src/version.ts +1 -1
  200. package/version.d.mts +1 -1
  201. package/version.d.ts +1 -1
  202. package/version.js +1 -1
  203. package/version.mjs +1 -1
@@ -163,7 +163,7 @@ export interface DiscountItem {
163
163
 
164
164
  /**
165
165
  * The monetary amount to subtract from the total or subtotal when applying this
166
- * discount item to a transaction.
166
+ * discount item to a transaction, represented as a decimal string.
167
167
  *
168
168
  * **NOTE**: A flat rate discount applies to ALL lines recorded above it and
169
169
  * distributes the discount amount equally across those lines, which affects tax
@@ -436,13 +436,16 @@ export interface DiscountItemCreateParams {
436
436
 
437
437
  /**
438
438
  * Body param: The monetary amount to subtract from the total or subtotal when
439
- * applying this discount item to a transaction.
439
+ * applying this discount item to a transaction, represented as a decimal string.
440
440
  *
441
441
  * **NOTE**: A flat rate discount applies to ALL lines recorded above it and
442
442
  * distributes the discount amount equally across those lines, which affects tax
443
443
  * calculations. For example, a $10 discount applied to a $100 taxable item and
444
444
  * $100 non-taxable item would result in a $5 taxable discount and $5 non-taxable
445
445
  * discount.
446
+ *
447
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
448
+ * decimal point (for example, "123.45").
446
449
  */
447
450
  discountRate?: string;
448
451
 
@@ -561,13 +564,16 @@ export interface DiscountItemUpdateParams {
561
564
 
562
565
  /**
563
566
  * Body param: The monetary amount to subtract from the total or subtotal when
564
- * applying this discount item to a transaction.
567
+ * applying this discount item to a transaction, represented as a decimal string.
565
568
  *
566
569
  * **NOTE**: A flat rate discount applies to ALL lines recorded above it and
567
570
  * distributes the discount amount equally across those lines, which affects tax
568
571
  * calculations. For example, a $10 discount applied to a $100 taxable item and
569
572
  * $100 non-taxable item would result in a $5 taxable discount and $5 non-taxable
570
573
  * discount.
574
+ *
575
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
576
+ * decimal point (for example, "123.45").
571
577
  */
572
578
  discountRate?: string;
573
579
 
@@ -926,6 +926,8 @@ export interface EmployeeCreateParams {
926
926
 
927
927
  /**
928
928
  * Body param: The employee's alternate telephone number.
929
+ *
930
+ * Maximum length: 21 characters.
929
931
  */
930
932
  alternatePhone?: string;
931
933
 
@@ -1014,6 +1016,8 @@ export interface EmployeeCreateParams {
1014
1016
 
1015
1017
  /**
1016
1018
  * Body param: The employee's fax number.
1019
+ *
1020
+ * Maximum length: 21 characters.
1017
1021
  */
1018
1022
  fax?: string;
1019
1023
 
@@ -1076,6 +1080,8 @@ export interface EmployeeCreateParams {
1076
1080
 
1077
1081
  /**
1078
1082
  * Body param: The employee's mobile phone number.
1083
+ *
1084
+ * Maximum length: 21 characters.
1079
1085
  */
1080
1086
  mobile?: string;
1081
1087
 
@@ -1098,6 +1104,8 @@ export interface EmployeeCreateParams {
1098
1104
 
1099
1105
  /**
1100
1106
  * Body param: The employee's pager number.
1107
+ *
1108
+ * Maximum length: 21 characters.
1101
1109
  */
1102
1110
  pager?: string;
1103
1111
 
@@ -1108,6 +1116,8 @@ export interface EmployeeCreateParams {
1108
1116
 
1109
1117
  /**
1110
1118
  * Body param: The employee's primary telephone number.
1119
+ *
1120
+ * Maximum length: 21 characters.
1111
1121
  */
1112
1122
  phone?: string;
1113
1123
 
@@ -1436,6 +1446,9 @@ export namespace EmployeeCreateParams {
1436
1446
 
1437
1447
  /**
1438
1448
  * The hourly rate for this employee, represented as a decimal string.
1449
+ *
1450
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
1451
+ * decimal point (for example, "123.45").
1439
1452
  */
1440
1453
  rate?: string;
1441
1454
 
@@ -1603,6 +1616,8 @@ export interface EmployeeUpdateParams {
1603
1616
 
1604
1617
  /**
1605
1618
  * Body param: The employee's alternate telephone number.
1619
+ *
1620
+ * Maximum length: 21 characters.
1606
1621
  */
1607
1622
  alternatePhone?: string;
1608
1623
 
@@ -1681,6 +1696,8 @@ export interface EmployeeUpdateParams {
1681
1696
 
1682
1697
  /**
1683
1698
  * Body param: The employee's fax number.
1699
+ *
1700
+ * Maximum length: 21 characters.
1684
1701
  */
1685
1702
  fax?: string;
1686
1703
 
@@ -1738,6 +1755,8 @@ export interface EmployeeUpdateParams {
1738
1755
 
1739
1756
  /**
1740
1757
  * Body param: The employee's mobile phone number.
1758
+ *
1759
+ * Maximum length: 21 characters.
1741
1760
  */
1742
1761
  mobile?: string;
1743
1762
 
@@ -1760,6 +1779,8 @@ export interface EmployeeUpdateParams {
1760
1779
 
1761
1780
  /**
1762
1781
  * Body param: The employee's pager number.
1782
+ *
1783
+ * Maximum length: 21 characters.
1763
1784
  */
1764
1785
  pager?: string;
1765
1786
 
@@ -1770,6 +1791,8 @@ export interface EmployeeUpdateParams {
1770
1791
 
1771
1792
  /**
1772
1793
  * Body param: The employee's primary telephone number.
1794
+ *
1795
+ * Maximum length: 21 characters.
1773
1796
  */
1774
1797
  phone?: string;
1775
1798
 
@@ -2107,6 +2130,9 @@ export namespace EmployeeUpdateParams {
2107
2130
 
2108
2131
  /**
2109
2132
  * The hourly rate for this employee, represented as a decimal string.
2133
+ *
2134
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2135
+ * decimal point (for example, "123.45").
2110
2136
  */
2111
2137
  rate?: string;
2112
2138
 
@@ -1741,6 +1741,8 @@ export interface EstimateCreateParams {
1741
1741
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
1742
1742
  * When left blank in this create request, this field will be left blank in
1743
1743
  * QuickBooks (i.e., it does _not_ auto-increment).
1744
+ *
1745
+ * Maximum length: 11 characters.
1744
1746
  */
1745
1747
  refNumber?: string;
1746
1748
 
@@ -1775,6 +1777,8 @@ export interface EstimateCreateParams {
1775
1777
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
1776
1778
  * for this field, which stands for "freight on board". This field is informational
1777
1779
  * and has no accounting implications.
1780
+ *
1781
+ * Maximum length: 13 characters.
1778
1782
  */
1779
1783
  shipmentOrigin?: string;
1780
1784
 
@@ -1943,6 +1947,9 @@ export namespace EstimateCreateParams {
1943
1947
  * `markupRatePercent` is provided. If `amount`, `rate`, and `quantity` are all
1944
1948
  * unspecified, QuickBooks will calculate `amount` based on a `quantity` of `1` and
1945
1949
  * the suggested `rate`. This field cannot be cleared.
1950
+ *
1951
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1952
+ * to 13 digits before the decimal point (for example, "123.45").
1946
1953
  */
1947
1954
  amount?: string;
1948
1955
 
@@ -2050,6 +2057,9 @@ export namespace EstimateCreateParams {
2050
2057
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2051
2058
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2052
2059
  * decimal string. This field cannot be cleared.
2060
+ *
2061
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2062
+ * decimal point (for example, "123.45").
2053
2063
  */
2054
2064
  rate?: string;
2055
2065
 
@@ -2330,6 +2340,8 @@ export interface EstimateUpdateParams {
2330
2340
  * Body param: The case-sensitive user-defined reference number for this estimate,
2331
2341
  * which can be used to identify the transaction in QuickBooks. This value is not
2332
2342
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
2343
+ *
2344
+ * Maximum length: 11 characters.
2333
2345
  */
2334
2346
  refNumber?: string;
2335
2347
 
@@ -2364,6 +2376,8 @@ export interface EstimateUpdateParams {
2364
2376
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
2365
2377
  * for this field, which stands for "freight on board". This field is informational
2366
2378
  * and has no accounting implications.
2379
+ *
2380
+ * Maximum length: 13 characters.
2367
2381
  */
2368
2382
  shipmentOrigin?: string;
2369
2383
 
@@ -2539,6 +2553,9 @@ export namespace EstimateUpdateParams {
2539
2553
  * `markupRatePercent` is provided. If `amount`, `rate`, and `quantity` are all
2540
2554
  * unspecified, QuickBooks will calculate `amount` based on a `quantity` of `1` and
2541
2555
  * the suggested `rate`. This field cannot be cleared.
2556
+ *
2557
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2558
+ * to 13 digits before the decimal point (for example, "123.45").
2542
2559
  */
2543
2560
  amount?: string;
2544
2561
 
@@ -2645,6 +2662,9 @@ export namespace EstimateUpdateParams {
2645
2662
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2646
2663
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2647
2664
  * decimal string. This field cannot be cleared.
2665
+ *
2666
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2667
+ * decimal point (for example, "123.45").
2648
2668
  */
2649
2669
  rate?: string;
2650
2670
 
@@ -2692,6 +2712,9 @@ export namespace EstimateUpdateParams {
2692
2712
  * `markupRatePercent` is provided. If `amount`, `rate`, and `quantity` are all
2693
2713
  * unspecified, QuickBooks will calculate `amount` based on a `quantity` of `1` and
2694
2714
  * the suggested `rate`. This field cannot be cleared.
2715
+ *
2716
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2717
+ * to 13 digits before the decimal point (for example, "123.45").
2695
2718
  */
2696
2719
  amount?: string;
2697
2720
 
@@ -2798,6 +2821,9 @@ export namespace EstimateUpdateParams {
2798
2821
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2799
2822
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2800
2823
  * decimal string. This field cannot be cleared.
2824
+ *
2825
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2826
+ * decimal point (for example, "123.45").
2801
2827
  */
2802
2828
  rate?: string;
2803
2829
 
@@ -403,6 +403,20 @@ export {
403
403
  type ReceivePaymentDeleteParams,
404
404
  type ReceivePaymentsCursorPage,
405
405
  } from './receive-payments';
406
+ export {
407
+ Reports,
408
+ type Report,
409
+ type ReportAgingParams,
410
+ type ReportBudgetSummaryParams,
411
+ type ReportCustomDetailParams,
412
+ type ReportCustomSummaryParams,
413
+ type ReportGeneralDetailParams,
414
+ type ReportGeneralSummaryParams,
415
+ type ReportJobParams,
416
+ type ReportPayrollDetailParams,
417
+ type ReportPayrollSummaryParams,
418
+ type ReportTimeParams,
419
+ } from './reports';
406
420
  export {
407
421
  SalesOrders,
408
422
  type SalesOrder,
@@ -641,6 +641,8 @@ export interface InventoryAdjustmentCreateParams {
641
641
  * value is not required to be unique and can be arbitrarily changed by the
642
642
  * QuickBooks user. When left blank in this create request, this field will be left
643
643
  * blank in QuickBooks (i.e., it does _not_ auto-increment).
644
+ *
645
+ * Maximum length: 11 characters.
644
646
  */
645
647
  refNumber?: string;
646
648
  }
@@ -901,6 +903,8 @@ export interface InventoryAdjustmentUpdateParams {
901
903
  * adjustment, which can be used to identify the transaction in QuickBooks. This
902
904
  * value is not required to be unique and can be arbitrarily changed by the
903
905
  * QuickBooks user.
906
+ *
907
+ * Maximum length: 11 characters.
904
908
  */
905
909
  refNumber?: string;
906
910
 
@@ -780,11 +780,14 @@ export interface InventoryAssemblyItemCreateParams {
780
780
  salesTaxCodeId?: string;
781
781
 
782
782
  /**
783
- * Body param: The total value of this inventory assembly item. If `totalValue` is
784
- * provided, `quantityOnHand` must also be provided and must be greater than zero.
785
- * If both `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will
786
- * be set to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue`
787
- * is explicitly set to.
783
+ * Body param: The total value of this inventory assembly item, represented as a
784
+ * decimal string. If `totalValue` is provided, `quantityOnHand` must also be
785
+ * provided and must be greater than zero. If both `quantityOnHand` and
786
+ * `purchaseCost` are provided, then `totalValue` will be set to `quantityOnHand`
787
+ * times `purchaseCost`, regardless of what `totalValue` is explicitly set to.
788
+ *
789
+ * Decimal string format: exactly 2 decimal places when cents are included and up
790
+ * to 13 digits before the decimal point (for example, "123.45").
788
791
  */
789
792
  totalValue?: string;
790
793
 
@@ -709,11 +709,14 @@ export interface InventoryItemCreateParams {
709
709
  sku?: string;
710
710
 
711
711
  /**
712
- * Body param: The total value of this inventory item. If `totalValue` is provided,
713
- * `quantityOnHand` must also be provided and must be greater than zero. If both
714
- * `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will be set
715
- * to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue` is
716
- * explicitly set to.
712
+ * Body param: The total value of this inventory item, represented as a decimal
713
+ * string. If `totalValue` is provided, `quantityOnHand` must also be provided and
714
+ * must be greater than zero. If both `quantityOnHand` and `purchaseCost` are
715
+ * provided, then `totalValue` will be set to `quantityOnHand` times
716
+ * `purchaseCost`, regardless of what `totalValue` is explicitly set to.
717
+ *
718
+ * Decimal string format: exactly 2 decimal places when cents are included and up
719
+ * to 13 digits before the decimal point (for example, "123.45").
717
720
  */
718
721
  totalValue?: string;
719
722
 
@@ -444,6 +444,8 @@ export interface InventorySiteUpdateParams {
444
444
 
445
445
  /**
446
446
  * Body param: The inventory site's fax number.
447
+ *
448
+ * Maximum length: 21 characters.
447
449
  */
448
450
  fax?: string;
449
451
 
@@ -472,6 +474,8 @@ export interface InventorySiteUpdateParams {
472
474
 
473
475
  /**
474
476
  * Body param: The inventory site's primary telephone number.
477
+ *
478
+ * Maximum length: 21 characters.
475
479
  */
476
480
  phone?: string;
477
481
  }
@@ -1838,8 +1838,8 @@ export interface InvoiceCreateParams {
1838
1838
  conductorEndUserId: string;
1839
1839
 
1840
1840
  /**
1841
- * Body param: Credit memos to apply to this invoice, reducing its balance. This
1842
- * creates a link between this invoice and the specified credit memos.
1841
+ * Body param: Credits to apply to this invoice, reducing its balance. This creates
1842
+ * a link between this invoice and the specified credit transactions.
1843
1843
  *
1844
1844
  * **IMPORTANT**: By default, QuickBooks will not return any information about the
1845
1845
  * linked transactions in this endpoint's response even when this request is
@@ -2004,6 +2004,8 @@ export interface InvoiceCreateParams {
2004
2004
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
2005
2005
  * When left blank in this create request, this field will be left blank in
2006
2006
  * QuickBooks (i.e., it does _not_ auto-increment).
2007
+ *
2008
+ * Maximum length: 11 characters.
2007
2009
  */
2008
2010
  refNumber?: string;
2009
2011
 
@@ -2048,6 +2050,8 @@ export interface InvoiceCreateParams {
2048
2050
  * transfer from seller to buyer. Internally, QuickBooks uses the term "FOB" for
2049
2051
  * this field, which stands for "freight on board". This field is informational and
2050
2052
  * has no accounting implications.
2053
+ *
2054
+ * Maximum length: 13 characters.
2051
2055
  */
2052
2056
  shipmentOrigin?: string;
2053
2057
 
@@ -2080,12 +2084,15 @@ export namespace InvoiceCreateParams {
2080
2084
  /**
2081
2085
  * The amount of credit applied to this transaction. This could include customer
2082
2086
  * deposits, payments, or credits. Represented as a decimal string.
2087
+ *
2088
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2089
+ * to 13 digits before the decimal point (for example, "123.45").
2083
2090
  */
2084
2091
  appliedAmount: string;
2085
2092
 
2086
2093
  /**
2087
- * The unique identifier of the credit transaction (credit memo or vendor credit)
2088
- * to apply to this transaction.
2094
+ * The unique identifier of the credit transaction to apply to this transaction,
2095
+ * such as a credit memo, vendor credit, or journal-entry credit.
2089
2096
  */
2090
2097
  creditTransactionId: string;
2091
2098
 
@@ -2251,6 +2258,9 @@ export namespace InvoiceCreateParams {
2251
2258
  * them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2252
2259
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2253
2260
  * `1` and the suggested `rate`. This field cannot be cleared.
2261
+ *
2262
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2263
+ * to 13 digits before the decimal point (for example, "123.45").
2254
2264
  */
2255
2265
  amount?: string;
2256
2266
 
@@ -2384,6 +2394,9 @@ export namespace InvoiceCreateParams {
2384
2394
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2385
2395
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2386
2396
  * decimal string. This field cannot be cleared.
2397
+ *
2398
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2399
+ * decimal point (for example, "123.45").
2387
2400
  */
2388
2401
  rate?: string;
2389
2402
 
@@ -2590,8 +2603,10 @@ export interface InvoiceUpdateParams {
2590
2603
  conductorEndUserId: string;
2591
2604
 
2592
2605
  /**
2593
- * Body param: Credit memos to apply to this invoice, reducing its balance. This
2594
- * creates a link between this invoice and the specified credit memos.
2606
+ * Body param: Credits to apply to this invoice, reducing its balance. This creates
2607
+ * a link between this invoice and the specified credit transactions. For
2608
+ * credit-only applications with no received payment amount, update the invoice
2609
+ * using this field.
2595
2610
  *
2596
2611
  * **IMPORTANT**: By default, QuickBooks will not return any information about the
2597
2612
  * linked transactions in this endpoint's response even when this request is
@@ -2740,6 +2755,8 @@ export interface InvoiceUpdateParams {
2740
2755
  * Body param: The case-sensitive user-defined reference number for this invoice,
2741
2756
  * which can be used to identify the transaction in QuickBooks. This value is not
2742
2757
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
2758
+ *
2759
+ * Maximum length: 11 characters.
2743
2760
  */
2744
2761
  refNumber?: string;
2745
2762
 
@@ -2784,6 +2801,8 @@ export interface InvoiceUpdateParams {
2784
2801
  * transfer from seller to buyer. Internally, QuickBooks uses the term "FOB" for
2785
2802
  * this field, which stands for "freight on board". This field is informational and
2786
2803
  * has no accounting implications.
2804
+ *
2805
+ * Maximum length: 13 characters.
2787
2806
  */
2788
2807
  shipmentOrigin?: string;
2789
2808
 
@@ -2821,12 +2840,15 @@ export namespace InvoiceUpdateParams {
2821
2840
  /**
2822
2841
  * The amount of credit applied to this transaction. This could include customer
2823
2842
  * deposits, payments, or credits. Represented as a decimal string.
2843
+ *
2844
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2845
+ * to 13 digits before the decimal point (for example, "123.45").
2824
2846
  */
2825
2847
  appliedAmount: string;
2826
2848
 
2827
2849
  /**
2828
- * The unique identifier of the credit transaction (credit memo or vendor credit)
2829
- * to apply to this transaction.
2850
+ * The unique identifier of the credit transaction to apply to this transaction,
2851
+ * such as a credit memo, vendor credit, or journal-entry credit.
2830
2852
  */
2831
2853
  creditTransactionId: string;
2832
2854
 
@@ -2987,6 +3009,9 @@ export namespace InvoiceUpdateParams {
2987
3009
  * them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2988
3010
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2989
3011
  * `1` and the suggested `rate`. This field cannot be cleared.
3012
+ *
3013
+ * Decimal string format: exactly 2 decimal places when cents are included and up
3014
+ * to 13 digits before the decimal point (for example, "123.45").
2990
3015
  */
2991
3016
  amount?: string;
2992
3017
 
@@ -3092,6 +3117,9 @@ export namespace InvoiceUpdateParams {
3092
3117
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3093
3118
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3094
3119
  * decimal string. This field cannot be cleared.
3120
+ *
3121
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3122
+ * decimal point (for example, "123.45").
3095
3123
  */
3096
3124
  rate?: string;
3097
3125
 
@@ -3148,6 +3176,9 @@ export namespace InvoiceUpdateParams {
3148
3176
  * them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
3149
3177
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
3150
3178
  * `1` and the suggested `rate`. This field cannot be cleared.
3179
+ *
3180
+ * Decimal string format: exactly 2 decimal places when cents are included and up
3181
+ * to 13 digits before the decimal point (for example, "123.45").
3151
3182
  */
3152
3183
  amount?: string;
3153
3184
 
@@ -3253,6 +3284,9 @@ export namespace InvoiceUpdateParams {
3253
3284
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3254
3285
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3255
3286
  * decimal string. This field cannot be cleared.
3287
+ *
3288
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3289
+ * decimal point (for example, "123.45").
3256
3290
  */
3257
3291
  rate?: string;
3258
3292
 
@@ -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