lockstep_rails 0.3.89 → 0.3.90

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/lockstep/custom_field_value.rb +12 -0
  3. data/app/platform_api/schema/api_key.rb +1 -1
  4. data/app/platform_api/schema/app_enrollment.rb +3 -3
  5. data/app/platform_api/schema/app_enrollment_custom_field.rb +1 -1
  6. data/app/platform_api/schema/app_enrollment_reconnect_info.rb +0 -16
  7. data/app/platform_api/schema/application.rb +1 -1
  8. data/app/platform_api/schema/attachment.rb +8 -8
  9. data/app/platform_api/schema/attachment_link.rb +6 -6
  10. data/app/platform_api/schema/code_definition.rb +2 -2
  11. data/app/platform_api/schema/company.rb +7 -13
  12. data/app/platform_api/schema/company_details.rb +1 -1
  13. data/app/platform_api/schema/company_details_payment.rb +1 -1
  14. data/app/platform_api/schema/company_magic_link_summary.rb +1 -1
  15. data/app/platform_api/schema/company_sync.rb +5 -14
  16. data/app/platform_api/schema/connector_info.rb +0 -50
  17. data/app/platform_api/schema/contact.rb +2 -2
  18. data/app/platform_api/schema/contact_sync.rb +1 -1
  19. data/app/platform_api/schema/credit_memo_applied.rb +6 -6
  20. data/app/platform_api/schema/credit_memo_applied_sync.rb +1 -1
  21. data/app/platform_api/schema/credit_memo_invoice.rb +8 -2
  22. data/app/platform_api/schema/custom_field_definition.rb +2 -2
  23. data/app/platform_api/schema/custom_field_value.rb +2 -2
  24. data/app/platform_api/schema/customer_summary.rb +1 -1
  25. data/app/platform_api/schema/financial_account.rb +1 -1
  26. data/app/platform_api/schema/financial_account_balance_history.rb +2 -2
  27. data/app/platform_api/schema/financial_account_balance_history_sync.rb +1 -3
  28. data/app/platform_api/schema/financial_institution_account.rb +1 -1
  29. data/app/platform_api/schema/financial_year_setting.rb +2 -2
  30. data/app/platform_api/schema/group_account.rb +6 -1
  31. data/app/platform_api/schema/invoice.rb +17 -2
  32. data/app/platform_api/schema/invoice_address.rb +2 -2
  33. data/app/platform_api/schema/invoice_line.rb +2 -17
  34. data/app/platform_api/schema/invoice_line_sync.rb +1 -115
  35. data/app/platform_api/schema/invoice_payment_detail.rb +7 -1
  36. data/app/platform_api/schema/invoice_summary.rb +1 -1
  37. data/app/platform_api/schema/invoice_sync.rb +5 -1
  38. data/app/platform_api/schema/invoice_workflow_status_history.rb +11 -3
  39. data/app/platform_api/schema/magic_link.rb +2 -2
  40. data/app/platform_api/schema/note.rb +6 -6
  41. data/app/platform_api/schema/object_event.rb +69 -0
  42. data/app/platform_api/schema/payment.rb +15 -3
  43. data/app/platform_api/schema/payment_applied.rb +3 -3
  44. data/app/platform_api/schema/payment_applied_sync.rb +1 -1
  45. data/app/platform_api/schema/payment_detail.rb +2 -2
  46. data/app/platform_api/schema/payment_summary.rb +1 -1
  47. data/app/platform_api/schema/payment_sync.rb +9 -1
  48. data/app/platform_api/schema/status.rb +2 -2
  49. data/app/platform_api/schema/sync_request.rb +7 -3
  50. data/app/platform_api/schema/user_account.rb +3 -3
  51. data/app/platform_api/schema/user_data_response.rb +1 -1
  52. data/app/platform_api/schema/user_group.rb +1 -1
  53. data/app/platform_api/schema/user_role.rb +3 -3
  54. data/app/platform_api/schema/vendor_summary.rb +1 -1
  55. data/app/platform_api/schema/webhook.rb +5 -5
  56. data/app/platform_api/schema/webhook_history_table_storage.rb +3 -3
  57. data/app/platform_api/schema/webhook_rule.rb +4 -4
  58. data/app/platform_api/schema/workflow_status.rb +2 -2
  59. data/app/platform_api/swagger.json +6561 -12164
  60. data/lib/lockstep_rails/version.rb +1 -1
  61. metadata +6 -5
@@ -6,12 +6,12 @@ def self.id_ref
6
6
  end
7
7
 
8
8
  # The unique ID of this record, automatically assigned by ADS when this record is
