merge_accounting_client 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +224 -229
  3. data/docs/CreditNote.md +1 -1
  4. data/docs/CreditNoteLineItem.md +1 -1
  5. data/docs/Expense.md +1 -1
  6. data/docs/ExpenseLine.md +4 -2
  7. data/docs/ExpenseLineRequest.md +4 -2
  8. data/docs/ExpenseRequest.md +1 -1
  9. data/docs/Invoice.md +1 -1
  10. data/docs/InvoiceLineItem.md +2 -2
  11. data/docs/InvoiceLineItemRequest.md +2 -2
  12. data/docs/InvoiceRequest.md +18 -18
  13. data/docs/JournalEntry.md +2 -2
  14. data/docs/JournalEntryRequest.md +10 -10
  15. data/docs/JournalLine.md +4 -2
  16. data/docs/JournalLineRequest.md +4 -2
  17. data/docs/PurchaseOrder.md +2 -2
  18. data/docs/PurchaseOrderLineItem.md +2 -0
  19. data/docs/PurchaseOrderLineItemRequest.md +2 -0
  20. data/docs/PurchaseOrderRequest.md +12 -12
  21. data/docs/SyncStatusApi.md +11 -15
  22. data/docs/Transaction.md +4 -2
  23. data/docs/TransactionLineItem.md +2 -0
  24. data/docs/VendorCredit.md +2 -2
  25. data/docs/VendorCreditLine.md +3 -1
  26. data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
  27. data/lib/merge_accounting_client/api/transactions_api.rb +2 -2
  28. data/lib/merge_accounting_client/models/account_integration.rb +3 -3
  29. data/lib/merge_accounting_client/models/credit_note_line_item.rb +9 -9
  30. data/lib/merge_accounting_client/models/expense.rb +3 -3
  31. data/lib/merge_accounting_client/models/expense_line.rb +37 -9
  32. data/lib/merge_accounting_client/models/expense_line_request.rb +37 -9
  33. data/lib/merge_accounting_client/models/expense_request.rb +3 -3
  34. data/lib/merge_accounting_client/models/invoice.rb +3 -3
  35. data/lib/merge_accounting_client/models/invoice_line_item.rb +15 -15
  36. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +15 -15
  37. data/lib/merge_accounting_client/models/invoice_request.rb +3 -3
  38. data/lib/merge_accounting_client/models/journal_entry.rb +3 -3
  39. data/lib/merge_accounting_client/models/journal_entry_request.rb +3 -3
  40. data/lib/merge_accounting_client/models/journal_line.rb +37 -9
  41. data/lib/merge_accounting_client/models/journal_line_request.rb +37 -9
  42. data/lib/merge_accounting_client/models/payment.rb +3 -3
  43. data/lib/merge_accounting_client/models/payment_request.rb +3 -3
  44. data/lib/merge_accounting_client/models/purchase_order.rb +3 -3
  45. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +21 -10
  46. data/lib/merge_accounting_client/models/purchase_order_line_item_request.rb +21 -10
  47. data/lib/merge_accounting_client/models/purchase_order_request.rb +3 -3
  48. data/lib/merge_accounting_client/models/sync_status_status_enum.rb +2 -1
  49. data/lib/merge_accounting_client/models/transaction.rb +18 -7
  50. data/lib/merge_accounting_client/models/transaction_line_item.rb +24 -13
  51. data/lib/merge_accounting_client/models/vendor_credit.rb +3 -3
  52. data/lib/merge_accounting_client/models/vendor_credit_line.rb +33 -5
  53. data/lib/merge_accounting_client/version.rb +1 -1
  54. data/spec/api/sync_status_api_spec.rb +1 -1
  55. data/spec/models/expense_line_request_spec.rb +7 -1
  56. data/spec/models/expense_line_spec.rb +7 -1
  57. data/spec/models/invoice_line_item_request_spec.rb +6 -6
  58. data/spec/models/invoice_line_item_spec.rb +6 -6
  59. data/spec/models/journal_line_request_spec.rb +7 -1
  60. data/spec/models/journal_line_spec.rb +7 -1
  61. data/spec/models/purchase_order_line_item_request_spec.rb +6 -0
  62. data/spec/models/purchase_order_line_item_spec.rb +6 -0
  63. data/spec/models/transaction_line_item_spec.rb +6 -0
  64. data/spec/models/transaction_spec.rb +6 -0
  65. data/spec/models/vendor_credit_line_spec.rb +6 -0
  66. metadata +146 -146
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
- | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
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
- remote_id: 121222
33
+ exchange_rate: 2.9
32
34
  )
