merge_accounting_client 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AccountsApi.md +4 -0
- data/docs/BalanceSheetsApi.md +4 -0
- data/docs/CashFlowStatementsApi.md +4 -0
- data/docs/CompanyInfoApi.md +4 -0
- data/docs/ContactsApi.md +4 -0
- data/docs/CreditNote.md +1 -1
- data/docs/CreditNoteLineItem.md +1 -1
- data/docs/CreditNotesApi.md +4 -0
- data/docs/Expense.md +1 -1
- data/docs/ExpenseLine.md +4 -2
- data/docs/ExpenseLineRequest.md +4 -2
- data/docs/ExpenseRequest.md +1 -1
- data/docs/ExpensesApi.md +4 -0
- data/docs/ForceResyncApi.md +1 -1
- data/docs/IncomeStatementsApi.md +4 -0
- data/docs/Invoice.md +1 -1
- data/docs/InvoiceLineItem.md +2 -2
- data/docs/InvoiceLineItemRequest.md +2 -2
- data/docs/InvoiceRequest.md +18 -18
- data/docs/InvoicesApi.md +4 -0
- data/docs/ItemsApi.md +4 -0
- data/docs/JournalEntriesApi.md +4 -0
- data/docs/JournalEntry.md +2 -2
- data/docs/JournalEntryRequest.md +10 -10
- data/docs/JournalLine.md +4 -2
- data/docs/JournalLineRequest.md +4 -2
- data/docs/PaymentsApi.md +4 -0
- data/docs/PurchaseOrder.md +2 -2
- data/docs/PurchaseOrderLineItem.md +2 -0
- data/docs/PurchaseOrderLineItemRequest.md +2 -0
- data/docs/PurchaseOrderRequest.md +12 -12
- data/docs/PurchaseOrdersApi.md +4 -0
- data/docs/TaxRatesApi.md +4 -0
- data/docs/TrackingCategoriesApi.md +4 -0
- data/docs/Transaction.md +4 -2
- data/docs/TransactionLineItem.md +2 -0
- data/docs/TransactionsApi.md +4 -0
- data/docs/VendorCredit.md +2 -2
- data/docs/VendorCreditLine.md +3 -1
- data/docs/VendorCreditsApi.md +4 -0
- data/lib/merge_accounting_client/api/accounts_api.rb +14 -0
- data/lib/merge_accounting_client/api/balance_sheets_api.rb +14 -0
- data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +14 -0
- data/lib/merge_accounting_client/api/company_info_api.rb +14 -0
- data/lib/merge_accounting_client/api/contacts_api.rb +14 -0
- data/lib/merge_accounting_client/api/credit_notes_api.rb +14 -0
- data/lib/merge_accounting_client/api/expenses_api.rb +14 -0
- data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
- data/lib/merge_accounting_client/api/income_statements_api.rb +14 -0
- data/lib/merge_accounting_client/api/invoices_api.rb +14 -0
- data/lib/merge_accounting_client/api/items_api.rb +14 -0
- data/lib/merge_accounting_client/api/journal_entries_api.rb +14 -0
- data/lib/merge_accounting_client/api/payments_api.rb +14 -0
- data/lib/merge_accounting_client/api/purchase_orders_api.rb +14 -0
- data/lib/merge_accounting_client/api/tax_rates_api.rb +14 -0
- data/lib/merge_accounting_client/api/tracking_categories_api.rb +14 -0
- data/lib/merge_accounting_client/api/transactions_api.rb +14 -0
- data/lib/merge_accounting_client/api/vendor_credits_api.rb +14 -0
- data/lib/merge_accounting_client/models/account_integration.rb +3 -3
- data/lib/merge_accounting_client/models/credit_note_line_item.rb +9 -9
- data/lib/merge_accounting_client/models/expense.rb +3 -3
- data/lib/merge_accounting_client/models/expense_line.rb +37 -9
- data/lib/merge_accounting_client/models/expense_line_request.rb +37 -9
- data/lib/merge_accounting_client/models/expense_request.rb +3 -3
- data/lib/merge_accounting_client/models/invoice.rb +3 -3
- data/lib/merge_accounting_client/models/invoice_line_item.rb +15 -15
- data/lib/merge_accounting_client/models/invoice_line_item_request.rb +15 -15
- data/lib/merge_accounting_client/models/invoice_request.rb +3 -3
- data/lib/merge_accounting_client/models/journal_entry.rb +3 -3
- data/lib/merge_accounting_client/models/journal_entry_request.rb +3 -3
- data/lib/merge_accounting_client/models/journal_line.rb +37 -9
- data/lib/merge_accounting_client/models/journal_line_request.rb +37 -9
- data/lib/merge_accounting_client/models/payment.rb +3 -3
- data/lib/merge_accounting_client/models/payment_request.rb +3 -3
- data/lib/merge_accounting_client/models/purchase_order.rb +3 -3
- data/lib/merge_accounting_client/models/purchase_order_line_item.rb +21 -10
- data/lib/merge_accounting_client/models/purchase_order_line_item_request.rb +21 -10
- data/lib/merge_accounting_client/models/purchase_order_request.rb +3 -3
- data/lib/merge_accounting_client/models/transaction.rb +18 -7
- data/lib/merge_accounting_client/models/transaction_line_item.rb +24 -13
- data/lib/merge_accounting_client/models/vendor_credit.rb +3 -3
- data/lib/merge_accounting_client/models/vendor_credit_line.rb +33 -5
- data/lib/merge_accounting_client/version.rb +1 -1
- data/spec/api/accounts_api_spec.rb +2 -0
- data/spec/api/balance_sheets_api_spec.rb +2 -0
- data/spec/api/cash_flow_statements_api_spec.rb +2 -0
- data/spec/api/company_info_api_spec.rb +2 -0
- data/spec/api/contacts_api_spec.rb +2 -0
- data/spec/api/credit_notes_api_spec.rb +2 -0
- data/spec/api/expenses_api_spec.rb +2 -0
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/income_statements_api_spec.rb +2 -0
- data/spec/api/invoices_api_spec.rb +2 -0
- data/spec/api/items_api_spec.rb +2 -0
- data/spec/api/journal_entries_api_spec.rb +2 -0
- data/spec/api/payments_api_spec.rb +2 -0
- data/spec/api/purchase_orders_api_spec.rb +2 -0
- data/spec/api/tax_rates_api_spec.rb +2 -0
- data/spec/api/tracking_categories_api_spec.rb +2 -0
- data/spec/api/transactions_api_spec.rb +2 -0
- data/spec/api/vendor_credits_api_spec.rb +2 -0
- data/spec/models/expense_line_request_spec.rb +7 -1
- data/spec/models/expense_line_spec.rb +7 -1
- data/spec/models/invoice_line_item_request_spec.rb +6 -6
- data/spec/models/invoice_line_item_spec.rb +6 -6
- data/spec/models/journal_line_request_spec.rb +7 -1
- data/spec/models/journal_line_spec.rb +7 -1
- data/spec/models/purchase_order_line_item_request_spec.rb +6 -0
- data/spec/models/purchase_order_line_item_spec.rb +6 -0
- data/spec/models/transaction_line_item_spec.rb +6 -0
- data/spec/models/transaction_spec.rb +6 -0
- data/spec/models/vendor_credit_line_spec.rb +6 -0
- metadata +151 -151
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3e53603a4a6a726b9e780888679f7d0521b6825c2bd75440f5cf8fc2f009894
|
4
|
+
data.tar.gz: c755be7f844d05eb535aa60a2557c77fe1b4fa8991c9658601f8823c455dbfa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 864b334f6e2a65eaa680a61d3355591a89d17fb42c6844d6f9ec1b431742b64298b2abf170943488eec3ae388c6afe6273231f35020ad592d1e71c52844b10e2
|
7
|
+
data.tar.gz: ade8170ad924fb713554a6ceab5c677774cc97f5d6df05286def618cdee117ec4700336734c669d453191a5d2b4795525dfe7636e35096da0263ab35f399a647
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The unified API for building rich integrations with multiple Accounting & Financ
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 1.0.
|
10
|
+
- Package version: 1.0.7
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build merge_accounting_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./merge_accounting_client-1.0.
|
27
|
+
gem install ./merge_accounting_client-1.0.7.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./merge_accounting_client-1.0.
|
30
|
+
(for development, run `gem install --dev ./merge_accounting_client-1.0.7.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'merge_accounting_client', '~> 1.0.
|
36
|
+
gem 'merge_accounting_client', '~> 1.0.7'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/AccountsApi.md
CHANGED
@@ -117,6 +117,7 @@ opts = {
|
|
117
117
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
118
118
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
119
119
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
120
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
120
121
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
121
122
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
122
123
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -163,6 +164,7 @@ end
|
|
163
164
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
164
165
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
165
166
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
167
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
166
168
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
167
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
168
170
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -282,6 +284,7 @@ api_instance = MergeAccountingClient::AccountsApi.new
|
|
282
284
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
283
285
|
id = TODO # String |
|
284
286
|
opts = {
|
287
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
285
288
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
286
289
|
remote_fields: 'classification', # String | Deprecated. Use show_enum_origins.
|
287
290
|
show_enum_origins: 'classification' # String | Which fields should be returned in non-normalized form.
|
@@ -320,6 +323,7 @@ end
|
|
320
323
|
| ---- | ---- | ----------- | ----- |
|
321
324
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
322
325
|
| **id** | [**String**](.md) | | |
|
326
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
323
327
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
324
328
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
325
329
|
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
data/docs/BalanceSheetsApi.md
CHANGED
@@ -36,6 +36,7 @@ opts = {
|
|
36
36
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
37
37
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
38
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
39
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
40
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
42
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -80,6 +81,7 @@ end
|
|
80
81
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
81
82
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
82
83
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
84
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
83
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
84
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
85
87
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -126,6 +128,7 @@ api_instance = MergeAccountingClient::BalanceSheetsApi.new
|
|
126
128
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
127
129
|
id = TODO # String |
|
128
130
|
opts = {
|
131
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
129
132
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
130
133
|
}
|
131
134
|
|
@@ -162,6 +165,7 @@ end
|
|
162
165
|
| ---- | ---- | ----------- | ----- |
|
163
166
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
164
167
|
| **id** | [**String**](.md) | | |
|
168
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
165
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
166
170
|
|
167
171
|
### Return type
|
@@ -36,6 +36,7 @@ opts = {
|
|
36
36
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
37
37
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
38
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
39
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
40
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
42
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -80,6 +81,7 @@ end
|
|
80
81
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
81
82
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
82
83
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
84
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
83
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
84
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
85
87
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -126,6 +128,7 @@ api_instance = MergeAccountingClient::CashFlowStatementsApi.new
|
|
126
128
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
127
129
|
id = TODO # String |
|
128
130
|
opts = {
|
131
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
129
132
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
130
133
|
}
|
131
134
|
|
@@ -162,6 +165,7 @@ end
|
|
162
165
|
| ---- | ---- | ----------- | ----- |
|
163
166
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
164
167
|
| **id** | [**String**](.md) | | |
|
168
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
165
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
166
170
|
|
167
171
|
### Return type
|
data/docs/CompanyInfoApi.md
CHANGED
@@ -35,6 +35,7 @@ opts = {
|
|
35
35
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
36
36
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
|
+
expand: 'addresses', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
38
39
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
40
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
41
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -78,6 +79,7 @@ end
|
|
78
79
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
79
80
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
80
81
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
82
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
81
83
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
82
84
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
83
85
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -124,6 +126,7 @@ api_instance = MergeAccountingClient::CompanyInfoApi.new
|
|
124
126
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
125
127
|
id = TODO # String |
|
126
128
|
opts = {
|
129
|
+
expand: 'addresses', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
127
130
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
128
131
|
}
|
129
132
|
|
@@ -160,6 +163,7 @@ end
|
|
160
163
|
| ---- | ---- | ----------- | ----- |
|
161
164
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
162
165
|
| **id** | [**String**](.md) | | |
|
166
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
163
167
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
164
168
|
|
165
169
|
### Return type
|
data/docs/ContactsApi.md
CHANGED
@@ -117,6 +117,7 @@ opts = {
|
|
117
117
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
118
118
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
119
119
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
120
|
+
expand: 'addresses', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
120
121
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
121
122
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
122
123
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -163,6 +164,7 @@ end
|
|
163
164
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
164
165
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
165
166
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
167
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
166
168
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
167
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
168
170
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -282,6 +284,7 @@ api_instance = MergeAccountingClient::ContactsApi.new
|
|
282
284
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
283
285
|
id = TODO # String |
|
284
286
|
opts = {
|
287
|
+
expand: 'addresses', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
285
288
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
286
289
|
remote_fields: 'status', # String | Deprecated. Use show_enum_origins.
|
287
290
|
show_enum_origins: 'status' # String | Which fields should be returned in non-normalized form.
|
@@ -320,6 +323,7 @@ end
|
|
320
323
|
| ---- | ---- | ----------- | ----- |
|
321
324
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
322
325
|
| **id** | [**String**](.md) | | |
|
326
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
323
327
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
324
328
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
325
329
|
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
data/docs/CreditNote.md
CHANGED
@@ -37,7 +37,7 @@ instance = MergeAccountingClient::CreditNote.new(
|
|
37
37
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
38
38
|
total_amount: 50.0,
|
39
39
|
remaining_credit: 20.0,
|
40
|
-
line_items: [{"item":"0e3fd929-436c-4fd4-a48b-0c61f68d6178","name":"Basic Monthly","description":"prorated amount for items","quantity":1,"memo":"privNote","unit_price":"5.0","tax_rate":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","total_line_amount":"5.0","tracking_category":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","tracking_categories":["8d9fd929-436c-4fd4-a48b-0c61f68d6178","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"account":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5"}],
|
40
|
+
line_items: [{"item":"0e3fd929-436c-4fd4-a48b-0c61f68d6178","name":"Basic Monthly","description":"prorated amount for items","quantity":1,"memo":"privNote","unit_price":"5.0","tax_rate":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","total_line_amount":"5.0","tracking_category":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","tracking_categories":["8d9fd929-436c-4fd4-a48b-0c61f68d6178","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"account":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","remote_id":"121222"}],
|
41
41
|
currency: USD,
|
42
42
|
remote_created_at: 2020-03-31T00:00Z,
|
43
43
|
remote_updated_at: 2020-03-31T00:00Z,
|
data/docs/CreditNoteLineItem.md
CHANGED
@@ -36,7 +36,7 @@ instance = MergeAccountingClient::CreditNoteLineItem.new(
|
|
36
36
|
tracking_categories: ["8d9fd929-436c-4fd4-a48b-0c61f68d6178","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
37
37
|
account: 8d9fd929-436c-4fd4-a48b-0c61f68d6178,
|
38
38
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
39
|
-
remote_id:
|
39
|
+
remote_id: 121222
|
40
40
|
)
|
41
41
|
```
|
42
42
|
|
data/docs/CreditNotesApi.md
CHANGED
@@ -36,6 +36,7 @@ opts = {
|
|
36
36
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
37
37
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
38
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
|
+
expand: 'line_items', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
39
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
40
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
42
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -84,6 +85,7 @@ end
|
|
84
85
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
85
86
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
86
87
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
88
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
87
89
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
88
90
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
89
91
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -134,6 +136,7 @@ api_instance = MergeAccountingClient::CreditNotesApi.new
|
|
134
136
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
135
137
|
id = TODO # String |
|
136
138
|
opts = {
|
139
|
+
expand: 'line_items', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
137
140
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
138
141
|
remote_fields: 'status', # String | Deprecated. Use show_enum_origins.
|
139
142
|
show_enum_origins: 'status' # String | Which fields should be returned in non-normalized form.
|
@@ -172,6 +175,7 @@ end
|
|
172
175
|
| ---- | ---- | ----------- | ----- |
|
173
176
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
174
177
|
| **id** | [**String**](.md) | | |
|
178
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
175
179
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
176
180
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
177
181
|
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
data/docs/Expense.md
CHANGED
@@ -35,7 +35,7 @@ instance = MergeAccountingClient::Expense.new(
|
|
35
35
|
exchange_rate: 2.9,
|
36
36
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
37
37
|
memo: New employee supplies,
|
38
|
-
lines: [{"remote_id":"121222","net_amount":25.54,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","contact":"c640b80b-fac9-409f-aa19-1f9221aec445","description":"MacBook Pro"},{"remote_id":"121223","net_amount":10,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","description":"Desk Lamp"}],
|
38
|
+
lines: [{"remote_id":"121222","net_amount":25.54,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","contact":"c640b80b-fac9-409f-aa19-1f9221aec445","description":"MacBook Pro","exchange_rate":"2.9"},{"remote_id":"121223","net_amount":10,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","description":"Desk Lamp"}],
|
39
39
|
remote_was_deleted: null,
|
40
40
|
id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
|
41
41
|
remote_id: 088899,
|
data/docs/ExpenseLine.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
7
8
|
| **item** | **String** | The line's item. | [optional] |
|
8
9
|
| **net_amount** | **Float** | The line's net amount. | [optional] |
|
9
10
|
| **tracking_category** | **String** | | [optional] |
|
@@ -12,7 +13,7 @@
|
|
12
13
|
| **account** | **String** | The expense's payment account. | [optional] |
|
13
14
|
| **contact** | **String** | The expense's contact. | [optional] |
|
14
15
|
| **description** | **String** | The description of the item that was purchased by the company. | [optional] |
|
15
|
-
| **
|
16
|
+
| **exchange_rate** | **String** | The expense line item's exchange rate. | [optional] |
|
16
17
|
|
17
18
|
## Example
|
18
19
|
|
@@ -20,6 +21,7 @@
|
|
20
21
|
require 'merge_accounting_client'
|
21
22
|
|
22
23
|
instance = MergeAccountingClient::ExpenseLine.new(
|
24
|
+
remote_id: 121222,
|
23
25
|
item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d,
|
24
26
|
net_amount: 25.54,
|
25
27
|
tracking_category: b38c59b0-a9d7-4740-b1ee-5436c6751e3d,
|
@@ -28,7 +30,7 @@ instance = MergeAccountingClient::ExpenseLine.new(
|
|
28
30
|
account: 2a56344a-a491-11ec-b909-0242ac120002,
|
29
31
|
contact: c640b80b-fac9-409f-aa19-1f9221aec445,
|
30
32
|
description: MacBook Pro,
|
31
|
-
|
33
|
+
exchange_rate: 2.9
|
32
34
|
)
|
33
35
|
```
|
34
36
|
|
data/docs/ExpenseLineRequest.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
7
8
|
| **item** | **String** | The line's item. | [optional] |
|
8
9
|
| **net_amount** | **Float** | The line's net amount. | [optional] |
|
9
10
|
| **tracking_category** | **String** | | [optional] |
|
@@ -12,7 +13,7 @@
|
|
12
13
|
| **account** | **String** | The expense's payment account. | [optional] |
|
13
14
|
| **contact** | **String** | The expense's contact. | [optional] |
|
14
15
|
| **description** | **String** | The description of the item that was purchased by the company. | [optional] |
|
15
|
-
| **
|
16
|
+
| **exchange_rate** | **String** | The expense line item's exchange rate. | [optional] |
|
16
17
|
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
17
18
|
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
18
19
|
|
@@ -22,6 +23,7 @@
|
|
22
23
|
require 'merge_accounting_client'
|
23
24
|
|
24
25
|
instance = MergeAccountingClient::ExpenseLineRequest.new(
|
26
|
+
remote_id: 121222,
|
25
27
|
item: b38c59b0-a9d7-4740-b1ee-5436c6751e3d,
|
26
28
|
net_amount: 25.54,
|
27
29
|
tracking_category: b38c59b0-a9d7-4740-b1ee-5436c6751e3d,
|
@@ -30,7 +32,7 @@ instance = MergeAccountingClient::ExpenseLineRequest.new(
|
|
30
32
|
account: 2a56344a-a491-11ec-b909-0242ac120002,
|
31
33
|
contact: c640b80b-fac9-409f-aa19-1f9221aec445,
|
32
34
|
description: MacBook Pro,
|
33
|
-
|
35
|
+
exchange_rate: 2.9,
|
34
36
|
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
35
37
|
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
36
38
|
)
|
data/docs/ExpenseRequest.md
CHANGED
@@ -30,7 +30,7 @@ instance = MergeAccountingClient::ExpenseRequest.new(
|
|
30
30
|
exchange_rate: 2.9,
|
31
31
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
32
32
|
memo: New employee supplies,
|
33
|
-
lines: [{"remote_id":"121222","net_amount":25.54,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","contact":"c640b80b-fac9-409f-aa19-1f9221aec445","description":"MacBook Pro"},{"remote_id":"121223","net_amount":10,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","description":"Desk Lamp"}],
|
33
|
+
lines: [{"remote_id":"121222","net_amount":25.54,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","contact":"c640b80b-fac9-409f-aa19-1f9221aec445","description":"MacBook Pro","exchange_rate":"2.9"},{"remote_id":"121223","net_amount":10,"tracking_category":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","tracking_categories":["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"item":"b38c59b0-a9d7-4740-b1ee-5436c6751e3d","account":"2a56344a-a491-11ec-b909-0242ac120002","description":"Desk Lamp"}],
|
34
34
|
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
35
35
|
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
36
36
|
)
|
data/docs/ExpensesApi.md
CHANGED
@@ -117,6 +117,7 @@ opts = {
|
|
117
117
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
118
118
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
119
119
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
120
|
+
expand: 'account', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
120
121
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
121
122
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
122
123
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -163,6 +164,7 @@ end
|
|
163
164
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
164
165
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
165
166
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
167
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
166
168
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
167
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
168
170
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -282,6 +284,7 @@ api_instance = MergeAccountingClient::ExpensesApi.new
|
|
282
284
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
283
285
|
id = TODO # String |
|
284
286
|
opts = {
|
287
|
+
expand: 'account', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
285
288
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
286
289
|
}
|
287
290
|
|
@@ -318,6 +321,7 @@ end
|
|
318
321
|
| ---- | ---- | ----------- | ----- |
|
319
322
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
320
323
|
| **id** | [**String**](.md) | | |
|
324
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
321
325
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
322
326
|
|
323
327
|
### Return type
|
data/docs/ForceResyncApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.merge.dev/api/accounting/v1*
|
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
Force re-sync of all models. This is
|
16
|
+
Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available for monthly and quarterly sync frequency customers on the Core, Professional, or Enterprise plans.
|
17
17
|
|
18
18
|
### Examples
|
19
19
|
|
data/docs/IncomeStatementsApi.md
CHANGED
@@ -36,6 +36,7 @@ opts = {
|
|
36
36
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
37
37
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
38
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
39
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
40
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
42
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
@@ -80,6 +81,7 @@ end
|
|
80
81
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
81
82
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
82
83
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
84
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
83
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
84
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
85
87
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
@@ -126,6 +128,7 @@ api_instance = MergeAccountingClient::IncomeStatementsApi.new
|
|
126
128
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
127
129
|
id = TODO # String |
|
128
130
|
opts = {
|
131
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
129
132
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
130
133
|
}
|
131
134
|
|
@@ -162,6 +165,7 @@ end
|
|
162
165
|
| ---- | ---- | ----------- | ----- |
|
163
166
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
164
167
|
| **id** | [**String**](.md) | | |
|
168
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
165
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
166
170
|
|
167
171
|
### Return type
|
data/docs/Invoice.md
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
| **balance** | **Float** | The invoice's remaining balance. | [optional] |
|
22
22
|
| **remote_updated_at** | **Time** | When the third party's invoice entry was updated. | [optional] |
|
23
23
|
| **payments** | **Array<String>** | Array of `Payment` object IDs. | [optional] |
|
24
|
-
| **line_items** | [**Array<InvoiceLineItem>**](InvoiceLineItem.md) | | [optional] |
|
24
|
+
| **line_items** | [**Array<InvoiceLineItem>**](InvoiceLineItem.md) | | [optional][readonly] |
|
25
25
|
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
26
26
|
| **id** | **String** | | [optional][readonly] |
|
27
27
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
data/docs/InvoiceLineItem.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
7
8
|
| **description** | **String** | The line item's description. | [optional] |
|
8
9
|
| **unit_price** | **Float** | The line item's unit price. | [optional] |
|
9
10
|
| **quantity** | **Float** | The line item's quantity. | [optional] |
|
@@ -16,7 +17,6 @@
|
|
16
17
|
| **tracking_categories** | **Array<String>** | | [optional] |
|
17
18
|
| **company** | **String** | The company the line item belongs to. | [optional] |
|
18
19
|
| **id** | **String** | | [optional][readonly] |
|
19
|
-
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
20
20
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
21
|
|
22
22
|
## Example
|
@@ -25,6 +25,7 @@
|
|
25
25
|
require 'merge_accounting_client'
|
26
26
|
|
27
27
|
instance = MergeAccountingClient::InvoiceLineItem.new(
|
28
|
+
remote_id: 8765432,
|
28
29
|
description: Pickleball lessons,
|
29
30
|
unit_price: 50.0,
|
30
31
|
quantity: 1.0,
|
@@ -37,7 +38,6 @@ instance = MergeAccountingClient::InvoiceLineItem.new(
|
|
37
38
|
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
38
39
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
39
40
|
id: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8,
|
40
|
-
remote_id: 8765432,
|
41
41
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
42
42
|
)
|
43
43
|
```
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
7
8
|
| **description** | **String** | The line item's description. | [optional] |
|
8
9
|
| **unit_price** | **Float** | The line item's unit price. | [optional] |
|
9
10
|
| **quantity** | **Float** | The line item's quantity. | [optional] |
|
@@ -15,7 +16,6 @@
|
|
15
16
|
| **tracking_category** | **String** | | [optional] |
|
16
17
|
| **tracking_categories** | **Array<String>** | | [optional] |
|
17
18
|
| **company** | **String** | The company the line item belongs to. | [optional] |
|
18
|
-
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
19
19
|
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
20
20
|
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
21
21
|
|
@@ -25,6 +25,7 @@
|
|
25
25
|
require 'merge_accounting_client'
|
26
26
|
|
27
27
|
instance = MergeAccountingClient::InvoiceLineItemRequest.new(
|
28
|
+
remote_id: 8765432,
|
28
29
|
description: Pickleball lessons,
|
29
30
|
unit_price: 50.0,
|
30
31
|
quantity: 1.0,
|
@@ -36,7 +37,6 @@ instance = MergeAccountingClient::InvoiceLineItemRequest.new(
|
|
36
37
|
tracking_category: b38c59b0-a9d7-4740-b1ee-5436c6751e3d,
|
37
38
|
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
38
39
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
39
|
-
remote_id: 8765432,
|
40
40
|
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
41
41
|
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
42
42
|
)
|
data/docs/InvoiceRequest.md
CHANGED
@@ -30,25 +30,25 @@
|
|
30
30
|
require 'merge_accounting_client'
|
31
31
|
|
32
32
|
instance = MergeAccountingClient::InvoiceRequest.new(
|
33
|
-
type:
|
34
|
-
contact:
|
35
|
-
number:
|
36
|
-
issue_date:
|
37
|
-
due_date:
|
38
|
-
paid_on_date:
|
39
|
-
memo:
|
40
|
-
company:
|
41
|
-
currency:
|
42
|
-
exchange_rate:
|
33
|
+
type: null,
|
34
|
+
contact: null,
|
35
|
+
number: null,
|
36
|
+
issue_date: null,
|
37
|
+
due_date: null,
|
38
|
+
paid_on_date: null,
|
39
|
+
memo: null,
|
40
|
+
company: null,
|
41
|
+
currency: null,
|
42
|
+
exchange_rate: null,
|
43
43
|
total_discount: null,
|
44
|
-
sub_total:
|
45
|
-
total_tax_amount:
|
46
|
-
total_amount:
|
47
|
-
balance:
|
48
|
-
payments:
|
49
|
-
line_items:
|
50
|
-
integration_params:
|
51
|
-
linked_account_params:
|
44
|
+
sub_total: null,
|
45
|
+
total_tax_amount: null,
|
46
|
+
total_amount: null,
|
47
|
+
balance: null,
|
48
|
+
payments: null,
|
49
|
+
line_items: null,
|
50
|
+
integration_params: null,
|
51
|
+
linked_account_params: null
|
52
52
|
)
|
53
53
|
```
|
54
54
|
|
data/docs/InvoicesApi.md
CHANGED
@@ -118,6 +118,7 @@ opts = {
|
|
118
118
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
119
119
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
120
120
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
121
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
121
122
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
122
123
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
123
124
|
issue_date_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
@@ -168,6 +169,7 @@ end
|
|
168
169
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
169
170
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
170
171
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
172
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
171
173
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
172
174
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
173
175
|
| **issue_date_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
@@ -290,6 +292,7 @@ api_instance = MergeAccountingClient::InvoicesApi.new
|
|
290
292
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
291
293
|
id = TODO # String |
|
292
294
|
opts = {
|
295
|
+
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
293
296
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
294
297
|
remote_fields: 'type', # String | Deprecated. Use show_enum_origins.
|
295
298
|
show_enum_origins: 'type' # String | Which fields should be returned in non-normalized form.
|
@@ -328,6 +331,7 @@ end
|
|
328
331
|
| ---- | ---- | ----------- | ----- |
|
329
332
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
330
333
|
| **id** | [**String**](.md) | | |
|
334
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
331
335
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
332
336
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
333
337
|
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|