9
- # added to the ADS Platform.
9
+ # added to the Accounting Data Service.
10
10
  # @type: string
11
11
  # @format: uuid
12
12
  field :financial_year_setting_id
13
13
 
14
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
14
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
15
15
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
16
  #
17
17
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -63,6 +63,11 @@ end
63
63
  # @type: string
64
64
  field :country_code
65
65
 
66
+ # Workflow status when ERP sync is started for e-Invoices
67
+ # @type: string
68
+ # @format: uuid
69
+ field :e_invoice_sync_workflow_status
70
+
66
71
  belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
67
72
  belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
68
73
 
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -14,7 +14,7 @@ end
14
14
  field :group_key
15
15
 
16
16
  # The unique ID of this record, automatically assigned by ADS when this record is
17
- # added to the ADS Platform.
17
+ # added to the Accounting Data Service.
18
18
  #
19
19
  # For the ID of this record in its originating financial system, see `ErpKey`.
20
20
  # @type: string
@@ -171,6 +171,11 @@ end
171
171
  # @format: date
172
172
  field :payment_due_date
173
173
 
174
+ # The date when payment is planned in Connect.
175
+ # @type: string
176
+ # @format: date
177
+ field :planned_payment_date
178
+
174
179
  # The date and time when this record was imported from the user's ERP or accounting system.
175
180
  # @type: string
176
181
  # @format: date-time
@@ -321,6 +326,16 @@ end
321
326
  # @type: string
322
327
  field :jurisdiction
323
328
 
329
+ # The ID of the sync task that created this Invoice.
330
+ # @type: string
331
+ # @format: uuid
332
+ field :created_sync_id
333
+
334
+ # The ID of the sync task that modified this Invoice.
335
+ # @type: string
336
+ # @format: uuid
337
+ field :modified_sync_id
338
+
324
339
  belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
325
340
  belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
326
341
  belongs_to :customer, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
@@ -6,12 +6,12 @@ def self.id_ref
6
6
  end
7
7
 
8
8
  # The unique ID of this record, automatically assigned by ADS when this record is
9
- # added to the ADS Platform.
9
+ # added to the Accounting Data Service.
10
10
  # @type: string
11
11
  # @format: uuid
12
12
  field :invoice_address_id
13
13
 
14
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
14
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
15
15
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
16
  #
17
17
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -6,14 +6,14 @@ def self.id_ref
6
6
  end
7
7
 
8
8
  # The unique ID of this record, automatically assigned by ADS when this record is
9
- # added to the ADS Platform.
9
+ # added to the Accounting Data Service.
10
10
  #
11
11
  # For the ID of this record in its originating financial system, see `ErpKey`.
12
12
  # @type: string
13
13
  # @format: uuid
14
14
  field :invoice_line_id
15
15
 
16
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
16
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
17
17
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
18
18
  #
19
19
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -131,21 +131,6 @@ end
131
131
  # @format: date
132
132
  field :reporting_date
133
133
 
134
- # An optional ID number for the line's origin address.
135
- # @type: string
136
- # @format: uuid
137
- field :override_origin_address_id
138
-
139
- # An optional ID number for the line's bill to address.
140
- # @type: string
141
- # @format: uuid
142
- field :override_bill_to_address_id
143
-
144
- # An optional ID number for the line's ship to address.
145
- # @type: string
146
- # @format: uuid
147
- field :override_ship_to_address_id
148
-
149
134
  # The date on which this line was created.
150
135
  # @type: string
151
136
  # @format: date-time
@@ -8,7 +8,7 @@ end
8
8
  # Indicates what action to take when an existing object has been found during the sync process.
9
9
  field :on_match_action
10
10
 
11
- # The unique identifier of this object in the Sage Network platform.
11
+ # The unique identifier of this object in the Accounting Data Service.
12
12
  # @type: string
13
13
  # @format: uuid
14
14
  field :network_id
@@ -129,120 +129,6 @@ end
129
129
  # @format: date-time
130
130
  field :reporting_date, Types::Params::DateTime
131
131
 