33
35
  ```
34
36
 
@@ -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
- | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
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
- remote_id: 121222,
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
  )
@@ -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/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] |
@@ -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
  )
@@ -30,25 +30,25 @@
30
30
  require 'merge_accounting_client'
31
31
 
32
32
  instance = MergeAccountingClient::InvoiceRequest.new(
33
- type: ACCOUNTS_RECEIVABLE,
34
- contact: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8,
35
- number: AIQ12546,
36
- issue_date: 2020-03-31T00:00Z,
37
- due_date: 2020-04-15T00:00Z,
38
- paid_on_date: 2020-04-01T00:00Z,
39
- memo: Weekly Payment,
40
- company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
41
- currency: USD,
42
- exchange_rate: 2.9,
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: 100,
45
- total_tax_amount: 5,
46
- total_amount: 105,
47
- balance: 105,
48
- payments: ["b26fd49a-cbae-470a-a8f8-bcbc119e0390"],
49
- line_items: [{"id":"022a2bef-57e5-4def-8ed2-7c41bd9a5ed8","remote_id":"8765432","description":"Pickleball lessons","unit_price":50.0,"quantity":1.0,"total_amount":50.0,"currency":"USD","exchange_rate":"2.9","item":"5b3c1341-a20f-4e51-b72c-f3830a16c97b","account":"cd0f32d4-a493-11ec-b909-0242ac120002","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","remote_data":[{"path":"/actions","data":["Varies by platform"]}]}],
50
- integration_params: {"unique_integration_field":"unique_integration_field_value"},
51
- linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
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/JournalEntry.md CHANGED
@@ -12,7 +12,7 @@
12
12
  | **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The journal's currency. * `XUA` - ADB Unit of Account * `AFN` - Afghan Afghani * `AFA` - Afghan Afghani (1927–2002) * `ALL` - Albanian Lek * `ALK` - Albanian Lek (1946–1965) * `DZD` - Algerian Dinar * `ADP` - Andorran Peseta * `AOA` - Angolan Kwanza * `AOK` - Angolan Kwanza (1977–1991) * `AON` - Angolan New Kwanza (1990–2000) * `AOR` - Angolan Readjusted Kwanza (1995–1999) * `ARA` - Argentine Austral * `ARS` - Argentine Peso * `ARM` - Argentine Peso (1881–1970) * `ARP` - Argentine Peso (1983–1985) * `ARL` - Argentine Peso Ley (1970–1983) * `AMD` - Armenian Dram * `AWG` - Aruban Florin * `AUD` - Australian Dollar * `ATS` - Austrian Schilling * `AZN` - Azerbaijani Manat * `AZM` - Azerbaijani Manat (1993–2006) * `BSD` - Bahamian Dollar * `BHD` - Bahraini Dinar * `BDT` - Bangladeshi Taka * `BBD` - Barbadian Dollar * `BYN` - Belarusian Ruble * `BYB` - Belarusian Ruble (1994–1999) * `BYR` - Belarusian Ruble (2000–2016) * `BEF` - Belgian Franc * `BEC` - Belgian Franc (convertible) * `BEL` - Belgian Franc (financial) * `BZD` - Belize Dollar * `BMD` - Bermudan Dollar * `BTN` - Bhutanese Ngultrum * `BOB` - Bolivian Boliviano * `BOL` - Bolivian Boliviano (1863–1963) * `BOV` - Bolivian Mvdol * `BOP` - Bolivian Peso * `BAM` - Bosnia-Herzegovina Convertible Mark * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) * `BWP` - Botswanan Pula * `BRC` - Brazilian Cruzado (1986–1989) * `BRZ` - Brazilian Cruzeiro (1942–1967) * `BRE` - Brazilian Cruzeiro (1990–1993) * `BRR` - Brazilian Cruzeiro (1993–1994) * `BRN` - Brazilian New Cruzado (1989–1990) * `BRB` - Brazilian New Cruzeiro (1967–1986) * `BRL` - Brazilian Real * `GBP` - British Pound * `BND` - Brunei Dollar * `BGL` - Bulgarian Hard Lev * `BGN` - Bulgarian Lev * `BGO` - Bulgarian Lev (1879–1952) * `BGM` - Bulgarian Socialist Lev * `BUK` - Burmese Kyat * `BIF` - Burundian Franc * `XPF` - CFP Franc * `KHR` - Cambodian Riel * `CAD` - Canadian Dollar * `CVE` - Cape Verdean Escudo * `KYD` - Cayman Islands Dollar * `XAF` - Central African CFA Franc * `CLE` - Chilean Escudo * `CLP` - Chilean Peso * `CLF` - Chilean Unit of Account (UF) * `CNX` - Chinese People’s Bank Dollar * `CNY` - Chinese Yuan * `CNH` - Chinese Yuan (offshore) * `COP` - Colombian Peso * `COU` - Colombian Real Value Unit * `KMF` - Comorian Franc * `CDF` - Congolese Franc * `CRC` - Costa Rican Colón * `HRD` - Croatian Dinar * `HRK` - Croatian Kuna * `CUC` - Cuban Convertible Peso * `CUP` - Cuban Peso * `CYP` - Cypriot Pound * `CZK` - Czech Koruna * `CSK` - Czechoslovak Hard Koruna * `DKK` - Danish Krone * `DJF` - Djiboutian Franc * `DOP` - Dominican Peso * `NLG` - Dutch Guilder * `XCD` - East Caribbean Dollar * `DDM` - East German Mark * `ECS` - Ecuadorian Sucre * `ECV` - Ecuadorian Unit of Constant Value * `EGP` - Egyptian Pound * `GQE` - Equatorial Guinean Ekwele * `ERN` - Eritrean Nakfa * `EEK` - Estonian Kroon * `ETB` - Ethiopian Birr * `EUR` - Euro * `XBA` - European Composite Unit * `XEU` - European Currency Unit * `XBB` - European Monetary Unit * `XBC` - European Unit of Account (XBC) * `XBD` - European Unit of Account (XBD) * `FKP` - Falkland Islands Pound * `FJD` - Fijian Dollar * `FIM` - Finnish Markka * `FRF` - French Franc * `XFO` - French Gold Franc * `XFU` - French UIC-Franc * `GMD` - Gambian Dalasi * `GEK` - Georgian Kupon Larit * `GEL` - Georgian Lari * `DEM` - German Mark * `GHS` - Ghanaian Cedi * `GHC` - Ghanaian Cedi (1979–2007) * `GIP` - Gibraltar Pound * `XAU` - Gold * `GRD` - Greek Drachma * `GTQ` - Guatemalan Quetzal * `GWP` - Guinea-Bissau Peso * `GNF` - Guinean Franc * `GNS` - Guinean Syli * `GYD` - Guyanaese Dollar * `HTG` - Haitian Gourde * `HNL` - Honduran Lempira * `HKD` - Hong Kong Dollar * `HUF` - Hungarian Forint * `IMP` - IMP * `ISK` - Icelandic Króna * `ISJ` - Icelandic Króna (1918–1981) * `INR` - Indian Rupee * `IDR` - Indonesian Rupiah * `IRR` - Iranian Rial * `IQD` - Iraqi Dinar * `IEP` - Irish Pound * `ILS` - Israeli New Shekel * `ILP` - Israeli Pound * `ILR` - Israeli Shekel (1980–1985) * `ITL` - Italian Lira * `JMD` - Jamaican Dollar * `JPY` - Japanese Yen * `JOD` - Jordanian Dinar * `KZT` - Kazakhstani Tenge * `KES` - Kenyan Shilling * `KWD` - Kuwaiti Dinar * `KGS` - Kyrgystani Som * `LAK` - Laotian Kip * `LVL` - Latvian Lats * `LVR` - Latvian Ruble * `LBP` - Lebanese Pound * `LSL` - Lesotho Loti * `LRD` - Liberian Dollar * `LYD` - Libyan Dinar * `LTL` - Lithuanian Litas * `LTT` - Lithuanian Talonas * `LUL` - Luxembourg Financial Franc * `LUC` - Luxembourgian Convertible Franc * `LUF` - Luxembourgian Franc * `MOP` - Macanese Pataca * `MKD` - Macedonian Denar * `MKN` - Macedonian Denar (1992–1993) * `MGA` - Malagasy Ariary * `MGF` - Malagasy Franc * `MWK` - Malawian Kwacha * `MYR` - Malaysian Ringgit * `MVR` - Maldivian Rufiyaa * `MVP` - Maldivian Rupee (1947–1981) * `MLF` - Malian Franc * `MTL` - Maltese Lira * `MTP` - Maltese Pound * `MRU` - Mauritanian Ouguiya * `MRO` - Mauritanian Ouguiya (1973–2017) * `MUR` - Mauritian Rupee * `MXV` - Mexican Investment Unit * `MXN` - Mexican Peso * `MXP` - Mexican Silver Peso (1861–1992) * `MDC` - Moldovan Cupon * `MDL` - Moldovan Leu * `MCF` - Monegasque Franc * `MNT` - Mongolian Tugrik * `MAD` - Moroccan Dirham * `MAF` - Moroccan Franc * `MZE` - Mozambican Escudo * `MZN` - Mozambican Metical * `MZM` - Mozambican Metical (1980–2006) * `MMK` - Myanmar Kyat * `NAD` - Namibian Dollar * `NPR` - Nepalese Rupee * `ANG` - Netherlands Antillean Guilder * `TWD` - New Taiwan Dollar * `NZD` - New Zealand Dollar * `NIO` - Nicaraguan Córdoba * `NIC` - Nicaraguan Córdoba (1988–1991) * `NGN` - Nigerian Naira * `KPW` - North Korean Won * `NOK` - Norwegian Krone * `OMR` - Omani Rial * `PKR` - Pakistani Rupee * `XPD` - Palladium * `PAB` - Panamanian Balboa * `PGK` - Papua New Guinean Kina * `PYG` - Paraguayan Guarani * `PEI` - Peruvian Inti * `PEN` - Peruvian Sol * `PES` - Peruvian Sol (1863–1965) * `PHP` - Philippine Peso * `XPT` - Platinum * `PLN` - Polish Zloty * `PLZ` - Polish Zloty (1950–1995) * `PTE` - Portuguese Escudo * `GWE` - Portuguese Guinea Escudo * `QAR` - Qatari Rial * `XRE` - RINET Funds * `RHD` - Rhodesian Dollar * `RON` - Romanian Leu * `ROL` - Romanian Leu (1952–2006) * `RUB` - Russian Ruble * `RUR` - Russian Ruble (1991–1998) * `RWF` - Rwandan Franc * `SVC` - Salvadoran Colón * `WST` - Samoan Tala * `SAR` - Saudi Riyal * `RSD` - Serbian Dinar * `CSD` - Serbian Dinar (2002–2006) * `SCR` - Seychellois Rupee * `SLL` - Sierra Leonean Leone * `XAG` - Silver * `SGD` - Singapore Dollar * `SKK` - Slovak Koruna * `SIT` - Slovenian Tolar * `SBD` - Solomon Islands Dollar * `SOS` - Somali Shilling * `ZAR` - South African Rand * `ZAL` - South African Rand (financial) * `KRH` - South Korean Hwan (1953–1962) * `KRW` - South Korean Won * `KRO` - South Korean Won (1945–1953) * `SSP` - South Sudanese Pound * `SUR` - Soviet Rouble * `ESP` - Spanish Peseta * `ESA` - Spanish Peseta (A account) * `ESB` - Spanish Peseta (convertible account) * `XDR` - Special Drawing Rights * `LKR` - Sri Lankan Rupee * `SHP` - St. Helena Pound * `XSU` - Sucre * `SDD` - Sudanese Dinar (1992–2007) * `SDG` - Sudanese Pound * `SDP` - Sudanese Pound (1957–1998) * `SRD` - Surinamese Dollar * `SRG` - Surinamese Guilder * `SZL` - Swazi Lilangeni * `SEK` - Swedish Krona * `CHF` - Swiss Franc * `SYP` - Syrian Pound * `STN` - São Tomé & Príncipe Dobra * `STD` - São Tomé & Príncipe Dobra (1977–2017) * `TVD` - TVD * `TJR` - Tajikistani Ruble * `TJS` - Tajikistani Somoni * `TZS` - Tanzanian Shilling * `XTS` - Testing Currency Code * `THB` - Thai Baht * `XXX` - The codes assigned for transactions where no currency is involved * `TPE` - Timorese Escudo * `TOP` - Tongan Paʻanga * `TTD` - Trinidad & Tobago Dollar * `TND` - Tunisian Dinar * `TRY` - Turkish Lira * `TRL` - Turkish Lira (1922–2005) * `TMT` - Turkmenistani Manat * `TMM` - Turkmenistani Manat (1993–2009) * `USD` - US Dollar * `USN` - US Dollar (Next day) * `USS` - US Dollar (Same day) * `UGX` - Ugandan Shilling * `UGS` - Ugandan Shilling (1966–1987) * `UAH` - Ukrainian Hryvnia * `UAK` - Ukrainian Karbovanets * `AED` - United Arab Emirates Dirham * `UYW` - Uruguayan Nominal Wage Index Unit * `UYU` - Uruguayan Peso * `UYP` - Uruguayan Peso (1975–1993) * `UYI` - Uruguayan Peso (Indexed Units) * `UZS` - Uzbekistani Som * `VUV` - Vanuatu Vatu * `VES` - Venezuelan Bolívar * `VEB` - Venezuelan Bolívar (1871–2008) * `VEF` - Venezuelan Bolívar (2008–2018) * `VND` - Vietnamese Dong * `VNN` - Vietnamese Dong (1978–1985) * `CHE` - WIR Euro * `CHW` - WIR Franc * `XOF` - West African CFA Franc * `YDD` - Yemeni Dinar * `YER` - Yemeni Rial * `YUN` - Yugoslavian Convertible Dinar (1990–1992) * `YUD` - Yugoslavian Hard Dinar (1966–1990) * `YUM` - Yugoslavian New Dinar (1994–2002) * `YUR` - Yugoslavian Reformed Dinar (1992–1993) * `ZWN` - ZWN * `ZRN` - Zairean New Zaire (1993–1998) * `ZRZ` - Zairean Zaire (1971–1993) * `ZMW` - Zambian Kwacha * `ZMK` - Zambian Kwacha (1968–2012) * `ZWD` - Zimbabwean Dollar (1980–2008) * `ZWR` - Zimbabwean Dollar (2008) * `ZWL` - Zimbabwean Dollar (2009) | [optional] |
13
13
  | **exchange_rate** | **String** | The journal entry's exchange rate. | [optional] |
14
14
  | **company** | **String** | The company the journal entry belongs to. | [optional] |
15
- | **lines** | [**Array<JournalLine>**](JournalLine.md) | | [optional] |
15
+ | **lines** | [**Array<JournalLine>**](JournalLine.md) | | [optional][readonly] |
16
16
  | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
17
17
  | **posting_status** | [**PostingStatusEnum**](PostingStatusEnum.md) | The journal's posting status. * `UNPOSTED` - UNPOSTED * `POSTED` - POSTED | [optional] |
18
18
  | **id** | **String** | | [optional][readonly] |
@@ -34,7 +34,7 @@ instance = MergeAccountingClient::JournalEntry.new(
34
34
  currency: USD,
35
35
  exchange_rate: 2.9,
36
36
  company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
37
- lines: [{"remote_id":"121222","account":"9d892439-5fab-4dbb-8bd8-34f7f96c7912","net_amount":25.54,"tracking_category":"d25d609b-945f-4762-b55a-1c8fb220c43c","tracking_categories":["d25d609b-945f-4762-b55a-1c8fb220c43c","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"contact":"d2d5ea3c-b032-11ec-b909-0242ac120002","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","description":"Cash payment for lunch"},{"remote_id":"121223","account":"f963f34d-3d2f-4f77-b557-cf36bc7e6498","net_amount":10.0}],
37
+ lines: [{"remote_id":"121222","account":"9d892439-5fab-4dbb-8bd8-34f7f96c7912","net_amount":25.54,"tracking_category":"d25d609b-945f-4762-b55a-1c8fb220c43c","tracking_categories":["d25d609b-945f-4762-b55a-1c8fb220c43c","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"contact":"d2d5ea3c-b032-11ec-b909-0242ac120002","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","description":"Cash payment for lunch","exchange_rate":"2.9"},{"remote_id":"121223","account":"f963f34d-3d2f-4f77-b557-cf36bc7e6498","net_amount":10.0}],
38
38
  remote_was_deleted: null,
39
39
  posting_status: POSTED,
40
40
  id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
@@ -21,16 +21,16 @@
21
21
  require 'merge_accounting_client'
22
22
 
23
23
  instance = MergeAccountingClient::JournalEntryRequest.new(
24
- transaction_date: 2020-03-31T00:00Z,
25
- payments: ["b26fd49a-cbae-470a-a8f8-bcbc119e0390"],
26
- memo: Weekly Payment,
27
- currency: USD,
28
- exchange_rate: 2.9,
29
- company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
30
- lines: [{"remote_id":"121222","account":"9d892439-5fab-4dbb-8bd8-34f7f96c7912","net_amount":25.54,"tracking_category":"d25d609b-945f-4762-b55a-1c8fb220c43c","tracking_categories":["d25d609b-945f-4762-b55a-1c8fb220c43c","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"contact":"d2d5ea3c-b032-11ec-b909-0242ac120002","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5","description":"Cash payment for lunch"},{"remote_id":"121223","account":"f963f34d-3d2f-4f77-b557-cf36bc7e6498","net_amount":10.0}],
31
- posting_status: POSTED,
32
- integration_params: {"unique_integration_field":"unique_integration_field_value"},
33
- linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
24
+ transaction_date: null,
25
+ payments: null,
26
+ memo: null,
27
+ currency: null,
28
+ exchange_rate: null,
29
+ company: null,
30
+ lines: null,
31
+ posting_status: null,
32
+ integration_params: null,
33
+ linked_account_params: null
34
34
  )
35
35
  ```
