qube_sync 0.4.0 → 0.6.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +94 -3
- data/README.md +106 -7
- data/exe/qube_sync +11 -0
- data/lib/qube_sync/client.rb +58 -7
- data/lib/qube_sync/operations/account.rb +21 -20
- data/lib/qube_sync/operations/ar_refund_credit_card.rb +17 -14
- data/lib/qube_sync/operations/bill.rb +148 -104
- data/lib/qube_sync/operations/bill_payment_check.rb +29 -22
- data/lib/qube_sync/operations/bill_payment_credit_card.rb +21 -16
- data/lib/qube_sync/operations/bill_to_pay.rb +7 -6
- data/lib/qube_sync/operations/billing_rate.rb +10 -9
- data/lib/qube_sync/operations/build_assembly.rb +13 -12
- data/lib/qube_sync/operations/charge.rb +36 -34
- data/lib/qube_sync/operations/check.rb +144 -100
- data/lib/qube_sync/operations/class.rb +11 -11
- data/lib/qube_sync/operations/credit_card_charge.rb +144 -100
- data/lib/qube_sync/operations/credit_card_credit.rb +144 -100
- data/lib/qube_sync/operations/credit_memo.rb +142 -108
- data/lib/qube_sync/operations/currency.rb +7 -7
- data/lib/qube_sync/operations/customer.rb +54 -53
- data/lib/qube_sync/operations/customer_msg.rb +5 -5
- data/lib/qube_sync/operations/customer_type.rb +7 -7
- data/lib/qube_sync/operations/data_ext.rb +7 -6
- data/lib/qube_sync/operations/date_driven_terms.rb +5 -5
- data/lib/qube_sync/operations/deposit.rb +53 -38
- data/lib/qube_sync/operations/employee.rb +27 -23
- data/lib/qube_sync/operations/entity.rb +5 -5
- data/lib/qube_sync/operations/estimate.rb +119 -90
- data/lib/qube_sync/operations/fields.rb +4058 -0
- data/lib/qube_sync/operations/form1099_category_account_mapping.rb +3 -2
- data/lib/qube_sync/operations/inventory_adjustment.rb +43 -34
- data/lib/qube_sync/operations/inventory_site.rb +11 -11
- data/lib/qube_sync/operations/invoice.rb +142 -108
- data/lib/qube_sync/operations/item.rb +5 -5
- data/lib/qube_sync/operations/item_assemblies_can_build.rb +2 -2
- data/lib/qube_sync/operations/item_discount.rb +25 -24
- data/lib/qube_sync/operations/item_fixed_asset.rb +17 -16
- data/lib/qube_sync/operations/item_group.rb +17 -15
- data/lib/qube_sync/operations/item_inventory.rb +45 -44
- data/lib/qube_sync/operations/item_inventory_assembly.rb +51 -48
- data/lib/qube_sync/operations/item_non_inventory.rb +55 -44
- data/lib/qube_sync/operations/item_other_charge.rb +51 -40
- data/lib/qube_sync/operations/item_payment.rb +21 -20
- data/lib/qube_sync/operations/item_receipt.rb +144 -100
- data/lib/qube_sync/operations/item_sales_tax.rb +21 -20
- data/lib/qube_sync/operations/item_sales_tax_group.rb +11 -11
- data/lib/qube_sync/operations/item_service.rb +55 -44
- data/lib/qube_sync/operations/item_sites.rb +10 -8
- data/lib/qube_sync/operations/item_subtotal.rb +7 -7
- data/lib/qube_sync/operations/job_type.rb +7 -7
- data/lib/qube_sync/operations/journal_entry.rb +49 -34
- data/lib/qube_sync/operations/lead.rb +7 -7
- data/lib/qube_sync/operations/list.rb +2 -2
- data/lib/qube_sync/operations/list_display.rb +2 -2
- data/lib/qube_sync/operations/list_merge.rb +6 -4
- data/lib/qube_sync/operations/other_name.rb +7 -7
- data/lib/qube_sync/operations/payment_method.rb +6 -5
- data/lib/qube_sync/operations/payroll_item_non_wage.rb +5 -5
- data/lib/qube_sync/operations/payroll_item_wage.rb +7 -7
- data/lib/qube_sync/operations/price_level.rb +23 -19
- data/lib/qube_sync/operations/purchase_order.rb +113 -86
- data/lib/qube_sync/operations/receive_payment.rb +37 -30
- data/lib/qube_sync/operations/sales_order.rb +117 -90
- data/lib/qube_sync/operations/sales_receipt.rb +142 -108
- data/lib/qube_sync/operations/sales_rep.rb +11 -11
- data/lib/qube_sync/operations/sales_tax_code.rb +15 -15
- data/lib/qube_sync/operations/sales_tax_payment_check.rb +18 -14
- data/lib/qube_sync/operations/sales_tax_return_line.rb +2 -2
- data/lib/qube_sync/operations/ship_method.rb +5 -5
- data/lib/qube_sync/operations/special_account.rb +2 -2
- data/lib/qube_sync/operations/standard_terms.rb +5 -5
- data/lib/qube_sync/operations/terms.rb +5 -5
- data/lib/qube_sync/operations/time_tracking.rb +23 -22
- data/lib/qube_sync/operations/to_do.rb +23 -23
- data/lib/qube_sync/operations/transaction.rb +15 -10
- data/lib/qube_sync/operations/transfer.rb +12 -12
- data/lib/qube_sync/operations/transfer_inventory.rb +35 -26
- data/lib/qube_sync/operations/txn_display.rb +2 -2
- data/lib/qube_sync/operations/unit_of_measure_set.rb +5 -5
- data/lib/qube_sync/operations/vehicle.rb +7 -7
- data/lib/qube_sync/operations/vehicle_mileage.rb +8 -8
- data/lib/qube_sync/operations/vendor.rb +54 -52
- data/lib/qube_sync/operations/vendor_credit.rb +144 -100
- data/lib/qube_sync/operations/vendor_type.rb +7 -7
- data/lib/qube_sync/operations/workers_comp_code.rb +8 -8
- data/lib/qube_sync/operations.rb +267 -262
- data/lib/qube_sync/version.rb +1 -1
- data/lib/qube_sync/webhooks/event.rb +80 -6
- data/lib/qube_sync/workflow_types/cli.rb +120 -0
- data/lib/qube_sync/workflow_types/rbs_renderer.rb +290 -0
- data/lib/qube_sync/workflow_types/ruby_renderer.rb +391 -0
- data/lib/qube_sync/workflow_types/workflow.rb +153 -0
- data/lib/qube_sync/workflow_types.rb +219 -0
- data/sig/qube_sync/client.rbs +6 -2
- data/sig/qube_sync/operations.rbs +2 -1
- data/sig/qube_sync/webhooks.rbs +148 -0
- data/sig/qube_sync/workflow_types.rbs +59 -0
- metadata +13 -3
|
@@ -27,8 +27,8 @@ module QubeSync
|
|
|
27
27
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
28
28
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
29
29
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
30
|
-
#
|
|
31
|
-
#
|
|
30
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
31
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
32
32
|
# - `external_guid` (String): Allows for the attachment of a user defined GUID value.
|
|
33
33
|
# - `include_ret_element` (Array<one of "BarCodeValue", "ClassRef", "DataExtRet",
|
|
34
34
|
# "EditSequence", "ExternalGUID", "IsActive", "ItemDesc", "ListID", "Name", "OwnerID",
|
|
@@ -50,8 +50,8 @@ module QubeSync
|
|
|
50
50
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
51
51
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
52
52
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
53
|
-
#
|
|
54
|
-
#
|
|
53
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
54
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
55
55
|
# - `tax_rate` (Numeric): The tax rate. If a nonzero `tax_rate` is specified, then
|
|
56
56
|
# `tax_vendor_ref` is required.
|
|
57
57
|
# - `tax_vendor_ref` (Hash): Refers to the tax agency to whom collected taxes are owed. (This
|
|
@@ -63,8 +63,8 @@ module QubeSync
|
|
|
63
63
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
64
64
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
65
65
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
66
|
-
#
|
|
67
|
-
#
|
|
66
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
67
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
68
68
|
#
|
|
69
69
|
# @param connection_id [String]
|
|
70
70
|
# @param params [Hash] the fields above
|
|
@@ -103,8 +103,9 @@ module QubeSync
|
|
|
103
103
|
# `full_name_with_children` is exactly the same as `full_name`.
|
|
104
104
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
105
105
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
106
|
-
# within a list
|
|
107
|
-
#
|
|
106
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
107
|
+
# other names share one sequence, every item type shares another, and each other list has
|
|
108
|
+
# its own.
|
|
108
109
|
# - `list_id_with_children` (String): Allows you to filter for data that relates to the
|
|
109
110
|
# specified object and its descendants.
|
|
110
111
|
# - `from_modified_date` (String): Filters results to objects modified on or after this
|
|
@@ -130,10 +131,10 @@ module QubeSync
|
|
|
130
131
|
# or `list_id` every match comes back in one answer, so leave `iterator` out.
|
|
131
132
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
132
133
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
133
|
-
# within a list
|
|
134
|
-
#
|
|
135
|
-
# one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
136
|
-
# `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
134
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
135
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
136
|
+
# Choose at most one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
137
|
+
# `class_filter`, `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
137
138
|
# `to_modified_date`). Members of a set combine with each other, not with the other choices.
|
|
138
139
|
# - `max_returned` (Integer): Limits the number of objects that a query returns. (To get a
|
|
139
140
|
# count of how many objects could possibly be returned, use the `meta_data` query
|
|
@@ -210,8 +211,8 @@ module QubeSync
|
|
|
210
211
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
211
212
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
212
213
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
213
|
-
#
|
|
214
|
-
#
|
|
214
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
215
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
215
216
|
# - `edit_sequence` (String, required): `edit_sequence` is a server-generated revision token.
|
|
216
217
|
# It changes each time the object is updated. To modify an existing object, you must send
|
|
217
218
|
# the current `edit_sequence`. If your value is stale, the update is rejected to prevent
|
|
@@ -226,8 +227,8 @@ module QubeSync
|
|
|
226
227
|
# used.
|
|
227
228
|
# - `list_id` (String, required): `list_id` and `full_name` both identify a list object.
|
|
228
229
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
229
|
-
# within a list
|
|
230
|
-
#
|
|
230
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
231
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
231
232
|
# - `name` (String): Name is the case-insensitive short name of a list object (without
|
|
232
233
|
# ancestors). It must be unique within its hierarchy scope. Hierarchical lists can reuse the
|
|
233
234
|
# same Name in different branches because `full_name` remains distinct.
|
|
@@ -240,8 +241,8 @@ module QubeSync
|
|
|
240
241
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
241
242
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
242
243
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
243
|
-
#
|
|
244
|
-
#
|
|
244
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
245
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
245
246
|
# - `tax_rate` (Numeric): The tax rate. If a nonzero `tax_rate` is specified, then
|
|
246
247
|
# `tax_vendor_ref` is required.
|
|
247
248
|
# - `tax_vendor_ref` (Hash): Refers to the tax agency to whom collected taxes are owed. (This
|
|
@@ -253,8 +254,8 @@ module QubeSync
|
|
|
253
254
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
254
255
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
255
256
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
256
|
-
#
|
|
257
|
-
#
|
|
257
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
258
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
258
259
|
#
|
|
259
260
|
# @param connection_id [String]
|
|
260
261
|
# @param params [Hash] the fields above
|
|
@@ -31,8 +31,8 @@ module QubeSync
|
|
|
31
31
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
32
32
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
33
33
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
34
|
-
#
|
|
35
|
-
#
|
|
34
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
35
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
36
36
|
# - `name` (String, required): Name is the case-insensitive short name of a list object
|
|
37
37
|
# (without ancestors). It must be unique within its hierarchy scope. Hierarchical lists can
|
|
38
38
|
# reuse the same Name in different branches because `full_name` remains distinct.
|
|
@@ -86,11 +86,11 @@ module QubeSync
|
|
|
86
86
|
# or `list_id` every match comes back in one answer, so leave `iterator` out.
|
|
87
87
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
88
88
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
89
|
-
# within a list
|
|
90
|
-
#
|
|
91
|
-
# one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
92
|
-
# `max_returned`, `name_filter`, `name_range_filter`,
|
|
93
|
-
# combine with each other, not with the other choices.
|
|
89
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
90
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
91
|
+
# Choose at most one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
92
|
+
# `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
93
|
+
# `to_modified_date`). Members of a set combine with each other, not with the other choices.
|
|
94
94
|
# - `max_returned` (Integer): Limits the number of objects that a query returns. (To get a
|
|
95
95
|
# count of how many objects could possibly be returned, use the `meta_data` query
|
|
96
96
|
# attribute.) If you include a `max_returned` value, it must be at least 1. The page size,
|
|
@@ -173,12 +173,12 @@ module QubeSync
|
|
|
173
173
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
174
174
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
175
175
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
176
|
-
#
|
|
177
|
-
#
|
|
176
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
177
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
178
178
|
# - `list_id` (String, required): `list_id` and `full_name` both identify a list object.
|
|
179
179
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
180
|
-
# within a list
|
|
181
|
-
#
|
|
180
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
181
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
182
182
|
# - `name` (String): Name is the case-insensitive short name of a list object (without
|
|
183
183
|
# ancestors). It must be unique within its hierarchy scope. Hierarchical lists can reuse the
|
|
184
184
|
# same Name in different branches because `full_name` remains distinct.
|
|
@@ -28,8 +28,8 @@ module QubeSync
|
|
|
28
28
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
29
29
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
30
30
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
31
|
-
#
|
|
32
|
-
#
|
|
31
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
32
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
33
33
|
# - `external_guid` (String): Allows for the attachment of a user defined GUID value.
|
|
34
34
|
# - `include_ret_element` (Array<one of "BarCodeValue", "ClassRef", "DataExtRet",
|
|
35
35
|
# "EditSequence", "ExternalGUID", "FullName", "IsActive", "IsTaxIncluded", "ListID", "Name",
|
|
@@ -51,8 +51,8 @@ module QubeSync
|
|
|
51
51
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
52
52
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
53
53
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
54
|
-
#
|
|
55
|
-
#
|
|
54
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
55
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
56
56
|
# - `request_id` (String): Your own label for the request, sent to QuickBooks as its qbXML
|
|
57
57
|
# `requestID` and echoed in the raw answer (`response_xml`); optional, since the answer's
|
|
58
58
|
# webhook already carries the request's `id`.
|
|
@@ -65,8 +65,9 @@ module QubeSync
|
|
|
65
65
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
66
66
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
67
67
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
68
|
-
# list
|
|
69
|
-
#
|
|
68
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
69
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
70
|
+
# own.
|
|
70
71
|
# - `income_account_ref` (Hash): Refers to an income account. If an `income_account_ref`
|
|
71
72
|
# aggregate includes both `full_name` and `list_id`, `full_name` will be ignored.
|
|
72
73
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -74,8 +75,9 @@ module QubeSync
|
|
|
74
75
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
75
76
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
76
77
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
77
|
-
# list
|
|
78
|
-
#
|
|
78
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
79
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
80
|
+
# own.
|
|
79
81
|
# - `pref_vendor_ref` (Hash): The preferred vendor for this item. If a `pref_vendor_ref`
|
|
80
82
|
# aggregate includes both `full_name` and `list_id`, `full_name` will be ignored.
|
|
81
83
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -83,8 +85,9 @@ module QubeSync
|
|
|
83
85
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
84
86
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
85
87
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
86
|
-
# list
|
|
87
|
-
#
|
|
88
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
89
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
90
|
+
# own.
|
|
88
91
|
# - `purchase_cost` (Numeric): Amount that the QuickBooks user expects to pay when ordering
|
|
89
92
|
# or buying this item, or the amount that was actually paid for this item.
|
|
90
93
|
# - `purchase_desc` (String): Description that appears in the Description column of checks,
|
|
@@ -96,8 +99,9 @@ module QubeSync
|
|
|
96
99
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
97
100
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
98
101
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
99
|
-
# list
|
|
100
|
-
#
|
|
102
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
103
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
104
|
+
# own.
|
|
101
105
|
# - `sales_desc` (String): Appears in the Description column of a sales form when the
|
|
102
106
|
# QuickBooks user sells this item. For a fixed asset, describes the sale of the asset (for
|
|
103
107
|
# accounting purposes).
|
|
@@ -116,8 +120,9 @@ module QubeSync
|
|
|
116
120
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
117
121
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
118
122
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
119
|
-
# list
|
|
120
|
-
#
|
|
123
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
124
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
125
|
+
# own.
|
|
121
126
|
# - `desc` (String): A descriptive text field.
|
|
122
127
|
# - `price` (Numeric): The purchase price or sales price of this item. Choose at most one
|
|
123
128
|
# of: `price`, or `price_percent`.
|
|
@@ -135,8 +140,8 @@ module QubeSync
|
|
|
135
140
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
136
141
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
137
142
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
138
|
-
#
|
|
139
|
-
#
|
|
143
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
144
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
140
145
|
# - `unit_of_measure_set_ref` (Hash): The unit of measure set consists of a base unit and 0-n
|
|
141
146
|
# related units.
|
|
142
147
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -144,8 +149,8 @@ module QubeSync
|
|
|
144
149
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
145
150
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
146
151
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
147
|
-
#
|
|
148
|
-
#
|
|
152
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
153
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
149
154
|
#
|
|
150
155
|
# @param connection_id [String]
|
|
151
156
|
# @param params [Hash] the fields above
|
|
@@ -183,8 +188,9 @@ module QubeSync
|
|
|
183
188
|
# `full_name_with_children` is exactly the same as `full_name`.
|
|
184
189
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
185
190
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
186
|
-
# within a list
|
|
187
|
-
#
|
|
191
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
192
|
+
# other names share one sequence, every item type shares another, and each other list has
|
|
193
|
+
# its own.
|
|
188
194
|
# - `list_id_with_children` (String): Allows you to filter for data that relates to the
|
|
189
195
|
# specified object and its descendants.
|
|
190
196
|
# - `from_modified_date` (String): Filters results to objects modified on or after this
|
|
@@ -211,10 +217,10 @@ module QubeSync
|
|
|
211
217
|
# or `list_id` every match comes back in one answer, so leave `iterator` out.
|
|
212
218
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
213
219
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
214
|
-
# within a list
|
|
215
|
-
#
|
|
216
|
-
# one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
217
|
-
# `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
220
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
221
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
222
|
+
# Choose at most one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
223
|
+
# `class_filter`, `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
218
224
|
# `to_modified_date`). Members of a set combine with each other, not with the other choices.
|
|
219
225
|
# - `max_returned` (Integer): Limits the number of objects that a query returns. (To get a
|
|
220
226
|
# count of how many objects could possibly be returned, use the `meta_data` query
|
|
@@ -290,8 +296,8 @@ module QubeSync
|
|
|
290
296
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
291
297
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
292
298
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
293
|
-
#
|
|
294
|
-
#
|
|
299
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
300
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
295
301
|
# - `edit_sequence` (String, required): `edit_sequence` is a server-generated revision token.
|
|
296
302
|
# It changes each time the object is updated. To modify an existing object, you must send
|
|
297
303
|
# the current `edit_sequence`. If your value is stale, the update is rejected to prevent
|
|
@@ -310,8 +316,8 @@ module QubeSync
|
|
|
310
316
|
# - `is_tax_included` (Boolean): For future use with international versions of QuickBooks.
|
|
311
317
|
# - `list_id` (String, required): `list_id` and `full_name` both identify a list object.
|
|
312
318
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
313
|
-
# within a list
|
|
314
|
-
#
|
|
319
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
320
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
315
321
|
# - `name` (String): Name is the case-insensitive short name of a list object (without
|
|
316
322
|
# ancestors). It must be unique within its hierarchy scope. Hierarchical lists can reuse the
|
|
317
323
|
# same Name in different branches because `full_name` remains distinct.
|
|
@@ -325,8 +331,8 @@ module QubeSync
|
|
|
325
331
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
326
332
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
327
333
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
328
|
-
#
|
|
329
|
-
#
|
|
334
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
335
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
330
336
|
# - `request_id` (String): Your own label for the request, sent to QuickBooks as its qbXML
|
|
331
337
|
# `requestID` and echoed in the raw answer (`response_xml`); optional, since the answer's
|
|
332
338
|
# webhook already carries the request's `id`.
|
|
@@ -352,8 +358,9 @@ module QubeSync
|
|
|
352
358
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
353
359
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
354
360
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
355
|
-
# list
|
|
356
|
-
#
|
|
361
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
362
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
363
|
+
# own.
|
|
357
364
|
# - `income_account_ref` (Hash): Refers to an income account. If an `income_account_ref`
|
|
358
365
|
# aggregate includes both `full_name` and `list_id`, `full_name` will be ignored.
|
|
359
366
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -361,8 +368,9 @@ module QubeSync
|
|
|
361
368
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
362
369
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
363
370
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
364
|
-
# list
|
|
365
|
-
#
|
|
371
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
372
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
373
|
+
# own.
|
|
366
374
|
# - `pref_vendor_ref` (Hash): The preferred vendor for this item. If a `pref_vendor_ref`
|
|
367
375
|
# aggregate includes both `full_name` and `list_id`, `full_name` will be ignored.
|
|
368
376
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -370,8 +378,9 @@ module QubeSync
|
|
|
370
378
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
371
379
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
372
380
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
373
|
-
# list
|
|
374
|
-
#
|
|
381
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
382
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
383
|
+
# own.
|
|
375
384
|
# - `purchase_cost` (Numeric): Amount that the QuickBooks user expects to pay when ordering
|
|
376
385
|
# or buying this item, or the amount that was actually paid for this item.
|
|
377
386
|
# - `purchase_desc` (String): Description that appears in the Description column of checks,
|
|
@@ -383,8 +392,9 @@ module QubeSync
|
|
|
383
392
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
384
393
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
385
394
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
386
|
-
# list
|
|
387
|
-
#
|
|
395
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
396
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
397
|
+
# own.
|
|
388
398
|
# - `sales_desc` (String): Appears in the Description column of a sales form when the
|
|
389
399
|
# QuickBooks user sells this item. For a fixed asset, describes the sale of the asset (for
|
|
390
400
|
# accounting purposes).
|
|
@@ -404,8 +414,9 @@ module QubeSync
|
|
|
404
414
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
405
415
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
406
416
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
407
|
-
# list
|
|
408
|
-
#
|
|
417
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
418
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
419
|
+
# own.
|
|
409
420
|
# - `apply_account_ref_to_existing_txns` (Boolean): Used to support changing the
|
|
410
421
|
# `account_ref` in the Mod request. When you do this, the QuickBooks UI normally displays
|
|
411
422
|
# a prompt asking whether the change should apply to existing transactions or not.
|
|
@@ -429,8 +440,8 @@ module QubeSync
|
|
|
429
440
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
430
441
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
431
442
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
432
|
-
#
|
|
433
|
-
#
|
|
443
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
444
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
434
445
|
# - `unit_of_measure_set_ref` (Hash): The unit of measure set consists of a base unit and 0-n
|
|
435
446
|
# related units.
|
|
436
447
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -438,8 +449,8 @@ module QubeSync
|
|
|
438
449
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
439
450
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
440
451
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
441
|
-
#
|
|
442
|
-
#
|
|
452
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
453
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
443
454
|
#
|
|
444
455
|
# @param connection_id [String]
|
|
445
456
|
# @param params [Hash] the fields above
|
|
@@ -38,8 +38,9 @@ module QubeSync
|
|
|
38
38
|
# `full_name_with_children` is exactly the same as `full_name`.
|
|
39
39
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
40
40
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
41
|
-
# within a list
|
|
42
|
-
#
|
|
41
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
42
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
43
|
+
# has its own.
|
|
43
44
|
# - `list_id_with_children` (String): Allows you to filter for data that relates to the
|
|
44
45
|
# specified object and its descendants.
|
|
45
46
|
# - `site_filter` (Hash): Allows you to report on Sites.
|
|
@@ -49,8 +50,9 @@ module QubeSync
|
|
|
49
50
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
50
51
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
51
52
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
52
|
-
# within a list
|
|
53
|
-
#
|
|
53
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
54
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
55
|
+
# has its own.
|
|
54
56
|
# - `item_type_filter` (one of "AllExceptFixedAsset", "Assembly", "Discount", "FixedAsset",
|
|
55
57
|
# "Inventory", "InventoryAndAssembly", "NonInventory", "OtherCharge", "Payment", "Sales",
|
|
56
58
|
# "SalesTax", "Service"): Allows you to report on a specific item type. Choose at most one
|
|
@@ -63,10 +65,10 @@ module QubeSync
|
|
|
63
65
|
# alone (at most that many, in one answer).
|
|
64
66
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
65
67
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
66
|
-
# within a list
|
|
67
|
-
#
|
|
68
|
-
# one of: `list_id`, or the set (`item_site_filter`, `item_type_filter`).
|
|
69
|
-
# combine with each other, not with the other choices.
|
|
68
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
69
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
70
|
+
# Choose at most one of: `list_id`, or the set (`item_site_filter`, `item_type_filter`).
|
|
71
|
+
# Members of a set combine with each other, not with the other choices.
|
|
70
72
|
# - `max_returned` (Integer): Limits the number of objects that a query returns. (To get a
|
|
71
73
|
# count of how many objects could possibly be returned, use the `meta_data` query
|
|
72
74
|
# attribute.) If you include a `max_returned` value, it must be at least 1. The page size,
|
|
@@ -76,11 +76,11 @@ module QubeSync
|
|
|
76
76
|
# or `list_id` every match comes back in one answer, so leave `iterator` out.
|
|
77
77
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
78
78
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
79
|
-
# within a list
|
|
80
|
-
#
|
|
81
|
-
# one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
82
|
-
# `max_returned`, `name_filter`, `name_range_filter`,
|
|
83
|
-
# combine with each other, not with the other choices.
|
|
79
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
80
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
81
|
+
# Choose at most one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
82
|
+
# `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
83
|
+
# `to_modified_date`). Members of a set combine with each other, not with the other choices.
|
|
84
84
|
# - `max_returned` (Integer): Limits the number of objects that a query returns. (To get a
|
|
85
85
|
# count of how many objects could possibly be returned, use the `meta_data` query
|
|
86
86
|
# attribute.) If you include a `max_returned` value, it must be at least 1. The page size,
|
|
@@ -159,8 +159,8 @@ module QubeSync
|
|
|
159
159
|
# used.
|
|
160
160
|
# - `list_id` (String, required): `list_id` and FullName both identify a list object.
|
|
161
161
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
162
|
-
# within a list
|
|
163
|
-
#
|
|
162
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
163
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
164
164
|
# - `name` (String): Name is the case-insensitive short name of a list object (without
|
|
165
165
|
# ancestors). It must be unique within its hierarchy scope. Hierarchical lists can reuse the
|
|
166
166
|
# same Name in different branches because FullName remains distinct.
|
|
@@ -29,8 +29,8 @@ module QubeSync
|
|
|
29
29
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
30
30
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
31
31
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
32
|
-
#
|
|
33
|
-
#
|
|
32
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
33
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
34
34
|
# - `request_id` (String): Your own label for the request, sent to QuickBooks as its qbXML
|
|
35
35
|
# `requestID` and echoed in the raw answer (`response_xml`); optional, since the answer's
|
|
36
36
|
# webhook already carries the request's `id`.
|
|
@@ -72,11 +72,11 @@ module QubeSync
|
|
|
72
72
|
# "Name", "ParentRef", "Sublevel", "TimeCreated", "TimeModified">)
|
|
73
73
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
74
74
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
75
|
-
# within a list
|
|
76
|
-
#
|
|
77
|
-
# one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
78
|
-
# `max_returned`, `name_filter`, `name_range_filter`,
|
|
79
|
-
# combine with each other, not with the other choices.
|
|
75
|
+
# within a list family, not across the company file: customers, vendors, employees and other
|
|
76
|
+
# names share one sequence, every item type shares another, and each other list has its own.
|
|
77
|
+
# Choose at most one of: `list_id`, or `full_name`, or the set (`active_status`,
|
|
78
|
+
# `from_modified_date`, `max_returned`, `name_filter`, `name_range_filter`,
|
|
79
|
+
# `to_modified_date`). Members of a set combine with each other, not with the other choices.
|
|
80
80
|
# - `max_returned` (Integer): Limits the number of objects that a query returns. (To get a
|
|
81
81
|
# count of how many objects could possibly be returned, use the `meta_data` query
|
|
82
82
|
# attribute.) If you include a `max_returned` value, it must be at least 1. QuickBooks
|