132
- # Origination address for this invoice line, if this line item was originated from a different address
133
- # @type: string
134
- field :origin_address_line1
135
-
136
- # Origination address for this invoice line, if this line item was originated from a different address
137
- # @type: string
138
- field :origin_address_line2
139
-
140
- # Origination address for this invoice line, if this line item was originated from a different address
141
- # @type: string
142
- field :origin_address_line3
143
-
144
- # Origination address for this invoice line, if this line item was originated from a different address
145
- # @type: string
146
- field :origin_address_city
147
-
148
- # Origination address for this invoice line, if this line item was originated from a different address
149
- # @type: string
150
- field :origin_address_region
151
-
152
- # Origination address for this invoice line, if this line item was originated from a different address
153
- # @type: string
154
- field :origin_address_postal_code
155
-
156
- # Origination address for this invoice line, if this line item was originated from a different address
157
- # @type: string
158
- field :origin_address_country
159
-
160
- # Origination address for this invoice line, if this line item was originated from a different address
161
- # @type: number
162
- # @format: float
163
- field :origin_address_latitude
164
-
165
- # Origination address for this invoice line, if this line item was originated from a different address
166
- # @type: number
167
- # @format: float
168
- field :origin_address_longitude
169
-
170
- # Billing address for this invoice line, if this line item is to be billed to a different address
171
- # @type: string
172
- field :bill_to_address_line1
173
-
174
- # Billing address for this invoice line, if this line item is to be billed to a different address
175
- # @type: string
176
- field :bill_to_address_line2
177
-
178
- # Billing address for this invoice line, if this line item is to be billed to a different address
179
- # @type: string
180
- field :bill_to_address_line3
181
-
182
- # Billing address for this invoice line, if this line item is to be billed to a different address
183
- # @type: string
184
- field :bill_to_address_city
185
-
186
- # Billing address for this invoice line, if this line item is to be billed to a different address
187
- # @type: string
188
- field :bill_to_address_region
189
-
190
- # Billing address for this invoice line, if this line item is to be billed to a different address
191
- # @type: string
192
- field :bill_to_address_postal_code
193
-
194
- # Billing address for this invoice line, if this line item is to be billed to a different address
195
- # @type: string
196
- field :bill_to_address_country
197
-
198
- # Billing address for this invoice line, if this line item is to be billed to a different address
199
- # @type: number
200
- # @format: float
201
- field :bill_to_address_latitude
202
-
203
- # Billing address for this invoice line, if this line item is to be billed to a different address
204
- # @type: number
205
- # @format: float
206
- field :bill_to_address_longitude
207
-
208
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
209
- # @type: string
210
- field :ship_to_address_line1
211
-
212
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
213
- # @type: string
214
- field :ship_to_address_line2
215
-
216
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
217
- # @type: string
218
- field :ship_to_address_line3
219
-
220
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
221
- # @type: string
222
- field :ship_to_address_city
223
-
224
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
225
- # @type: string
226
- field :ship_to_address_region
227
-
228
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
229
- # @type: string
230
- field :ship_to_address_postal_code
231
-
232
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
233
- # @type: string
234
- field :ship_to_address_country
235
-
236
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
237
- # @type: number
238
- # @format: float
239
- field :ship_to_address_latitude
240
-
241
- # Shipping address for this invoice line, if this line item is to be shipped to a different address
242
- # @type: number
243
- # @format: float
244
- field :ship_to_address_longitude
245
-
246
132
  # If known, the date when this record was created according to the originating financial system
247
133
  # in which this record is maintained. If the originating financial system does not maintain a
248
134
  # created-date, leave this field null.
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -81,6 +81,12 @@ end
81
81
  # @format: double
82
82
  field :base_currency_unapplied_amount
83
83
 
84
+ # Possible statuses for a record that supports ERP Update.
85
+ field :erp_update_status
86
+
87
+ # Possible actions for a record that supports ERP Update.
88
+ field :erp_update_action
89
+
84
90
  belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
85
91
  belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
86
92
 
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -8,7 +8,7 @@ end
8
8
  # Indicates what action to take when an existing object has been found during the sync process.
9
9
  field :on_match_action
10
10
 
11
- # The unique identifier of this object in the Sage Network platform.
11
+ # The unique identifier of this object in the Accounting Data Service.
12
12
  # @type: string
13
13
  # @format: uuid
14
14
  field :network_id
@@ -163,6 +163,10 @@ end
163
163
  # @format: date-time
164
164
  field :payment_due_date, Types::Params::DateTime
165
165
 
166
+ # The date when payment is planned in Connect.
167
+ # @type: string
168
+ field :planned_payment_date
169
+
166
170
  # The date and time when this record was imported from the user's ERP or accounting system.
167
171
  # @type: string
168
172
  # @format: date-time
@@ -5,8 +5,8 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The unique ID of this record, automatically assigned by ADS Platform when this record is
9
- # added to the Accounting Data Services platform.
8
+ # The unique ID of this record, automatically assigned by Accounting Data Service when this record is
9
+ # added to the Accounting Data Services network.
10
10
  # @type: string
11
11
  # @format: uuid
12
12
  field :invoice_workflow_status_history_id
@@ -30,7 +30,7 @@ end
30
30
  # @format: uuid