36
36
 
data/docs/JournalLine.md CHANGED
@@ -4,13 +4,14 @@
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
  | **account** | **String** | | [optional] |
8
9
  | **net_amount** | **Float** | The value of the line item including taxes and other fees. | [optional] |
9
10
  | **tracking_category** | **String** | | [optional] |
10
11
  | **tracking_categories** | **Array<String>** | | [optional] |
11
12
  | **contact** | **String** | | [optional] |
12
13
  | **description** | **String** | The line's description. | [optional] |
13
- | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
14
+ | **exchange_rate** | **String** | The journal line item's exchange rate. | [optional] |
14
15
 
15
16
  ## Example
16
17
 
@@ -18,13 +19,14 @@
18
19
  require 'merge_accounting_client'
19
20
 
20
21
  instance = MergeAccountingClient::JournalLine.new(
22
+ remote_id: 121222,
21
23
  account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912,
22
24
  net_amount: 25.54,
23
25
  tracking_category: d25d609b-945f-4762-b55a-1c8fb220c43c,
24
26
  tracking_categories: ["d25d609b-945f-4762-b55a-1c8fb220c43c","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
25
27
  contact: d2d5ea3c-b032-11ec-b909-0242ac120002,
26
28
  description: Cash payment for lunch,
27
- remote_id: 121222
29
+ exchange_rate: 2.9
28
30
  )
29
31
  ```
30
32
 
@@ -4,13 +4,14 @@
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
  | **account** | **String** | | [optional] |
8
9
  | **net_amount** | **Float** | The value of the line item including taxes and other fees. | [optional] |
9
10
  | **tracking_category** | **String** | | [optional] |
10
11
  | **tracking_categories** | **Array<String>** | | [optional] |
11
12
  | **contact** | **String** | | [optional] |
12
13
  | **description** | **String** | The line's description. | [optional] |
13
- | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
14
+ | **exchange_rate** | **String** | The journal line item's exchange rate. | [optional] |
14
15
  | **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
15
16
  | **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
16
17
 
@@ -20,13 +21,14 @@
20
21
  require 'merge_accounting_client'
21
22
 
22
23
  instance = MergeAccountingClient::JournalLineRequest.new(
24
+ remote_id: 121222,
23
25
  account: 9d892439-5fab-4dbb-8bd8-34f7f96c7912,
24
26
  net_amount: 25.54,
25
27
  tracking_category: d25d609b-945f-4762-b55a-1c8fb220c43c,
26
28
  tracking_categories: ["d25d609b-945f-4762-b55a-1c8fb220c43c","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
27
29
  contact: d2d5ea3c-b032-11ec-b909-0242ac120002,
28
30
  description: Cash payment for lunch,
29
- remote_id: 121222,
31
+ exchange_rate: 2.9,
30
32
  integration_params: {"unique_integration_field":"unique_integration_field_value"},
31
33
  linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
32
34
  )
@@ -15,7 +15,7 @@
15
15
  | **total_amount** | **Float** | The purchase order's total amount. | [optional] |
16
16
  | **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The purchase order's currency. * `XUA` - ADB Unit of Account * `AFN` - Afghan Afghani * `AFA` - Afghan Afghani (1927–2002) * `ALL` - Albanian Lek * `ALK` - Albanian Lek (1946–1965) * `DZD` - Algerian Dinar * `ADP` - Andorran Peseta * `AOA` - Angolan Kwanza * `AOK` - Angolan Kwanza (1977–1991) * `AON` - Angolan New Kwanza (1990–2000) * `AOR` - Angolan Readjusted Kwanza (1995–1999) * `ARA` - Argentine Austral * `ARS` - Argentine Peso * `ARM` - Argentine Peso (1881–1970) * `ARP` - Argentine Peso (1983–1985) * `ARL` - Argentine Peso Ley (1970–1983) * `AMD` - Armenian Dram * `AWG` - Aruban Florin * `AUD` - Australian Dollar * `ATS` - Austrian Schilling * `AZN` - Azerbaijani Manat * `AZM` - Azerbaijani Manat (1993–2006) * `BSD` - Bahamian Dollar * `BHD` - Bahraini Dinar * `BDT` - Bangladeshi Taka * `BBD` - Barbadian Dollar * `BYN` - Belarusian Ruble * `BYB` - Belarusian Ruble (1994–1999) * `BYR` - Belarusian Ruble (2000–2016) * `BEF` - Belgian Franc * `BEC` - Belgian Franc (convertible) * `BEL` - Belgian Franc (financial) * `BZD` - Belize Dollar * `BMD` - Bermudan Dollar * `BTN` - Bhutanese Ngultrum * `BOB` - Bolivian Boliviano * `BOL` - Bolivian Boliviano (1863–1963) * `BOV` - Bolivian Mvdol * `BOP` - Bolivian Peso * `BAM` - Bosnia-Herzegovina Convertible Mark * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) * `BWP` - Botswanan Pula * `BRC` - Brazilian Cruzado (1986–1989) * `BRZ` - Brazilian Cruzeiro (1942–1967) * `BRE` - Brazilian Cruzeiro (1990–1993) * `BRR` - Brazilian Cruzeiro (1993–1994) * `BRN` - Brazilian New Cruzado (1989–1990) * `BRB` - Brazilian New Cruzeiro (1967–1986) * `BRL` - Brazilian Real * `GBP` - British Pound * `BND` - Brunei Dollar * `BGL` - Bulgarian Hard Lev * `BGN` - Bulgarian Lev * `BGO` - Bulgarian Lev (1879–1952) * `BGM` - Bulgarian Socialist Lev * `BUK` - Burmese Kyat * `BIF` - Burundian Franc * `XPF` - CFP Franc * `KHR` - Cambodian Riel * `CAD` - Canadian Dollar * `CVE` - Cape Verdean Escudo * `KYD` - Cayman Islands Dollar * `XAF` - Central African CFA Franc * `CLE` - Chilean Escudo * `CLP` - Chilean Peso * `CLF` - Chilean Unit of Account (UF) * `CNX` - Chinese People’s Bank Dollar * `CNY` - Chinese Yuan * `CNH` - Chinese Yuan (offshore) * `COP` - Colombian Peso * `COU` - Colombian Real Value Unit * `KMF` - Comorian Franc * `CDF` - Congolese Franc * `CRC` - Costa Rican Colón * `HRD` - Croatian Dinar * `HRK` - Croatian Kuna * `CUC` - Cuban Convertible Peso * `CUP` - Cuban Peso * `CYP` - Cypriot Pound * `CZK` - Czech Koruna * `CSK` - Czechoslovak Hard Koruna * `DKK` - Danish Krone * `DJF` - Djiboutian Franc * `DOP` - Dominican Peso * `NLG` - Dutch Guilder * `XCD` - East Caribbean Dollar * `DDM` - East German Mark * `ECS` - Ecuadorian Sucre * `ECV` - Ecuadorian Unit of Constant Value * `EGP` - Egyptian Pound * `GQE` - Equatorial Guinean Ekwele * `ERN` - Eritrean Nakfa * `EEK` - Estonian Kroon * `ETB` - Ethiopian Birr * `EUR` - Euro * `XBA` - European Composite Unit * `XEU` - European Currency Unit * `XBB` - European Monetary Unit * `XBC` - European Unit of Account (XBC) * `XBD` - European Unit of Account (XBD) * `FKP` - Falkland Islands Pound * `FJD` - Fijian Dollar * `FIM` - Finnish Markka * `FRF` - French Franc * `XFO` - French Gold Franc * `XFU` - French UIC-Franc * `GMD` - Gambian Dalasi * `GEK` - Georgian Kupon Larit * `GEL` - Georgian Lari * `DEM` - German Mark * `GHS` - Ghanaian Cedi * `GHC` - Ghanaian Cedi (1979–2007) * `GIP` - Gibraltar Pound * `XAU` - Gold * `GRD` - Greek Drachma * `GTQ` - Guatemalan Quetzal * `GWP` - Guinea-Bissau Peso * `GNF` - Guinean Franc * `GNS` - Guinean Syli * `GYD` - Guyanaese Dollar * `HTG` - Haitian Gourde * `HNL` - Honduran Lempira * `HKD` - Hong Kong Dollar * `HUF` - Hungarian Forint * `IMP` - IMP * `ISK` - Icelandic Króna * `ISJ` - Icelandic Króna (1918–1981) * `INR` - Indian Rupee * `IDR` - Indonesian Rupiah * `IRR` - Iranian Rial * `IQD` - Iraqi Dinar * `IEP` - Irish Pound * `ILS` - Israeli New Shekel * `ILP` - Israeli Pound * `ILR` - Israeli Shekel (1980–1985) * `ITL` - Italian Lira * `JMD` - Jamaican Dollar * `JPY` - Japanese Yen * `JOD` - Jordanian Dinar * `KZT` - Kazakhstani Tenge * `KES` - Kenyan Shilling * `KWD` - Kuwaiti Dinar * `KGS` - Kyrgystani Som * `LAK` - Laotian Kip * `LVL` - Latvian Lats * `LVR` - Latvian Ruble * `LBP` - Lebanese Pound * `LSL` - Lesotho Loti * `LRD` - Liberian Dollar * `LYD` - Libyan Dinar * `LTL` - Lithuanian Litas * `LTT` - Lithuanian Talonas * `LUL` - Luxembourg Financial Franc * `LUC` - Luxembourgian Convertible Franc * `LUF` - Luxembourgian Franc * `MOP` - Macanese Pataca * `MKD` - Macedonian Denar * `MKN` - Macedonian Denar (1992–1993) * `MGA` - Malagasy Ariary * `MGF` - Malagasy Franc * `MWK` - Malawian Kwacha * `MYR` - Malaysian Ringgit * `MVR` - Maldivian Rufiyaa * `MVP` - Maldivian Rupee (1947–1981) * `MLF` - Malian Franc * `MTL` - Maltese Lira * `MTP` - Maltese Pound * `MRU` - Mauritanian Ouguiya * `MRO` - Mauritanian Ouguiya (1973–2017) * `MUR` - Mauritian Rupee * `MXV` - Mexican Investment Unit * `MXN` - Mexican Peso * `MXP` - Mexican Silver Peso (1861–1992) * `MDC` - Moldovan Cupon * `MDL` - Moldovan Leu * `MCF` - Monegasque Franc * `MNT` - Mongolian Tugrik * `MAD` - Moroccan Dirham * `MAF` - Moroccan Franc * `MZE` - Mozambican Escudo * `MZN` - Mozambican Metical * `MZM` - Mozambican Metical (1980–2006) * `MMK` - Myanmar Kyat * `NAD` - Namibian Dollar * `NPR` - Nepalese Rupee * `ANG` - Netherlands Antillean Guilder * `TWD` - New Taiwan Dollar * `NZD` - New Zealand Dollar * `NIO` - Nicaraguan Córdoba * `NIC` - Nicaraguan Córdoba (1988–1991) * `NGN` - Nigerian Naira * `KPW` - North Korean Won * `NOK` - Norwegian Krone * `OMR` - Omani Rial * `PKR` - Pakistani Rupee * `XPD` - Palladium * `PAB` - Panamanian Balboa * `PGK` - Papua New Guinean Kina * `PYG` - Paraguayan Guarani * `PEI` - Peruvian Inti * `PEN` - Peruvian Sol * `PES` - Peruvian Sol (1863–1965) * `PHP` - Philippine Peso * `XPT` - Platinum * `PLN` - Polish Zloty * `PLZ` - Polish Zloty (1950–1995) * `PTE` - Portuguese Escudo * `GWE` - Portuguese Guinea Escudo * `QAR` - Qatari Rial * `XRE` - RINET Funds * `RHD` - Rhodesian Dollar * `RON` - Romanian Leu * `ROL` - Romanian Leu (1952–2006) * `RUB` - Russian Ruble * `RUR` - Russian Ruble (1991–1998) * `RWF` - Rwandan Franc * `SVC` - Salvadoran Colón * `WST` - Samoan Tala * `SAR` - Saudi Riyal * `RSD` - Serbian Dinar * `CSD` - Serbian Dinar (2002–2006) * `SCR` - Seychellois Rupee * `SLL` - Sierra Leonean Leone * `XAG` - Silver * `SGD` - Singapore Dollar * `SKK` - Slovak Koruna * `SIT` - Slovenian Tolar * `SBD` - Solomon Islands Dollar * `SOS` - Somali Shilling * `ZAR` - South African Rand * `ZAL` - South African Rand (financial) * `KRH` - South Korean Hwan (1953–1962) * `KRW` - South Korean Won * `KRO` - South Korean Won (1945–1953) * `SSP` - South Sudanese Pound * `SUR` - Soviet Rouble * `ESP` - Spanish Peseta * `ESA` - Spanish Peseta (A account) * `ESB` - Spanish Peseta (convertible account) * `XDR` - Special Drawing Rights * `LKR` - Sri Lankan Rupee * `SHP` - St. Helena Pound * `XSU` - Sucre * `SDD` - Sudanese Dinar (1992–2007) * `SDG` - Sudanese Pound * `SDP` - Sudanese Pound (1957–1998) * `SRD` - Surinamese Dollar * `SRG` - Surinamese Guilder * `SZL` - Swazi Lilangeni * `SEK` - Swedish Krona * `CHF` - Swiss Franc * `SYP` - Syrian Pound * `STN` - São Tomé & Príncipe Dobra * `STD` - São Tomé & Príncipe Dobra (1977–2017) * `TVD` - TVD * `TJR` - Tajikistani Ruble * `TJS` - Tajikistani Somoni * `TZS` - Tanzanian Shilling * `XTS` - Testing Currency Code * `THB` - Thai Baht * `XXX` - The codes assigned for transactions where no currency is involved * `TPE` - Timorese Escudo * `TOP` - Tongan Paʻanga * `TTD` - Trinidad & Tobago Dollar * `TND` - Tunisian Dinar * `TRY` - Turkish Lira * `TRL` - Turkish Lira (1922–2005) * `TMT` - Turkmenistani Manat * `TMM` - Turkmenistani Manat (1993–2009) * `USD` - US Dollar * `USN` - US Dollar (Next day) * `USS` - US Dollar (Same day) * `UGX` - Ugandan Shilling * `UGS` - Ugandan Shilling (1966–1987) * `UAH` - Ukrainian Hryvnia * `UAK` - Ukrainian Karbovanets * `AED` - United Arab Emirates Dirham * `UYW` - Uruguayan Nominal Wage Index Unit * `UYU` - Uruguayan Peso * `UYP` - Uruguayan Peso (1975–1993) * `UYI` - Uruguayan Peso (Indexed Units) * `UZS` - Uzbekistani Som * `VUV` - Vanuatu Vatu * `VES` - Venezuelan Bolívar * `VEB` - Venezuelan Bolívar (1871–2008) * `VEF` - Venezuelan Bolívar (2008–2018) * `VND` - Vietnamese Dong * `VNN` - Vietnamese Dong (1978–1985) * `CHE` - WIR Euro * `CHW` - WIR Franc * `XOF` - West African CFA Franc * `YDD` - Yemeni Dinar * `YER` - Yemeni Rial * `YUN` - Yugoslavian Convertible Dinar (1990–1992) * `YUD` - Yugoslavian Hard Dinar (1966–1990) * `YUM` - Yugoslavian New Dinar (1994–2002) * `YUR` - Yugoslavian Reformed Dinar (1992–1993) * `ZWN` - ZWN * `ZRN` - Zairean New Zaire (1993–1998) * `ZRZ` - Zairean Zaire (1971–1993) * `ZMW` - Zambian Kwacha * `ZMK` - Zambian Kwacha (1968–2012) * `ZWD` - Zimbabwean Dollar (1980–2008) * `ZWR` - Zimbabwean Dollar (2008) * `ZWL` - Zimbabwean Dollar (2009) | [optional] |
17
17
  | **exchange_rate** | **String** | The purchase order's exchange rate. | [optional] |
18
- | **line_items** | [**Array<PurchaseOrderLineItem>**](PurchaseOrderLineItem.md) | | [optional] |
18
+ | **line_items** | [**Array<PurchaseOrderLineItem>**](PurchaseOrderLineItem.md) | | [optional][readonly] |
19
19
  | **remote_created_at** | **Time** | When the third party's purchase order note was created. | [optional] |
20
20
  | **remote_updated_at** | **Time** | When the third party's purchase order note was updated. | [optional] |
21
21
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
@@ -41,7 +41,7 @@ instance = MergeAccountingClient::PurchaseOrder.new(
41
41
  total_amount: 260.0,
42
42
  currency: USD,
43
43
  exchange_rate: 2.9,
44
- line_items: [{"description":"Pickleball paddles","unit_price":25.0,"quantity":10.0,"item":"0958cbc6-6040-430a-848e-aafacbadf4ae","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","tracking_categories":["f1214c24-2702-4617-b74b-3ddecfc0d384","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"tax_amount":10.0,"total_line_amount":260.0,"currency":"USD","exchange_rate":"2.9","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5"},{"description":"Pickleball Balls","unit_price":1.0,"quantity":10.0,"item":"249c9faa-3045-4a31-953b-8f22d3613301","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","tracking_categories":["f1214c24-2702-4617-b74b-3ddecfc0d384","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"tax_amount":10.0,"total_line_amount":20.0}],
44
+ line_items: [{"remote_id":"121222","description":"Pickleball paddles","unit_price":25.0,"quantity":10.0,"item":"0958cbc6-6040-430a-848e-aafacbadf4ae","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","tracking_categories":["f1214c24-2702-4617-b74b-3ddecfc0d384","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"tax_amount":10.0,"total_line_amount":260.0,"currency":"USD","exchange_rate":"2.9","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5"},{"description":"Pickleball Balls","unit_price":1.0,"quantity":10.0,"item":"249c9faa-3045-4a31-953b-8f22d3613301","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","tracking_categories":["f1214c24-2702-4617-b74b-3ddecfc0d384","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"tax_amount":10.0,"total_line_amount":20.0}],
45
45
  remote_created_at: 2020-03-31T00:00Z,
46
46
  remote_updated_at: 2020-03-31T00:00Z,
47
47
  remote_was_deleted: null,
@@ -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** | A description of the good being purchased. | [optional] |
8
9
  | **unit_price** | **Float** | The line item's unit price. | [optional] |
9
10
  | **quantity** | **Float** | The line item's quantity. | [optional] |
@@ -23,6 +24,7 @@
23
24
  require 'merge_accounting_client'
24
25
 
25
26
  instance = MergeAccountingClient::PurchaseOrderLineItem.new(
27
+ remote_id: 121222,
26
28
  description: Pickleball paddles,
27
29
  unit_price: 25.0,
28
30
  quantity: 10.0,
@@ -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** | A description of the good being purchased. | [optional] |
8
9
  | **unit_price** | **Float** | The line item's unit price. | [optional] |
9
10
  | **quantity** | **Float** | The line item's quantity. | [optional] |
@@ -25,6 +26,7 @@
25
26
  require 'merge_accounting_client'
26
27
 
27
28
  instance = MergeAccountingClient::PurchaseOrderLineItemRequest.new(
29
+ remote_id: 121222,
28
30
  description: Pickleball paddles,
29
31
  unit_price: 25.0,
30
32
  quantity: 10.0,
@@ -25,20 +25,20 @@
25
25
  require 'merge_accounting_client'
26
26
 
27
27
  instance = MergeAccountingClient::PurchaseOrderRequest.new(
28
- status: SUBMITTED,
28
+ status: null,
29
29
  issue_date: null,
30
- delivery_date: 2020-04-15T00:00Z,
30
+ delivery_date: null,
31
31
  delivery_address: null,
32
- customer: 3e442c5d-8f51-4103-b5c9-dcee39c30a08,
33
- vendor: 2c22ce34-5c6e-4fc7-a594-7f26bb4cf78b,
34
- memo: private note,
35
- company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
36
- total_amount: 260.0,
37
- currency: USD,
38
- exchange_rate: 2.9,
39
- line_items: [{"description":"Pickleball paddles","unit_price":25.0,"quantity":10.0,"item":"0958cbc6-6040-430a-848e-aafacbadf4ae","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","tracking_categories":["f1214c24-2702-4617-b74b-3ddecfc0d384","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"tax_amount":10.0,"total_line_amount":260.0,"currency":"USD","exchange_rate":"2.9","company":"595c8f97-2ac4-45b7-b000-41bdf43240b5"},{"description":"Pickleball Balls","unit_price":1.0,"quantity":10.0,"item":"249c9faa-3045-4a31-953b-8f22d3613301","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","tracking_categories":["f1214c24-2702-4617-b74b-3ddecfc0d384","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],"tax_amount":10.0,"total_line_amount":20.0}],
40
- integration_params: {"unique_integration_field":"unique_integration_field_value"},
41
- linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
32
+ customer: null,
33
+ vendor: null,
34
+ memo: null,
35
+ company: null,
36
+ total_amount: null,
37
+ currency: null,
38
+ exchange_rate: null,
39
+ line_items: null,
40
+ integration_params: null,
41
+ linked_account_params: null
42
42
  )
43
43
  ```
44
44
 
@@ -2,18 +2,15 @@
2
2
 
3
3
  All URIs are relative to *https://api.merge.dev/api/accounting/v1*
4
4
 
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**sync_status_list**](SyncStatusApi.md#sync_status_list) | **GET** /sync-status | |
8
-
5
+ | Method | HTTP request | Description |
6
+ | --------------------------------------------------------- | -------------------- | ----------- |
7
+ | [**sync_status_list**](SyncStatusApi.md#sync_status_list) | **GET** /sync-status | |
9
8
 
10
9
  ## sync_status_list
11
10
 
12
11
  > <PaginatedSyncStatusList> sync_status_list(x_account_token, opts)
13
12
 
14
-
15
-
16
- Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
13
+ Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`, `PARTIALLY_SYNCED`
17
14
 
18
15
  ### Examples
19
16
 
@@ -36,7 +33,7 @@ opts = {
36
33
  }
37
34
 
38
35
  begin
39
-
36
+
40
37
  result = api_instance.sync_status_list(x_account_token, opts)
41
38
  p result
42
39
  rescue MergeAccountingClient::ApiError => e
@@ -52,7 +49,7 @@ This returns an Array which contains the response data, status code and headers.
52
49
 
53
50
  ```ruby
54
51
  begin
55
-
52
+
56
53
  data, status_code, headers = api_instance.sync_status_list_with_http_info(x_account_token, opts)
57
54
  p status_code # => 2xx
58
55
  p headers # => { ... }
@@ -64,11 +61,11 @@ end
64
61
 
65
62
  ### Parameters
66
63
 
67
- | Name | Type | Description | Notes |
68
- | ---- | ---- | ----------- | ----- |
69
- | **x_account_token** | **String** | Token identifying the end user. | |
70
- | **cursor** | **String** | The pagination cursor value. | [optional] |
71
- | **page_size** | **Integer** | Number of results to return per page. | [optional] |
64
+ | Name | Type | Description | Notes |
65
+ | ------------------- | ----------- | ------------------------------------- | ---------- |
66
+ | **x_account_token** | **String** | Token identifying the end user. | |
67
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
68
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
72
69
 
73
70
  ### Return type
74
71
 
@@ -82,4 +79,3 @@ end
82
79
 
83
80
  - **Content-Type**: Not defined
84
81
  - **Accept**: application/json
85
-
data/docs/Transaction.md CHANGED
@@ -13,7 +13,8 @@
13
13
  | **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The transaction&#39;s currency. * &#x60;XUA&#x60; - ADB Unit of Account * &#x60;AFN&#x60; - Afghan Afghani * &#x60;AFA&#x60; - Afghan Afghani (1927–2002) * &#x60;ALL&#x60; - Albanian Lek * &#x60;ALK&#x60; - Albanian Lek (1946–1965) * &#x60;DZD&#x60; - Algerian Dinar * &#x60;ADP&#x60; - Andorran Peseta * &#x60;AOA&#x60; - Angolan Kwanza * &#x60;AOK&#x60; - Angolan Kwanza (1977–1991) * &#x60;AON&#x60; - Angolan New Kwanza (1990–2000) * &#x60;AOR&#x60; - Angolan Readjusted Kwanza (1995–1999) * &#x60;ARA&#x60; - Argentine Austral * &#x60;ARS&#x60; - Argentine Peso * &#x60;ARM&#x60; - Argentine Peso (1881–1970) * &#x60;ARP&#x60; - Argentine Peso (1983–1985) * &#x60;ARL&#x60; - Argentine Peso Ley (1970–1983) * &#x60;AMD&#x60; - Armenian Dram * &#x60;AWG&#x60; - Aruban Florin * &#x60;AUD&#x60; - Australian Dollar * &#x60;ATS&#x60; - Austrian Schilling * &#x60;AZN&#x60; - Azerbaijani Manat * &#x60;AZM&#x60; - Azerbaijani Manat (1993–2006) * &#x60;BSD&#x60; - Bahamian Dollar * &#x60;BHD&#x60; - Bahraini Dinar * &#x60;BDT&#x60; - Bangladeshi Taka * &#x60;BBD&#x60; - Barbadian Dollar * &#x60;BYN&#x60; - Belarusian Ruble * &#x60;BYB&#x60; - Belarusian Ruble (1994–1999) * &#x60;BYR&#x60; - Belarusian Ruble (2000–2016) * &#x60;BEF&#x60; - Belgian Franc * &#x60;BEC&#x60; - Belgian Franc (convertible) * &#x60;BEL&#x60; - Belgian Franc (financial) * &#x60;BZD&#x60; - Belize Dollar * &#x60;BMD&#x60; - Bermudan Dollar * &#x60;BTN&#x60; - Bhutanese Ngultrum * &#x60;BOB&#x60; - Bolivian Boliviano * &#x60;BOL&#x60; - Bolivian Boliviano (1863–1963) * &#x60;BOV&#x60; - Bolivian Mvdol * &#x60;BOP&#x60; - Bolivian Peso * &#x60;BAM&#x60; - Bosnia-Herzegovina Convertible Mark * &#x60;BAD&#x60; - Bosnia-Herzegovina Dinar (1992–1994) * &#x60;BAN&#x60; - Bosnia-Herzegovina New Dinar (1994–1997) * &#x60;BWP&#x60; - Botswanan Pula * &#x60;BRC&#x60; - Brazilian Cruzado (1986–1989) * &#x60;BRZ&#x60; - Brazilian Cruzeiro (1942–1967) * &#x60;BRE&#x60; - Brazilian Cruzeiro (1990–1993) * &#x60;BRR&#x60; - Brazilian Cruzeiro (1993–1994) * &#x60;BRN&#x60; - Brazilian New Cruzado (1989–1990) * &#x60;BRB&#x60; - Brazilian New Cruzeiro (1967–1986) * &#x60;BRL&#x60; - Brazilian Real * &#x60;GBP&#x60; - British Pound * &#x60;BND&#x60; - Brunei Dollar * &#x60;BGL&#x60; - Bulgarian Hard Lev * &#x60;BGN&#x60; - Bulgarian Lev * &#x60;BGO&#x60; - Bulgarian Lev (1879–1952) * &#x60;BGM&#x60; - Bulgarian Socialist Lev * &#x60;BUK&#x60; - Burmese Kyat * &#x60;BIF&#x60; - Burundian Franc * &#x60;XPF&#x60; - CFP Franc * &#x60;KHR&#x60; - Cambodian Riel * &#x60;CAD&#x60; - Canadian Dollar * &#x60;CVE&#x60; - Cape Verdean Escudo * &#x60;KYD&#x60; - Cayman Islands Dollar * &#x60;XAF&#x60; - Central African CFA Franc * &#x60;CLE&#x60; - Chilean Escudo * &#x60;CLP&#x60; - Chilean Peso * &#x60;CLF&#x60; - Chilean Unit of Account (UF) * &#x60;CNX&#x60; - Chinese People’s Bank Dollar * &#x60;CNY&#x60; - Chinese Yuan * &#x60;CNH&#x60; - Chinese Yuan (offshore) * &#x60;COP&#x60; - Colombian Peso * &#x60;COU&#x60; - Colombian Real Value Unit * &#x60;KMF&#x60; - Comorian Franc * &#x60;CDF&#x60; - Congolese Franc * &#x60;CRC&#x60; - Costa Rican Colón * &#x60;HRD&#x60; - Croatian Dinar * &#x60;HRK&#x60; - Croatian Kuna * &#x60;CUC&#x60; - Cuban Convertible Peso * &#x60;CUP&#x60; - Cuban Peso * &#x60;CYP&#x60; - Cypriot Pound * &#x60;CZK&#x60; - Czech Koruna * &#x60;CSK&#x60; - Czechoslovak Hard Koruna * &#x60;DKK&#x60; - Danish Krone * &#x60;DJF&#x60; - Djiboutian Franc * &#x60;DOP&#x60; - Dominican Peso * &#x60;NLG&#x60; - Dutch Guilder * &#x60;XCD&#x60; - East Caribbean Dollar * &#x60;DDM&#x60; - East German Mark * &#x60;ECS&#x60; - Ecuadorian Sucre * &#x60;ECV&#x60; - Ecuadorian Unit of Constant Value * &#x60;EGP&#x60; - Egyptian Pound * &#x60;GQE&#x60; - Equatorial Guinean Ekwele * &#x60;ERN&#x60; - Eritrean Nakfa * &#x60;EEK&#x60; - Estonian Kroon * &#x60;ETB&#x60; - Ethiopian Birr * &#x60;EUR&#x60; - Euro * &#x60;XBA&#x60; - European Composite Unit * &#x60;XEU&#x60; - European Currency Unit * &#x60;XBB&#x60; - European Monetary Unit * &#x60;XBC&#x60; - European Unit of Account (XBC) * &#x60;XBD&#x60; - European Unit of Account (XBD) * &#x60;FKP&#x60; - Falkland Islands Pound * &#x60;FJD&#x60; - Fijian Dollar * &#x60;FIM&#x60; - Finnish Markka * &#x60;FRF&#x60; - French Franc * &#x60;XFO&#x60; - French Gold Franc * &#x60;XFU&#x60; - French UIC-Franc * &#x60;GMD&#x60; - Gambian Dalasi * &#x60;GEK&#x60; - Georgian Kupon Larit * &#x60;GEL&#x60; - Georgian Lari * &#x60;DEM&#x60; - German Mark * &#x60;GHS&#x60; - Ghanaian Cedi * &#x60;GHC&#x60; - Ghanaian Cedi (1979–2007) * &#x60;GIP&#x60; - Gibraltar Pound * &#x60;XAU&#x60; - Gold * &#x60;GRD&#x60; - Greek Drachma * &#x60;GTQ&#x60; - Guatemalan Quetzal * &#x60;GWP&#x60; - Guinea-Bissau Peso * &#x60;GNF&#x60; - Guinean Franc * &#x60;GNS&#x60; - Guinean Syli * &#x60;GYD&#x60; - Guyanaese Dollar * &#x60;HTG&#x60; - Haitian Gourde * &#x60;HNL&#x60; - Honduran Lempira * &#x60;HKD&#x60; - Hong Kong Dollar * &#x60;HUF&#x60; - Hungarian Forint * &#x60;IMP&#x60; - IMP * &#x60;ISK&#x60; - Icelandic Króna * &#x60;ISJ&#x60; - Icelandic Króna (1918–1981) * &#x60;INR&#x60; - Indian Rupee * &#x60;IDR&#x60; - Indonesian Rupiah * &#x60;IRR&#x60; - Iranian Rial * &#x60;IQD&#x60; - Iraqi Dinar * &#x60;IEP&#x60; - Irish Pound * &#x60;ILS&#x60; - Israeli New Shekel * &#x60;ILP&#x60; - Israeli Pound * &#x60;ILR&#x60; - Israeli Shekel (1980–1985) * &#x60;ITL&#x60; - Italian Lira * &#x60;JMD&#x60; - Jamaican Dollar * &#x60;JPY&#x60; - Japanese Yen * &#x60;JOD&#x60; - Jordanian Dinar * &#x60;KZT&#x60; - Kazakhstani Tenge * &#x60;KES&#x60; - Kenyan Shilling * &#x60;KWD&#x60; - Kuwaiti Dinar * &#x60;KGS&#x60; - Kyrgystani Som * &#x60;LAK&#x60; - Laotian Kip * &#x60;LVL&#x60; - Latvian Lats * &#x60;LVR&#x60; - Latvian Ruble * &#x60;LBP&#x60; - Lebanese Pound * &#x60;LSL&#x60; - Lesotho Loti * &#x60;LRD&#x60; - Liberian Dollar * &#x60;LYD&#x60; - Libyan Dinar * &#x60;LTL&#x60; - Lithuanian Litas * &#x60;LTT&#x60; - Lithuanian Talonas * &#x60;LUL&#x60; - Luxembourg Financial Franc * &#x60;LUC&#x60; - Luxembourgian Convertible Franc * &#x60;LUF&#x60; - Luxembourgian Franc * &#x60;MOP&#x60; - Macanese Pataca * &#x60;MKD&#x60; - Macedonian Denar * &#x60;MKN&#x60; - Macedonian Denar (1992–1993) * &#x60;MGA&#x60; - Malagasy Ariary * &#x60;MGF&#x60; - Malagasy Franc * &#x60;MWK&#x60; - Malawian Kwacha * &#x60;MYR&#x60; - Malaysian Ringgit * &#x60;MVR&#x60; - Maldivian Rufiyaa * &#x60;MVP&#x60; - Maldivian Rupee (1947–1981) * &#x60;MLF&#x60; - Malian Franc * &#x60;MTL&#x60; - Maltese Lira * &#x60;MTP&#x60; - Maltese Pound * &#x60;MRU&#x60; - Mauritanian Ouguiya * &#x60;MRO&#x60; - Mauritanian Ouguiya (1973–2017) * &#x60;MUR&#x60; - Mauritian Rupee * &#x60;MXV&#x60; - Mexican Investment Unit * &#x60;MXN&#x60; - Mexican Peso * &#x60;MXP&#x60; - Mexican Silver Peso (1861–1992) * &#x60;MDC&#x60; - Moldovan Cupon * &#x60;MDL&#x60; - Moldovan Leu * &#x60;MCF&#x60; - Monegasque Franc * &#x60;MNT&#x60; - Mongolian Tugrik * &#x60;MAD&#x60; - Moroccan Dirham * &#x60;MAF&#x60; - Moroccan Franc * &#x60;MZE&#x60; - Mozambican Escudo * &#x60;MZN&#x60; - Mozambican Metical * &#x60;MZM&#x60; - Mozambican Metical (1980–2006) * &#x60;MMK&#x60; - Myanmar Kyat * &#x60;NAD&#x60; - Namibian Dollar * &#x60;NPR&#x60; - Nepalese Rupee * &#x60;ANG&#x60; - Netherlands Antillean Guilder * &#x60;TWD&#x60; - New Taiwan Dollar * &#x60;NZD&#x60; - New Zealand Dollar * &#x60;NIO&#x60; - Nicaraguan Córdoba * &#x60;NIC&#x60; - Nicaraguan Córdoba (1988–1991) * &#x60;NGN&#x60; - Nigerian Naira * &#x60;KPW&#x60; - North Korean Won * &#x60;NOK&#x60; - Norwegian Krone * &#x60;OMR&#x60; - Omani Rial * &#x60;PKR&#x60; - Pakistani Rupee * &#x60;XPD&#x60; - Palladium * &#x60;PAB&#x60; - Panamanian Balboa * &#x60;PGK&#x60; - Papua New Guinean Kina * &#x60;PYG&#x60; - Paraguayan Guarani * &#x60;PEI&#x60; - Peruvian Inti * &#x60;PEN&#x60; - Peruvian Sol * &#x60;PES&#x60; - Peruvian Sol (1863–1965) * &#x60;PHP&#x60; - Philippine Peso * &#x60;XPT&#x60; - Platinum * &#x60;PLN&#x60; - Polish Zloty * &#x60;PLZ&#x60; - Polish Zloty (1950–1995) * &#x60;PTE&#x60; - Portuguese Escudo * &#x60;GWE&#x60; - Portuguese Guinea Escudo * &#x60;QAR&#x60; - Qatari Rial * &#x60;XRE&#x60; - RINET Funds * &#x60;RHD&#x60; - Rhodesian Dollar * &#x60;RON&#x60; - Romanian Leu * &#x60;ROL&#x60; - Romanian Leu (1952–2006) * &#x60;RUB&#x60; - Russian Ruble * &#x60;RUR&#x60; - Russian Ruble (1991–1998) * &#x60;RWF&#x60; - Rwandan Franc * &#x60;SVC&#x60; - Salvadoran Colón * &#x60;WST&#x60; - Samoan Tala * &#x60;SAR&#x60; - Saudi Riyal * &#x60;RSD&#x60; - Serbian Dinar * &#x60;CSD&#x60; - Serbian Dinar (2002–2006) * &#x60;SCR&#x60; - Seychellois Rupee * &#x60;SLL&#x60; - Sierra Leonean Leone * &#x60;XAG&#x60; - Silver * &#x60;SGD&#x60; - Singapore Dollar * &#x60;SKK&#x60; - Slovak Koruna * &#x60;SIT&#x60; - Slovenian Tolar * &#x60;SBD&#x60; - Solomon Islands Dollar * &#x60;SOS&#x60; - Somali Shilling * &#x60;ZAR&#x60; - South African Rand * &#x60;ZAL&#x60; - South African Rand (financial) * &#x60;KRH&#x60; - South Korean Hwan (1953–1962) * &#x60;KRW&#x60; - South Korean Won * &#x60;KRO&#x60; - South Korean Won (1945–1953) * &#x60;SSP&#x60; - South Sudanese Pound * &#x60;SUR&#x60; - Soviet Rouble * &#x60;ESP&#x60; - Spanish Peseta * &#x60;ESA&#x60; - Spanish Peseta (A account) * &#x60;ESB&#x60; - Spanish Peseta (convertible account) * &#x60;XDR&#x60; - Special Drawing Rights * &#x60;LKR&#x60; - Sri Lankan Rupee * &#x60;SHP&#x60; - St. Helena Pound * &#x60;XSU&#x60; - Sucre * &#x60;SDD&#x60; - Sudanese Dinar (1992–2007) * &#x60;SDG&#x60; - Sudanese Pound * &#x60;SDP&#x60; - Sudanese Pound (1957–1998) * &#x60;SRD&#x60; - Surinamese Dollar * &#x60;SRG&#x60; - Surinamese Guilder * &#x60;SZL&#x60; - Swazi Lilangeni * &#x60;SEK&#x60; - Swedish Krona * &#x60;CHF&#x60; - Swiss Franc * &#x60;SYP&#x60; - Syrian Pound * &#x60;STN&#x60; - São Tomé &amp; Príncipe Dobra * &#x60;STD&#x60; - São Tomé &amp; Príncipe Dobra (1977–2017) * &#x60;TVD&#x60; - TVD * &#x60;TJR&#x60; - Tajikistani Ruble * &#x60;TJS&#x60; - Tajikistani Somoni * &#x60;TZS&#x60; - Tanzanian Shilling * &#x60;XTS&#x60; - Testing Currency Code * &#x60;THB&#x60; - Thai Baht * &#x60;XXX&#x60; - The codes assigned for transactions where no currency is involved * &#x60;TPE&#x60; - Timorese Escudo * &#x60;TOP&#x60; - Tongan Paʻanga * &#x60;TTD&#x60; - Trinidad &amp; Tobago Dollar * &#x60;TND&#x60; - Tunisian Dinar * &#x60;TRY&#x60; - Turkish Lira * &#x60;TRL&#x60; - Turkish Lira (1922–2005) * &#x60;TMT&#x60; - Turkmenistani Manat * &#x60;TMM&#x60; - Turkmenistani Manat (1993–2009) * &#x60;USD&#x60; - US Dollar * &#x60;USN&#x60; - US Dollar (Next day) * &#x60;USS&#x60; - US Dollar (Same day) * &#x60;UGX&#x60; - Ugandan Shilling * &#x60;UGS&#x60; - Ugandan Shilling (1966–1987) * &#x60;UAH&#x60; - Ukrainian Hryvnia * &#x60;UAK&#x60; - Ukrainian Karbovanets * &#x60;AED&#x60; - United Arab Emirates Dirham * &#x60;UYW&#x60; - Uruguayan Nominal Wage Index Unit * &#x60;UYU&#x60; - Uruguayan Peso * &#x60;UYP&#x60; - Uruguayan Peso (1975–1993) * &#x60;UYI&#x60; - Uruguayan Peso (Indexed Units) * &#x60;UZS&#x60; - Uzbekistani Som * &#x60;VUV&#x60; - Vanuatu Vatu * &#x60;VES&#x60; - Venezuelan Bolívar * &#x60;VEB&#x60; - Venezuelan Bolívar (1871–2008) * &#x60;VEF&#x60; - Venezuelan Bolívar (2008–2018) * &#x60;VND&#x60; - Vietnamese Dong * &#x60;VNN&#x60; - Vietnamese Dong (1978–1985) * &#x60;CHE&#x60; - WIR Euro * &#x60;CHW&#x60; - WIR Franc * &#x60;XOF&#x60; - West African CFA Franc * &#x60;YDD&#x60; - Yemeni Dinar * &#x60;YER&#x60; - Yemeni Rial * &#x60;YUN&#x60; - Yugoslavian Convertible Dinar (1990–1992) * &#x60;YUD&#x60; - Yugoslavian Hard Dinar (1966–1990) * &#x60;YUM&#x60; - Yugoslavian New Dinar (1994–2002) * &#x60;YUR&#x60; - Yugoslavian Reformed Dinar (1992–1993) * &#x60;ZWN&#x60; - ZWN * &#x60;ZRN&#x60; - Zairean New Zaire (1993–1998) * &#x60;ZRZ&#x60; - Zairean Zaire (1971–1993) * &#x60;ZMW&#x60; - Zambian Kwacha * &#x60;ZMK&#x60; - Zambian Kwacha (1968–2012) * &#x60;ZWD&#x60; - Zimbabwean Dollar (1980–2008) * &#x60;ZWR&#x60; - Zimbabwean Dollar (2008) * &#x60;ZWL&#x60; - Zimbabwean Dollar (2009) | [optional] |
14
14
  | **exchange_rate** | **String** | The transaction&#39;s exchange rate. | [optional] |
15
15
  | **company** | **String** | The company the transaction belongs to. | [optional] |
16
- | **line_items** | [**Array&lt;TransactionLineItem&gt;**](TransactionLineItem.md) | | [optional] |
16
+ | **tracking_categories** | **Array&lt;String&gt;** | | [optional] |
17
+ | **line_items** | [**Array&lt;TransactionLineItem&gt;**](TransactionLineItem.md) | | [optional][readonly] |
17
18
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
18
19
  | **id** | **String** | | [optional][readonly] |
19
20
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
@@ -35,7 +36,8 @@ instance = MergeAccountingClient::Transaction.new(
35
36
  currency: USD,
36
37
  exchange_rate: 2.9,
37
38
  company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
38
- line_items: [{&quot;memo&quot;:&quot;Pickleball paddles&quot;,&quot;unit_price&quot;:&quot;25.0&quot;,&quot;quantity&quot;:&quot;10.0&quot;,&quot;item&quot;:&quot;0958cbc6-6040-430a-848e-aafacbadf4ae&quot;,&quot;account&quot;:&quot;2b38c085-2620-4269-b5ec-75dd9095ed2c&quot;,&quot;tracking_category&quot;:&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;tracking_categories&quot;:[&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;9b840d2-686a-465a-8a8e-7b028498f8e4&quot;,&quot;a47e11b6-c73b-4a0c-be31-130fc48177fa&quot;],&quot;total_line_amount&quot;:260.0,&quot;tax_rate&quot;:&quot;a12e7c20-1922-9df7-s75n-edfeewnn7384&quot;,&quot;currency&quot;:&quot;USD&quot;,&quot;exchange_rate&quot;:&quot;2.9&quot;,&quot;company&quot;:&quot;595c8f97-2ac4-45b7-b000-41bdf43240b5&quot;},{&quot;memo&quot;:&quot;Pickleball Balls&quot;,&quot;unit_price&quot;:1.0,&quot;quantity&quot;:10.0,&quot;item&quot;:&quot;249c9faa-3045-4a31-953b-8f22d3613301&quot;,&quot;account&quot;:&quot;3e442c5d-8f51-4103-b5c9-dcee39c30a08&quot;,&quot;tracking_category&quot;:&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;tracking_categories&quot;:[&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;9b840d2-686a-465a-8a8e-7b028498f8e4&quot;,&quot;a47e11b6-c73b-4a0c-be31-130fc48177fa&quot;],&quot;total_line_amount&quot;:20.0,&quot;tax_rate&quot;:&quot;a12e7c20-1922-9df7-s75n-edfeewnn7384&quot;}],
39
+ tracking_categories: [&quot;b38c59b0-a9d7-4740-b1ee-5436c6751e3d&quot;,&quot;9b840d2-686a-465a-8a8e-7b028498f8e4&quot;,&quot;a47e11b6-c73b-4a0c-be31-130fc48177fa&quot;],
40
+ line_items: [{&quot;remote_id&quot;:&quot;121222&quot;,&quot;memo&quot;:&quot;Pickleball paddles&quot;,&quot;unit_price&quot;:&quot;25.0&quot;,&quot;quantity&quot;:&quot;10.0&quot;,&quot;item&quot;:&quot;0958cbc6-6040-430a-848e-aafacbadf4ae&quot;,&quot;account&quot;:&quot;2b38c085-2620-4269-b5ec-75dd9095ed2c&quot;,&quot;tracking_category&quot;:&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;tracking_categories&quot;:[&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;9b840d2-686a-465a-8a8e-7b028498f8e4&quot;,&quot;a47e11b6-c73b-4a0c-be31-130fc48177fa&quot;],&quot;total_line_amount&quot;:260.0,&quot;tax_rate&quot;:&quot;a12e7c20-1922-9df7-s75n-edfeewnn7384&quot;,&quot;currency&quot;:&quot;USD&quot;,&quot;exchange_rate&quot;:&quot;2.9&quot;,&quot;company&quot;:&quot;595c8f97-2ac4-45b7-b000-41bdf43240b5&quot;},{&quot;memo&quot;:&quot;Pickleball Balls&quot;,&quot;unit_price&quot;:1.0,&quot;quantity&quot;:10.0,&quot;item&quot;:&quot;249c9faa-3045-4a31-953b-8f22d3613301&quot;,&quot;account&quot;:&quot;3e442c5d-8f51-4103-b5c9-dcee39c30a08&quot;,&quot;tracking_category&quot;:&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;tracking_categories&quot;:[&quot;f1214c24-2702-4617-b74b-3ddecfc0d384&quot;,&quot;9b840d2-686a-465a-8a8e-7b028498f8e4&quot;,&quot;a47e11b6-c73b-4a0c-be31-130fc48177fa&quot;],&quot;total_line_amount&quot;:20.0,&quot;tax_rate&quot;:&quot;a12e7c20-1922-9df7-s75n-edfeewnn7384&quot;}],
39
41
  remote_was_deleted: null,
40
42
  id: 0048ea5b-911e-4dff-9364-92070dea62ff,
41
43
  remote_id: 239741,
@@ -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
  | **memo** | **String** | An internal note used by the business to clarify purpose of the transaction. | [optional] |
8
9
  | **unit_price** | **String** | The line item&#39;s unit price. | [optional] |
9
10
  | **quantity** | **String** | The line item&#39;s quantity. | [optional] |
@@ -23,6 +24,7 @@
23
24
  require 'merge_accounting_client'
24
25
 
25
26
  instance = MergeAccountingClient::TransactionLineItem.new(
27
+ remote_id: 121222,
26
28
  memo: Pickleball paddles,
27
29
  unit_price: 25.0,
28
30
  quantity: 10.0,