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
|
@@ -40,8 +40,8 @@ module QubeSync
|
|
|
40
40
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
41
41
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
42
42
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
43
|
-
#
|
|
44
|
-
#
|
|
43
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
44
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
45
45
|
# - `customer_msg_ref` (Hash): A standard message such as “Thank you for your business,” or
|
|
46
46
|
# “Please sign and return this estimate to indicate your approval.” A customer message can
|
|
47
47
|
# be included at the bottom of a form. A `customer_msg_ref` aggregate refers to one of the
|
|
@@ -52,8 +52,8 @@ module QubeSync
|
|
|
52
52
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
53
53
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
54
54
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
55
|
-
#
|
|
56
|
-
#
|
|
55
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
56
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
57
57
|
# - `customer_ref` (Hash, required): `customer_ref` identifies a customer or customer job. If
|
|
58
58
|
# both `full_name` and `list_id` are provided, `full_name` is ignored. In SalesReceipt and
|
|
59
59
|
# ReceivePayment, it identifies who receives credit. In TimeTracking, it identifies who the
|
|
@@ -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
|
# - `customer_sales_tax_code_ref` (Hash): Refers to the sales-tax code for sales related to
|
|
69
69
|
# this customer. (That is, it refers to a member of the SalesTaxCode list.) The sales-tax
|
|
70
70
|
# code indicates whether an item is taxable or non-taxable, and why. In a request, if a
|
|
@@ -75,8 +75,8 @@ module QubeSync
|
|
|
75
75
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
76
76
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
77
77
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
78
|
-
#
|
|
79
|
-
#
|
|
78
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
79
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
80
80
|
# - `def_macro` (String): `def_macro` lets you assign a reusable name to a returned `txn_id`
|
|
81
81
|
# or `txn_line_id` so later requests can reference it with `useMacro`. This feature requires
|
|
82
82
|
# SDK 2.0+.
|
|
@@ -98,8 +98,9 @@ module QubeSync
|
|
|
98
98
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
99
99
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
100
100
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
101
|
-
# list
|
|
102
|
-
#
|
|
101
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
102
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
103
|
+
# own.
|
|
103
104
|
# - `data_ext` (Array<Hash>)
|
|
104
105
|
# - `data_ext_name` (String, required): The name of the data extension. If this is a
|
|
105
106
|
# custom field, `data_ext_name` will be visible as a label in the QuickBooks user
|
|
@@ -123,16 +124,18 @@ module QubeSync
|
|
|
123
124
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
124
125
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
125
126
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
126
|
-
# list
|
|
127
|
-
#
|
|
127
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
128
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
129
|
+
# own.
|
|
128
130
|
# - `inventory_site_ref` (Hash): Site where inventory is located.
|
|
129
131
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
130
132
|
# object. The `full_name` is the name prefixed by the names of each ancestor, for
|
|
131
133
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
132
134
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
133
135
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
134
|
-
# list
|
|
135
|
-
#
|
|
136
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
137
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
138
|
+
# own.
|
|
136
139
|
# - `item_ref` (Hash): `item_ref` may accept all item types or a restricted subset,
|
|
137
140
|
# depending on the request. Examples: PurchaseOrder and Bill do not allow discount or
|
|
138
141
|
# sales-tax items; VehicleMileageAdd requires a service or other-charge item;
|
|
@@ -143,8 +146,9 @@ module QubeSync
|
|
|
143
146
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
144
147
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
145
148
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
146
|
-
# list
|
|
147
|
-
#
|
|
149
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
150
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
151
|
+
# own.
|
|
148
152
|
# - `markup_rate` (Numeric): The markup that will be passed on to the customer for this item
|
|
149
153
|
# on this estimate. Amount, quantity, rate, and markup are related in the following way:
|
|
150
154
|
# Amount = (Quantity \* Rate) + amount of markup Choose at most one of: `markup_rate`, or
|
|
@@ -171,8 +175,9 @@ module QubeSync
|
|
|
171
175
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
172
176
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
173
177
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
174
|
-
# list
|
|
175
|
-
#
|
|
178
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
179
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
180
|
+
# own.
|
|
176
181
|
# - `price_level_ref` (Hash): Price levels let you apply custom pricing rules for selected
|
|
177
182
|
# customers. Once assigned, QuickBooks uses those prices automatically on supported sales
|
|
178
183
|
# forms unless explicitly overridden. Choose at most one of: `markup_rate`, or
|
|
@@ -182,8 +187,9 @@ module QubeSync
|
|
|
182
187
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
183
188
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
184
189
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
185
|
-
# list
|
|
186
|
-
#
|
|
190
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
191
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
192
|
+
# own.
|
|
187
193
|
# - `quantity` (Numeric): On transaction lines, QuickBooks can derive one value from the
|
|
188
194
|
# other two among Quantity, Rate, and Amount. If you supply Quantity and Amount,
|
|
189
195
|
# QuickBooks calculates Rate. If you supply Quantity and Rate, QuickBooks calculates
|
|
@@ -204,8 +210,9 @@ module QubeSync
|
|
|
204
210
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
205
211
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
206
212
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
207
|
-
# list
|
|
208
|
-
#
|
|
213
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
214
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
215
|
+
# own.
|
|
209
216
|
# - `tax_amount` (Numeric)
|
|
210
217
|
# - `unit_of_measure` (String): In a transaction line item, the name of the unit of measure
|
|
211
218
|
# selected from within the item’s available units. If the company file is enabled only for
|
|
@@ -238,16 +245,18 @@ module QubeSync
|
|
|
238
245
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
239
246
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
240
247
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
241
|
-
# list
|
|
242
|
-
#
|
|
248
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
249
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
250
|
+
# own.
|
|
243
251
|
# - `inventory_site_ref` (Hash): Site where inventory is located.
|
|
244
252
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
245
253
|
# object. The `full_name` is the name prefixed by the names of each ancestor, for
|
|
246
254
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
247
255
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
248
256
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
249
|
-
# list
|
|
250
|
-
#
|
|
257
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
258
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
259
|
+
# own.
|
|
251
260
|
# - `item_group_ref` (Hash, required): ItemGroup objects represent items that are grouped
|
|
252
261
|
# together for fast entry, and an `item_group_ref` aggregate refers to one of these item
|
|
253
262
|
# groups. In a request, if an `item_group_ref` aggregate includes both `full_name` and
|
|
@@ -258,8 +267,9 @@ module QubeSync
|
|
|
258
267
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
259
268
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
260
269
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
261
|
-
# list
|
|
262
|
-
#
|
|
270
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
271
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
272
|
+
# own.
|
|
263
273
|
# - `quantity` (Numeric): On transaction lines, QuickBooks can derive one value from the
|
|
264
274
|
# other two among Quantity, Rate, and Amount. If you supply Quantity and Amount,
|
|
265
275
|
# QuickBooks calculates Rate. If you supply Quantity and Rate, QuickBooks calculates
|
|
@@ -297,8 +307,8 @@ module QubeSync
|
|
|
297
307
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
298
308
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
299
309
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
300
|
-
#
|
|
301
|
-
#
|
|
310
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
311
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
302
312
|
# - `memo` (String): Message that appears in reports, but not on the estimate.
|
|
303
313
|
# - `other` (String): Other, Other1, and Other2 are built-in transaction custom fields. Other
|
|
304
314
|
# is transaction-level; Other1 and Other2 are line-level. These fields are always available
|
|
@@ -322,8 +332,8 @@ module QubeSync
|
|
|
322
332
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
323
333
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
324
334
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
325
|
-
#
|
|
326
|
-
#
|
|
335
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
336
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
327
337
|
# - `ship_address` (Hash): This aggregate supports at most five address lines. You can provide
|
|
328
338
|
# a structured address (Addr1-Addr3 plus City/State/`postal_code`/etc.) or use block mode
|
|
329
339
|
# (Addr1-Addr5 only). Do not mix block mode with other address fields. In block mode, each
|
|
@@ -351,8 +361,8 @@ module QubeSync
|
|
|
351
361
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
352
362
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
353
363
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
354
|
-
#
|
|
355
|
-
#
|
|
364
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
365
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
356
366
|
# - `terms_ref` (Hash): Refers to the payment terms associated with this entity. (This will be
|
|
357
367
|
# an item on the DateDrivenTerms or StandardTerms list.) If a `terms_ref` aggregate includes
|
|
358
368
|
# both `full_name` and `list_id`, `full_name` will be ignored.
|
|
@@ -361,8 +371,8 @@ module QubeSync
|
|
|
361
371
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
362
372
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
363
373
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
364
|
-
#
|
|
365
|
-
#
|
|
374
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
375
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
366
376
|
# - `txn_date` (String): The date of the transaction. In some cases, if you leave `txn_date`
|
|
367
377
|
# out of an -Add message, QuickBooks will prefill `txn_date` with the date of the last-saved
|
|
368
378
|
# transaction of the same type.
|
|
@@ -402,8 +412,9 @@ module QubeSync
|
|
|
402
412
|
# `full_name_with_children` is exactly the same as `full_name`.
|
|
403
413
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
404
414
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
405
|
-
# within a list
|
|
406
|
-
#
|
|
415
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
416
|
+
# other names share one sequence, every item type shares another, and each other list has
|
|
417
|
+
# its own.
|
|
407
418
|
# - `list_id_with_children` (String): Allows you to filter for data that relates to the
|
|
408
419
|
# specified object and its descendants.
|
|
409
420
|
# - `currency_filter` (Hash): Filters by the specified currency. Choose at most one of:
|
|
@@ -417,8 +428,9 @@ module QubeSync
|
|
|
417
428
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
418
429
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
419
430
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
420
|
-
# within a list
|
|
421
|
-
#
|
|
431
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
432
|
+
# other names share one sequence, every item type shares another, and each other list has
|
|
433
|
+
# its own.
|
|
422
434
|
# - `entity_filter` (Hash): An entity refers to a person on the QuickBooks Customer list,
|
|
423
435
|
# Vendor list, Employee list, or Other Names list. You can use an EntityQuery request to get
|
|
424
436
|
# information about all the entities that are set up in the QuickBooks file. In an
|
|
@@ -437,8 +449,9 @@ module QubeSync
|
|
|
437
449
|
# `full_name_with_children` is exactly the same as `full_name`.
|
|
438
450
|
# - `list_id` (Array<String>): `list_id` and `full_name` both identify a list object.
|
|
439
451
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
440
|
-
# within a list
|
|
441
|
-
#
|
|
452
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
453
|
+
# other names share one sequence, every item type shares another, and each other list has
|
|
454
|
+
# its own.
|
|
442
455
|
# - `list_id_with_children` (String): Allows you to filter for data that relates to the
|
|
443
456
|
# specified object and its descendants.
|
|
444
457
|
# - `include_line_items` (Boolean): This filter allows you to omit line items from a query
|
|
@@ -616,8 +629,8 @@ module QubeSync
|
|
|
616
629
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
617
630
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
618
631
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
619
|
-
#
|
|
620
|
-
#
|
|
632
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
633
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
621
634
|
# - `create_change_order` (Boolean): If `create_change_order` is true, the modifications are
|
|
622
635
|
# tracked as a “change order” that appears in the description field at the bottom of the
|
|
623
636
|
# estimate form in QuickBooks. A change order specifies exactly what changed, the dollar
|
|
@@ -632,8 +645,8 @@ module QubeSync
|
|
|
632
645
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
633
646
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
634
647
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
635
|
-
#
|
|
636
|
-
#
|
|
648
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
649
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
637
650
|
# - `customer_ref` (Hash): `customer_ref` identifies a customer or customer job. If both
|
|
638
651
|
# `full_name` and `list_id` are provided, `full_name` is ignored. In SalesReceipt and
|
|
639
652
|
# ReceivePayment, it identifies who receives credit. In TimeTracking, it identifies who the
|
|
@@ -643,8 +656,8 @@ module QubeSync
|
|
|
643
656
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
644
657
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
645
658
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
646
|
-
#
|
|
647
|
-
#
|
|
659
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
660
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
648
661
|
# - `customer_sales_tax_code_ref` (Hash): Refers to the sales-tax code for sales related to
|
|
649
662
|
# this customer. (That is, it refers to a member of the SalesTaxCode list.) The sales-tax
|
|
650
663
|
# code indicates whether an item is taxable or non-taxable, and why. In a request, if a
|
|
@@ -655,8 +668,8 @@ module QubeSync
|
|
|
655
668
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
656
669
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
657
670
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
658
|
-
#
|
|
659
|
-
#
|
|
671
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
672
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
660
673
|
# - `due_date` (String): The date on which payment is due.
|
|
661
674
|
# - `edit_sequence` (String, required): `edit_sequence` is a server-generated revision token.
|
|
662
675
|
# It changes each time the object is updated. To modify an existing object, you must send
|
|
@@ -681,8 +694,9 @@ module QubeSync
|
|
|
681
694
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
682
695
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
683
696
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
684
|
-
# within a list
|
|
685
|
-
#
|
|
697
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
698
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
699
|
+
# has its own.
|
|
686
700
|
# - `desc` (String): A descriptive text field.
|
|
687
701
|
# - `inventory_site_location_ref` (Hash): Location within the Inventory Site.
|
|
688
702
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -690,16 +704,18 @@ module QubeSync
|
|
|
690
704
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
691
705
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
692
706
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
693
|
-
# within a list
|
|
694
|
-
#
|
|
707
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
708
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
709
|
+
# has its own.
|
|
695
710
|
# - `inventory_site_ref` (Hash): Site where inventory is located.
|
|
696
711
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
697
712
|
# object. The `full_name` is the name prefixed by the names of each ancestor, for
|
|
698
713
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
699
714
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
700
715
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
701
|
-
# within a list
|
|
702
|
-
#
|
|
716
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
717
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
718
|
+
# has its own.
|
|
703
719
|
# - `item_ref` (Hash): `item_ref` may accept all item types or a restricted subset,
|
|
704
720
|
# depending on the request. Examples: PurchaseOrder and Bill do not allow discount or
|
|
705
721
|
# sales-tax items; VehicleMileageAdd requires a service or other-charge item;
|
|
@@ -710,8 +726,9 @@ module QubeSync
|
|
|
710
726
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
711
727
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
712
728
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
713
|
-
# within a list
|
|
714
|
-
#
|
|
729
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
730
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
731
|
+
# has its own.
|
|
715
732
|
# - `markup_rate` (Numeric): The markup that will be passed on to the customer for this
|
|
716
733
|
# item on this estimate. Amount, quantity, rate, and markup are related in the following
|
|
717
734
|
# way: Amount = (Quantity \* Rate) + amount of markup Choose at most one of:
|
|
@@ -741,8 +758,9 @@ module QubeSync
|
|
|
741
758
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
742
759
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
743
760
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
744
|
-
# within a list
|
|
745
|
-
#
|
|
761
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
762
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
763
|
+
# has its own.
|
|
746
764
|
# - `price_level_ref` (Hash): Price levels let you apply custom pricing rules for selected
|
|
747
765
|
# customers. Once assigned, QuickBooks uses those prices automatically on supported
|
|
748
766
|
# sales forms unless explicitly overridden. Choose at most one of: `markup_rate`, or
|
|
@@ -752,8 +770,9 @@ module QubeSync
|
|
|
752
770
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
753
771
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
754
772
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
755
|
-
# within a list
|
|
756
|
-
#
|
|
773
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
774
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
775
|
+
# has its own.
|
|
757
776
|
# - `quantity` (Numeric): On transaction lines, QuickBooks can derive one value from the
|
|
758
777
|
# other two among Quantity, Rate, and Amount. If you supply Quantity and Amount,
|
|
759
778
|
# QuickBooks calculates Rate. If you supply Quantity and Rate, QuickBooks calculates
|
|
@@ -775,8 +794,9 @@ module QubeSync
|
|
|
775
794
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
776
795
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object.
|
|
777
796
|
# QuickBooks assigns `list_id` when the object is created. `list_id` values are unique
|
|
778
|
-
# within a list
|
|
779
|
-
#
|
|
797
|
+
# within a list family, not across the company file: customers, vendors, employees and
|
|
798
|
+
# other names share one sequence, every item type shares another, and each other list
|
|
799
|
+
# has its own.
|
|
780
800
|
# - `tax_amount` (Numeric)
|
|
781
801
|
# - `txn_line_id` (String, required): Identification number of the transaction line.
|
|
782
802
|
# (`txn_line_id` is supported as of v2.0 of the SDK. With qbXML v1.0 and v1.1,
|
|
@@ -795,8 +815,9 @@ module QubeSync
|
|
|
795
815
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
796
816
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
797
817
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
798
|
-
# list
|
|
799
|
-
#
|
|
818
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
819
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
820
|
+
# own.
|
|
800
821
|
# - `override_uom_set_ref` (Hash): When you modify a transaction line to change the unit of
|
|
801
822
|
# measure used in that line, you use this aggregate to specify the UOM set within which
|
|
802
823
|
# you are choosing an available unit of measure. The “override” here refers to the unit
|
|
@@ -807,8 +828,9 @@ module QubeSync
|
|
|
807
828
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
808
829
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
809
830
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
810
|
-
# list
|
|
811
|
-
#
|
|
831
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
832
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
833
|
+
# own.
|
|
812
834
|
# - `quantity` (Numeric): On transaction lines, QuickBooks can derive one value from the
|
|
813
835
|
# other two among Quantity, Rate, and Amount. If you supply Quantity and Amount,
|
|
814
836
|
# QuickBooks calculates Rate. If you supply Quantity and Rate, QuickBooks calculates
|
|
@@ -837,8 +859,9 @@ module QubeSync
|
|
|
837
859
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
838
860
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
839
861
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
840
|
-
# list
|
|
841
|
-
#
|
|
862
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
863
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
864
|
+
# own.
|
|
842
865
|
# - `desc` (String): A descriptive text field.
|
|
843
866
|
# - `inventory_site_location_ref` (Hash): Location within the Inventory Site.
|
|
844
867
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
@@ -846,16 +869,18 @@ module QubeSync
|
|
|
846
869
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
847
870
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
848
871
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
849
|
-
# list
|
|
850
|
-
#
|
|
872
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
873
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
874
|
+
# own.
|
|
851
875
|
# - `inventory_site_ref` (Hash): Site where inventory is located.
|
|
852
876
|
# - `full_name` (String): `full_name` (along with `list_id`) is a way to identify a list
|
|
853
877
|
# object. The `full_name` is the name prefixed by the names of each ancestor, for
|
|
854
878
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
855
879
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
856
880
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
857
|
-
# list
|
|
858
|
-
#
|
|
881
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
882
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
883
|
+
# own.
|
|
859
884
|
# - `item_ref` (Hash): `item_ref` may accept all item types or a restricted subset,
|
|
860
885
|
# depending on the request. Examples: PurchaseOrder and Bill do not allow discount or
|
|
861
886
|
# sales-tax items; VehicleMileageAdd requires a service or other-charge item;
|
|
@@ -866,8 +891,9 @@ module QubeSync
|
|
|
866
891
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
867
892
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
868
893
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
869
|
-
# list
|
|
870
|
-
#
|
|
894
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
895
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
896
|
+
# own.
|
|
871
897
|
# - `markup_rate` (Numeric): The markup that will be passed on to the customer for this item
|
|
872
898
|
# on this estimate. Amount, quantity, rate, and markup are related in the following way:
|
|
873
899
|
# Amount = (Quantity \* Rate) + amount of markup Choose at most one of: `markup_rate`, or
|
|
@@ -896,8 +922,9 @@ module QubeSync
|
|
|
896
922
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
897
923
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
898
924
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
899
|
-
# list
|
|
900
|
-
#
|
|
925
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
926
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
927
|
+
# own.
|
|
901
928
|
# - `price_level_ref` (Hash): Price levels let you apply custom pricing rules for selected
|
|
902
929
|
# customers. Once assigned, QuickBooks uses those prices automatically on supported sales
|
|
903
930
|
# forms unless explicitly overridden. Choose at most one of: `markup_rate`, or
|
|
@@ -907,8 +934,9 @@ module QubeSync
|
|
|
907
934
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
908
935
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
909
936
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
910
|
-
# list
|
|
911
|
-
#
|
|
937
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
938
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
939
|
+
# own.
|
|
912
940
|
# - `quantity` (Numeric): On transaction lines, QuickBooks can derive one value from the
|
|
913
941
|
# other two among Quantity, Rate, and Amount. If you supply Quantity and Amount,
|
|
914
942
|
# QuickBooks calculates Rate. If you supply Quantity and Rate, QuickBooks calculates
|
|
@@ -929,8 +957,9 @@ module QubeSync
|
|
|
929
957
|
# example Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
930
958
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
931
959
|
# assigns `list_id` when the object is created. `list_id` values are unique within a
|
|
932
|
-
# list
|
|
933
|
-
#
|
|
960
|
+
# list family, not across the company file: customers, vendors, employees and other
|
|
961
|
+
# names share one sequence, every item type shares another, and each other list has its
|
|
962
|
+
# own.
|
|
934
963
|
# - `tax_amount` (Numeric)
|
|
935
964
|
# - `txn_line_id` (String, required): Identification number of the transaction line.
|
|
936
965
|
# (`txn_line_id` is supported as of v2.0 of the SDK. With qbXML v1.0 and v1.1,
|
|
@@ -968,8 +997,8 @@ module QubeSync
|
|
|
968
997
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
969
998
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
970
999
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
971
|
-
#
|
|
972
|
-
#
|
|
1000
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
1001
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
973
1002
|
# - `memo` (String): Message that appears in reports, but not on the estimate.
|
|
974
1003
|
# - `other` (String): Other, Other1, and Other2 are built-in transaction custom fields. Other
|
|
975
1004
|
# is transaction-level; Other1 and Other2 are line-level. These fields are always available
|
|
@@ -993,8 +1022,8 @@ module QubeSync
|
|
|
993
1022
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
994
1023
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
995
1024
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
996
|
-
#
|
|
997
|
-
#
|
|
1025
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
1026
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
998
1027
|
# - `ship_address` (Hash): This aggregate supports at most five address lines. You can provide
|
|
999
1028
|
# a structured address (Addr1-Addr3 plus City/State/`postal_code`/etc.) or use block mode
|
|
1000
1029
|
# (Addr1-Addr5 only). Do not mix block mode with other address fields. In block mode, each
|
|
@@ -1022,8 +1051,8 @@ module QubeSync
|
|
|
1022
1051
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
1023
1052
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
1024
1053
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
1025
|
-
#
|
|
1026
|
-
#
|
|
1054
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
1055
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
1027
1056
|
# - `terms_ref` (Hash): Refers to the payment terms associated with this entity. (This will be
|
|
1028
1057
|
# an item on the DateDrivenTerms or StandardTerms list.) If a `terms_ref` aggregate includes
|
|
1029
1058
|
# both `full_name` and `list_id`, `full_name` will be ignored.
|
|
@@ -1032,8 +1061,8 @@ module QubeSync
|
|
|
1032
1061
|
# Jones:Kitchen:Cabinets. `full_name` values aren’t case-sensitive.
|
|
1033
1062
|
# - `list_id` (String): `list_id` and `full_name` both identify a list object. QuickBooks
|
|
1034
1063
|
# assigns `list_id` when the object is created. `list_id` values are unique within a list
|
|
1035
|
-
#
|
|
1036
|
-
#
|
|
1064
|
+
# family, not across the company file: customers, vendors, employees and other names share
|
|
1065
|
+
# one sequence, every item type shares another, and each other list has its own.
|
|
1037
1066
|
# - `txn_date` (String): The date of the transaction. In some cases, if you leave `txn_date`
|
|
1038
1067
|
# out of an -Add message, QuickBooks will prefill `txn_date` with the date of the last-saved
|
|
1039
1068
|
# transaction of the same type.
|