31
31
  field :workflow_transition_id
32
32
 
33
- # The GroupKey uniquely identifies a single Accounting Data Services Platform account. All records for this
33
+ # The GroupKey uniquely identifies a single Accounting Data Services Network account. All records for this
34
34
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
35
35
  #
36
36
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -58,6 +58,14 @@ end
58
58
  # @format: uuid
59
59
  field :created_user_id
60
60
 
61
+ # The TraceId of the call made to create the invoice workflow status history.
62
+ # @type: string
63
+ field :trace_id
64
+
65
+ # The span id of the parent call to create the invoice workflow status history.
66
+ # @type: string
67
+ field :trace_parent
68
+
61
69
  belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
62
70
 
63
71
 
@@ -6,12 +6,12 @@ def self.id_ref
6
6
  end
7
7
 
8
8
  # The unique ID of this record, automatically assigned by ADS when this record is
9
- # added to the ADS Platform.
9
+ # added to the Accounting Data Service.
10
10
  # @type: string
11
11
  # @format: uuid
12
12
  field :magic_link_id
13
13
 
14
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
14
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
15
15
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
16
  # @type: string
17
17
  # @format: uuid
@@ -6,12 +6,12 @@ def self.id_ref
6
6
  end
7
7
 
8
8
  # The unique ID of this record, automatically assigned by ADS when this record is
9
- # added to the ADS Platform.
9
+ # added to the Accounting Data Service.
10
10
  # @type: string
11
11
  # @format: uuid
12
12
  field :note_id
13
13
 
14
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
14
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
15
15
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
16
  #
17
17
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -19,22 +19,22 @@ end
19
19
  # @format: uuid
20
20
  field :group_key
21
21
 
22
- # A Note is connected to an existing item within the ADS Platform by the fields `TableKey` and
22
+ # A Note is connected to an existing item within the Accounting Data Service by the fields `TableKey` and
23
23
  # `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
24
24
  # `Invoice` and an `ObjectKey` value of `12345`.
25
25
  #
26
- # The `TableKey` value contains the name of the table within the ADS Platform to which this metadata
26
+ # The `TableKey` value contains the name of the table within the Accounting Data Service to which this metadata
27
27
  # is connected.
28
28
  #
29
29
  # For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
30
30
  # @type: string
31
31
  field :table_key
32
32
 
33
- # A Note is connected to an existing item within the ADS Platform by the fields `TableKey` and
33
+ # A Note is connected to an existing item within the Accounting Data Service by the fields `TableKey` and
34
34
  # `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
35
35
  # `Invoice` and an `ObjectKey` value of `12345`.
36
36
  #
37
- # The `ObjectKey` value contains the primary key of the record within the ADS Platform to which this
37
+ # The `ObjectKey` value contains the primary key of the record within the Accounting Data Service to which this
38
38
  # metadata is connected.
39
39
  #
40
40
  # For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
@@ -0,0 +1,69 @@
1
+ class Schema::ObjectEvent < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # Identifier for event
9
+ # @type: string
10
+ field :id
11
+
12
+ # Identifies the context in which this event happened
13
+ # @type: string
14
+ field :source
15
+
16
+ # Version of the CloudEvents specification which the event uses
17
+ # @type: string
18
+ field :spec_version
19
+
20
+ # Value describing the type of even relating to the originating occurrence
21
+ # NOTE: Type format should be {entity type}.{event action}
22
+ # @type: string
23
+ field :type
24
+
25
+ # Contains trace information such as version, trace ID, span ID and trace options
26
+ # @type: string
27
+ field :trace_parent
28
+
29
+ # Comma-delimited list of trace key value pairs
30
+ # @type: string
31
+ field :trace_state
32
+
33
+ # Content type of data value
34
+ # @type: string
35
+ field :data_content_type
36
+
37
+ # Identifies the schema the data value adheres to
38
+ # @type: string
39
+ field :data_schema
40
+
41
+ # Identifies the subject of the event in the context of the even producer (identified by source)
42
+ # @type: string
43
+ field :subject
44
+
45
+ # Timestamp of when the occurrence happened
46
+ # @type: string
47
+ # @format: date-time
48
+ field :time, Types::Params::DateTime
49
+
50
+ # Subscription id related to the notification
51
+ # @type: string
52
+ field :subscription_id
53
+
54
+ # Account id related to the notification
55
+ # @type: string
56
+ field :account_id
57
+
58
+ # Dataset related to the notification
59
+ # @type: string
60
+ # @format: uuid
61
+ field :dataset_id
62
+
63
+ # Source domain-specific information about the occurrence to be deserialized based on the information in DataContentType
64
+ # or DataSchema or by default content type - application/json
65
+ field :data
66
+
67
+
68
+
69
+ end
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -13,8 +13,8 @@ end
13
13
  # @format: uuid
14
14
  field :group_key
15
15
 
16
- # The unique ID of this record, automatically assigned by ADS Platform when this record is
17
- # added to the ADS Platform.
16
+ # The unique ID of this record, automatically assigned by Accounting Data Service when this record is
17
+ # added to the Accounting Data Service.
18
18
  #
19
19
  # For the ID of this record in its originating financial system, see `ErpKey`.
20
20
  # @type: string
@@ -173,6 +173,18 @@ end
173
173
  # @format: date-time
174
174
  field :source_modified_date, Types::Params::DateTime
175
175
 
176
+ # The tax code of this payment.
177
+ # @type: string
178
+ field :tax_code
179
+
180
+ # The financial account code of this payment.
181
+ # @type: string
182
+ field :financial_account_code
183
+
184
+ # Optional field to indicate if the payment has a PDF attached to it.
185
+ # @type: boolean
186
+ field :has_pdf
187
+
176
188
  # Additional attributes that may be required by the source system.
177
189
  # @type: object
178
190
  field :erp_system_attributes
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -13,8 +13,8 @@ end
13
13
  # @format: uuid
14
14
  field :group_key
15
15
 
16
- # The unique ID of this record, automatically assigned by ADS Platform when this record is
17
- # added to the ADS Platform.
16
+ # The unique ID of this record, automatically assigned by Accounting Data Service when this record is
17
+ # added to the Accounting Data Service.
18
18
  #
19
19
  # For the ID of this record in its originating financial system, see `ErpKey`.
20
20
  # @type: string
@@ -8,7 +8,7 @@ end
8
8
  # Indicates what action to take when an existing object has been found during the sync process.
9
9
  field :on_match_action
10
10
 
11
- # The unique identifier of this object in the Sage Network platform.
11
+ # The unique identifier of this object in the Accounting Data Service.
12
12
  # @type: string
13
13
  # @format: uuid
14
14
  field :network_id
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -43,7 +43,7 @@ end
43
43
  # @type: string
44
44
  field :email
45
45
 
46
- # Possible statuses for a record that supports ERP write.
46
+ # Possible statuses for a record that supports ERP Update.
47
47
  field :erp_write_status
48
48
 
49
49
  # The name of the ErpWriteStatus for this payment
@@ -5,7 +5,7 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
8
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
10
  #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -8,7 +8,7 @@ end
8
8
  # Indicates what action to take when an existing object has been found during the sync process.
9
9
  field :on_match_action
10
10
 
11
- # The unique identifier of this object in the Sage Network platform.
11
+ # The unique identifier of this object in the Accounting Data Service.
12
12
  # @type: string
13
13
  # @format: uuid
14
14
  field :network_id
@@ -140,6 +140,14 @@ end
140
140
  # @type: string
141
141
  field :bank_account_id
142
142
 
143
+ # The tax code of this payment.
144
+ # @type: string
145
+ field :tax_code
146
+
147
+ # The financial account code of this payment.
148
+ # @type: string
149
+ field :financial_account_code
150
+
143
151
 
144
152
 
145
153
  end
@@ -91,10 +91,10 @@ end
91
91
  # Magic link information about the user
92
92
  field :magic_link
93
93
 
94
- # Information allowing ADS Platform to offer direct support to the user
94
+ # Information allowing Accounting Data Service to offer direct support to the user
95
95
  field :support_access
96
96
 
97
- # True if the user is being impersonated by the ADS Platform support team.
97
+ # True if the user is being impersonated by the Accounting Data Service support team.
98
98
  # @type: boolean
99
99
  field :is_impersonated
100
100
 
@@ -5,13 +5,13 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
- # The unique ID of this record, automatically assigned by ADS Platform when this record is
9
- # added to the ADS Platform.
8
+ # The unique ID of this record, automatically assigned by Accounting Data Service when this record is
9
+ # added to the Accounting Data Service.
10
10
  # @type: string
11
11
  # @format: uuid
12
12
  field :sync_request_id
13
13
 
14
- # The GroupKey uniquely identifies a single ADS Platform account. All records for this
14
+ # The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
15
15
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
16
  #
17
17
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
@@ -99,6 +99,10 @@ end
99
99
  # @format: int32
100
100
  field :total_batches
101
101
 
102
+ # An optional trace parent for the sync request
103
+ # @type: string
104
+ field :trace_parent
105
+
102
106
  belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
103
107
 
104
108