merge_accounting_client 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -13
- data/docs/Account.md +2 -0
- data/docs/AccountIntegration.md +5 -1
- data/docs/AccountingAttachment.md +2 -0
- data/docs/AccountingPhoneNumber.md +3 -1
- data/docs/AccountsApi.md +4 -4
- data/docs/Address.md +4 -2
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/AttachmentsApi.md +4 -4
- data/docs/BalanceSheet.md +2 -0
- data/docs/BalanceSheetsApi.md +4 -4
- data/docs/CashFlowStatement.md +2 -0
- data/docs/CashFlowStatementsApi.md +4 -4
- data/docs/CompanyInfo.md +3 -1
- data/docs/CompanyInfoApi.md +4 -4
- data/docs/Contact.md +2 -0
- data/docs/ContactsApi.md +4 -4
- data/docs/CreditNote.md +6 -0
- data/docs/CreditNoteLineItem.md +3 -1
- data/docs/CreditNotesApi.md +4 -4
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/Expense.md +4 -0
- data/docs/ExpenseLine.md +3 -1
- data/docs/ExpenseRequest.md +2 -0
- data/docs/ExpensesApi.md +4 -4
- data/docs/ForceResyncApi.md +1 -1
- data/docs/IncomeStatement.md +2 -0
- data/docs/IncomeStatementsApi.md +4 -4
- data/docs/Invoice.md +7 -3
- data/docs/InvoiceLineItem.md +2 -0
- data/docs/InvoiceRequest.md +3 -1
- data/docs/InvoicesApi.md +4 -4
- data/docs/Issue.md +1 -1
- data/docs/IssuesApi.md +6 -6
- data/docs/Item.md +2 -0
- data/docs/ItemsApi.md +4 -4
- data/docs/JournalEntriesApi.md +4 -4
- data/docs/JournalEntry.md +4 -0
- data/docs/JournalLine.md +3 -1
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/Payment.md +4 -0
- data/docs/PaymentRequest.md +2 -0
- data/docs/PaymentsApi.md +4 -4
- data/docs/PurchaseOrder.md +4 -0
- data/docs/PurchaseOrderLineItem.md +3 -1
- data/docs/PurchaseOrdersApi.md +4 -4
- data/docs/RemoteData.md +1 -1
- data/docs/ReportItem.md +3 -1
- data/docs/SyncStatus.md +1 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/TaxRate.md +2 -0
- data/docs/TaxRatesApi.md +4 -4
- data/docs/TrackingCategoriesApi.md +4 -4
- data/docs/TrackingCategory.md +2 -0
- data/docs/Transaction.md +2 -0
- data/docs/TransactionLineItem.md +3 -1
- data/docs/TransactionsApi.md +4 -4
- data/docs/VendorCredit.md +4 -0
- data/docs/VendorCreditLine.md +3 -1
- data/docs/VendorCreditsApi.md +4 -4
- data/git_push.sh +58 -0
- data/lib/merge_accounting_client/api/accounts_api.rb +4 -4
- data/lib/merge_accounting_client/api/async_passthrough_api.rb +160 -0
- data/lib/merge_accounting_client/api/attachments_api.rb +4 -4
- data/lib/merge_accounting_client/api/balance_sheets_api.rb +4 -4
- data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +4 -4
- data/lib/merge_accounting_client/api/company_info_api.rb +4 -4
- data/lib/merge_accounting_client/api/contacts_api.rb +4 -4
- data/lib/merge_accounting_client/api/credit_notes_api.rb +6 -6
- data/lib/merge_accounting_client/api/delete_account_api.rb +7 -7
- data/lib/merge_accounting_client/api/expenses_api.rb +6 -6
- data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
- data/lib/merge_accounting_client/api/income_statements_api.rb +4 -4
- data/lib/merge_accounting_client/api/invoices_api.rb +6 -6
- data/lib/merge_accounting_client/api/issues_api.rb +6 -6
- data/lib/merge_accounting_client/api/items_api.rb +4 -4
- data/lib/merge_accounting_client/api/journal_entries_api.rb +6 -6
- data/lib/merge_accounting_client/api/linked_accounts_api.rb +2 -2
- data/lib/merge_accounting_client/api/payments_api.rb +6 -6
- data/lib/merge_accounting_client/api/purchase_orders_api.rb +6 -6
- data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
- data/lib/merge_accounting_client/api/tax_rates_api.rb +4 -4
- data/lib/merge_accounting_client/api/tracking_categories_api.rb +4 -4
- data/lib/merge_accounting_client/api/transactions_api.rb +4 -4
- data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
- data/lib/merge_accounting_client/models/account.rb +11 -1
- data/lib/merge_accounting_client/models/account_integration.rb +26 -4
- data/lib/merge_accounting_client/models/accounting_attachment.rb +11 -1
- data/lib/merge_accounting_client/models/accounting_phone_number.rb +15 -5
- data/lib/merge_accounting_client/models/address.rb +15 -5
- data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_accounting_client/models/balance_sheet.rb +11 -1
- data/lib/merge_accounting_client/models/cash_flow_statement.rb +11 -1
- data/lib/merge_accounting_client/models/company_info.rb +11 -1
- data/lib/merge_accounting_client/models/contact.rb +11 -1
- data/lib/merge_accounting_client/models/credit_note.rb +50 -1
- data/lib/merge_accounting_client/models/credit_note_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/end_user_details_request.rb +1 -1
- data/lib/merge_accounting_client/models/expense.rb +22 -1
- data/lib/merge_accounting_client/models/expense_line.rb +15 -5
- data/lib/merge_accounting_client/models/expense_request.rb +12 -1
- data/lib/merge_accounting_client/models/income_statement.rb +11 -1
- data/lib/merge_accounting_client/models/invoice.rb +33 -12
- data/lib/merge_accounting_client/models/invoice_line_item.rb +12 -2
- data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
- data/lib/merge_accounting_client/models/invoice_request.rb +13 -2
- data/lib/merge_accounting_client/models/issue.rb +1 -0
- data/lib/merge_accounting_client/models/item.rb +11 -1
- data/lib/merge_accounting_client/models/journal_entry.rb +22 -1
- data/lib/merge_accounting_client/models/journal_line.rb +15 -5
- data/lib/merge_accounting_client/models/payment.rb +22 -1
- data/lib/merge_accounting_client/models/payment_request.rb +12 -1
- data/lib/merge_accounting_client/models/purchase_order.rb +22 -1
- data/lib/merge_accounting_client/models/purchase_order_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/remote_data.rb +3 -4
- data/lib/merge_accounting_client/models/report_item.rb +15 -5
- data/lib/merge_accounting_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_accounting_client/models/tax_rate.rb +11 -1
- data/lib/merge_accounting_client/models/tracking_category.rb +11 -1
- data/lib/merge_accounting_client/models/transaction.rb +11 -1
- data/lib/merge_accounting_client/models/transaction_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/vendor_credit.rb +22 -1
- data/lib/merge_accounting_client/models/vendor_credit_line.rb +15 -5
- data/lib/merge_accounting_client/version.rb +1 -1
- data/lib/merge_accounting_client.rb +6 -2
- data/spec/api/accounts_api_spec.rb +2 -2
- data/spec/api/async_passthrough_api_spec.rb +59 -0
- data/spec/api/attachments_api_spec.rb +2 -2
- data/spec/api/balance_sheets_api_spec.rb +2 -2
- data/spec/api/cash_flow_statements_api_spec.rb +2 -2
- data/spec/api/company_info_api_spec.rb +2 -2
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/credit_notes_api_spec.rb +2 -2
- data/spec/api/delete_account_api_spec.rb +2 -2
- data/spec/api/expenses_api_spec.rb +2 -2
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/income_statements_api_spec.rb +2 -2
- data/spec/api/invoices_api_spec.rb +2 -2
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/items_api_spec.rb +2 -2
- data/spec/api/journal_entries_api_spec.rb +2 -2
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/payments_api_spec.rb +2 -2
- data/spec/api/purchase_orders_api_spec.rb +2 -2
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tax_rates_api_spec.rb +2 -2
- data/spec/api/tracking_categories_api_spec.rb +2 -2
- data/spec/api/transactions_api_spec.rb +2 -2
- data/spec/api/vendor_credits_api_spec.rb +2 -2
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/account_spec.rb +6 -0
- data/spec/models/accounting_attachment_spec.rb +6 -0
- data/spec/models/accounting_phone_number_spec.rb +6 -0
- data/spec/models/address_spec.rb +6 -0
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/balance_sheet_spec.rb +6 -0
- data/spec/models/cash_flow_statement_spec.rb +6 -0
- data/spec/models/company_info_spec.rb +6 -0
- data/spec/models/contact_spec.rb +6 -0
- data/spec/models/credit_note_line_item_spec.rb +6 -0
- data/spec/models/credit_note_spec.rb +18 -0
- data/spec/models/expense_line_spec.rb +6 -0
- data/spec/models/expense_request_spec.rb +6 -0
- data/spec/models/expense_spec.rb +12 -0
- data/spec/models/income_statement_spec.rb +6 -0
- data/spec/models/invoice_line_item_spec.rb +6 -0
- data/spec/models/invoice_request_spec.rb +6 -0
- data/spec/models/invoice_spec.rb +14 -2
- data/spec/models/item_spec.rb +6 -0
- data/spec/models/journal_entry_spec.rb +12 -0
- data/spec/models/journal_line_spec.rb +6 -0
- data/spec/models/payment_request_spec.rb +6 -0
- data/spec/models/payment_spec.rb +12 -0
- data/spec/models/purchase_order_line_item_spec.rb +6 -0
- data/spec/models/purchase_order_spec.rb +12 -0
- data/spec/models/report_item_spec.rb +6 -0
- data/spec/models/tax_rate_spec.rb +6 -0
- data/spec/models/tracking_category_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
- data/spec/models/vendor_credit_spec.rb +12 -0
- metadata +160 -151
data/docs/CreditNote.md
CHANGED
@@ -11,14 +11,17 @@
|
|
11
11
|
| **number** | **String** | The credit note's number. | [optional] |
|
12
12
|
| **contact** | **String** | The credit note's contact. | [optional] |
|
13
13
|
| **company** | **String** | The company the credit note belongs to. | [optional] |
|
14
|
+
| **exchange_rate** | **String** | The credit note's exchange rate. | [optional] |
|
14
15
|
| **total_amount** | **Float** | The credit note's total amount. | [optional] |
|
15
16
|
| **remaining_credit** | **Float** | The amount of value remaining in the credit note that the customer can use. | [optional] |
|
16
17
|
| **line_items** | [**Array<CreditNoteLineItem>**](CreditNoteLineItem.md) | | [optional] |
|
18
|
+
| **tracking_categories** | **Array<String>** | | [optional] |
|
17
19
|
| **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The credit note'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] |
|
18
20
|
| **remote_created_at** | **Time** | When the third party's credit note was created. | [optional] |
|
19
21
|
| **remote_updated_at** | **Time** | When the third party's credit note was updated. | [optional] |
|
20
22
|
| **payments** | **Array<String>** | Array of `Payment` object IDs | [optional] |
|
21
23
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
24
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
22
25
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
23
26
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
24
27
|
|
@@ -35,14 +38,17 @@ instance = MergeAccountingClient::CreditNote.new(
|
|
35
38
|
number: CN-29,
|
36
39
|
contact: c6c7b870-bb4d-489a-921e-2f0ee4192ff9,
|
37
40
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
41
|
+
exchange_rate: 2.9,
|
38
42
|
total_amount: 50.0,
|
39
43
|
remaining_credit: 20.0,
|
40
44
|
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"}],
|
45
|
+
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
41
46
|
currency: USD,
|
42
47
|
remote_created_at: 2020-03-31T00:00Z,
|
43
48
|
remote_updated_at: 2020-03-31T00:00Z,
|
44
49
|
payments: ["b26fd49a-cbae-470a-a8f8-bcbc119e0390"],
|
45
50
|
remote_was_deleted: null,
|
51
|
+
modified_at: 2021-10-16T00:00Z,
|
46
52
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
47
53
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
48
54
|
)
|
data/docs/CreditNoteLineItem.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **account** | **String** | The credit note line item's account. | [optional] |
|
18
18
|
| **company** | **String** | The company the credit note belongs to. | [optional] |
|
19
19
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
20
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
20
21
|
|
21
22
|
## Example
|
22
23
|
|
@@ -36,7 +37,8 @@ instance = MergeAccountingClient::CreditNoteLineItem.new(
|
|
36
37
|
tracking_categories: ["8d9fd929-436c-4fd4-a48b-0c61f68d6178","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
37
38
|
account: 8d9fd929-436c-4fd4-a48b-0c61f68d6178,
|
38
39
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
39
|
-
remote_id: 121222
|
40
|
+
remote_id: 121222,
|
41
|
+
modified_at: 2021-10-16T00:00Z
|
40
42
|
)
|
41
43
|
```
|
42
44
|
|
data/docs/CreditNotesApi.md
CHANGED
@@ -39,8 +39,8 @@ opts = {
|
|
39
39
|
expand: 'line_items', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
43
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
43
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
remote_fields: 'status', # String | Deprecated. Use show_enum_origins.
|
46
46
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
@@ -88,8 +88,8 @@ end
|
|
88
88
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
89
89
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
90
90
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
91
|
-
| **modified_after** | **Time** | If provided,
|
92
|
-
| **modified_before** | **Time** | If provided,
|
91
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
92
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
93
93
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
94
94
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
95
95
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
data/docs/DeleteAccountApi.md
CHANGED
@@ -4,12 +4,12 @@ All URIs are relative to *https://api.merge.dev/api/accounting/v1*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**
|
7
|
+
| [**delete_account_delete**](DeleteAccountApi.md#delete_account_delete) | **POST** /delete-account | |
|
8
8
|
|
9
9
|
|
10
|
-
##
|
10
|
+
## delete_account_delete
|
11
11
|
|
12
|
-
>
|
12
|
+
> delete_account_delete(x_account_token)
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -33,27 +33,27 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
|
|
33
33
|
|
34
34
|
begin
|
35
35
|
|
36
|
-
api_instance.
|
36
|
+
api_instance.delete_account_delete(x_account_token)
|
37
37
|
rescue MergeAccountingClient::ApiError => e
|
38
|
-
puts "Error when calling DeleteAccountApi->
|
38
|
+
puts "Error when calling DeleteAccountApi->delete_account_delete: #{e}"
|
39
39
|
end
|
40
40
|
```
|
41
41
|
|
42
|
-
#### Using the
|
42
|
+
#### Using the delete_account_delete_with_http_info variant
|
43
43
|
|
44
44
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
45
45
|
|
46
|
-
> <Array(nil, Integer, Hash)>
|
46
|
+
> <Array(nil, Integer, Hash)> delete_account_delete_with_http_info(x_account_token)
|
47
47
|
|
48
48
|
```ruby
|
49
49
|
begin
|
50
50
|
|
51
|
-
data, status_code, headers = api_instance.
|
51
|
+
data, status_code, headers = api_instance.delete_account_delete_with_http_info(x_account_token)
|
52
52
|
p status_code # => 2xx
|
53
53
|
p headers # => { ... }
|
54
54
|
p data # => nil
|
55
55
|
rescue MergeAccountingClient::ApiError => e
|
56
|
-
puts "Error when calling DeleteAccountApi->
|
56
|
+
puts "Error when calling DeleteAccountApi->delete_account_delete_with_http_info: #{e}"
|
57
57
|
end
|
58
58
|
```
|
59
59
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | The integration categories to show in Merge Link. | |
|
11
11
|
| **integration** | **String** | The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://www.merge.dev/docs/basics/integration-metadata/. | [optional] |
|
12
12
|
| **link_expiry_mins** | **Integer** | An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. | [optional][default to 30] |
|
13
|
-
| **should_create_magic_link_url** | **Boolean** | Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/
|
13
|
+
| **should_create_magic_link_url** | **Boolean** | Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. | [optional][default to false] |
|
14
14
|
| **common_models** | [**Array<CommonModelScopesBodyRequest>**](CommonModelScopesBodyRequest.md) | An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. | [optional] |
|
15
15
|
|
16
16
|
## Example
|
data/docs/Expense.md
CHANGED
@@ -14,9 +14,11 @@
|
|
14
14
|
| **company** | **String** | The company the expense belongs to. | [optional] |
|
15
15
|
| **memo** | **String** | The expense's private note. | [optional] |
|
16
16
|
| **lines** | [**Array<ExpenseLine>**](ExpenseLine.md) | | [optional] |
|
17
|
+
| **tracking_categories** | **Array<String>** | | [optional] |
|
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] |
|
21
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
20
22
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
23
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
22
24
|
|
@@ -36,9 +38,11 @@ instance = MergeAccountingClient::Expense.new(
|
|
36
38
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
37
39
|
memo: New employee supplies,
|
38
40
|
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"}],
|
41
|
+
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
39
42
|
remote_was_deleted: null,
|
40
43
|
id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
|
41
44
|
remote_id: 088899,
|
45
|
+
modified_at: 2021-10-16T00:00Z,
|
42
46
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
43
47
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
44
48
|
)
|
data/docs/ExpenseLine.md
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|
| **contact** | **String** | The expense's contact. | [optional] |
|
15
15
|
| **description** | **String** | The description of the item that was purchased by the company. | [optional] |
|
16
16
|
| **exchange_rate** | **String** | The expense line item's exchange rate. | [optional] |
|
17
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
17
18
|
|
18
19
|
## Example
|
19
20
|
|
@@ -30,7 +31,8 @@ instance = MergeAccountingClient::ExpenseLine.new(
|
|
30
31
|
account: 2a56344a-a491-11ec-b909-0242ac120002,
|
31
32
|
contact: c640b80b-fac9-409f-aa19-1f9221aec445,
|
32
33
|
description: MacBook Pro,
|
33
|
-
exchange_rate: 2.9
|
34
|
+
exchange_rate: 2.9,
|
35
|
+
modified_at: 2021-10-16T00:00Z
|
34
36
|
)
|
35
37
|
```
|
36
38
|
|
data/docs/ExpenseRequest.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **company** | **String** | The company the expense belongs to. | [optional] |
|
14
14
|
| **memo** | **String** | The expense's private note. | [optional] |
|
15
15
|
| **lines** | [**Array<ExpenseLineRequest>**](ExpenseLineRequest.md) | | [optional] |
|
16
|
+
| **tracking_categories** | **Array<String>** | | [optional] |
|
16
17
|
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
17
18
|
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
18
19
|
|
@@ -31,6 +32,7 @@ instance = MergeAccountingClient::ExpenseRequest.new(
|
|
31
32
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
32
33
|
memo: New employee supplies,
|
33
34
|
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"}],
|
35
|
+
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
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/ExpensesApi.md
CHANGED
@@ -120,8 +120,8 @@ opts = {
|
|
120
120
|
expand: 'account', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
121
121
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
122
122
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
123
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
124
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
123
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
124
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
125
125
|
page_size: 56, # Integer | Number of results to return per page.
|
126
126
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
127
127
|
transaction_date_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
@@ -167,8 +167,8 @@ end
|
|
167
167
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
168
168
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
169
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
170
|
-
| **modified_after** | **Time** | If provided,
|
171
|
-
| **modified_before** | **Time** | If provided,
|
170
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
171
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
172
172
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
173
173
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
174
174
|
| **transaction_date_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
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 available for all organizations via the dashboard. Force re-sync is also available for monthly and
|
16
|
+
Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
|
17
17
|
|
18
18
|
### Examples
|
19
19
|
|
data/docs/IncomeStatement.md
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
| **non_operating_expenses** | [**Array<ReportItem>**](ReportItem.md) | | [optional][readonly] |
|
20
20
|
| **net_income** | **Float** | The gross profit minus the total expenses. | [optional] |
|
21
21
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
22
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
22
23
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
23
24
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
24
25
|
|
@@ -43,6 +44,7 @@ instance = MergeAccountingClient::IncomeStatement.new(
|
|
43
44
|
non_operating_expenses: [{"remote_id":"10299","name":"Total Non-Operating Expenses","value":100.0,"sub_items":[]}],
|
44
45
|
net_income: 100.0,
|
45
46
|
remote_was_deleted: null,
|
47
|
+
modified_at: 2021-10-16T00:00Z,
|
46
48
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
47
49
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
48
50
|
)
|
data/docs/IncomeStatementsApi.md
CHANGED
@@ -39,8 +39,8 @@ opts = {
|
|
39
39
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
43
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
43
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
46
46
|
}
|
@@ -84,8 +84,8 @@ end
|
|
84
84
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
85
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
86
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
87
|
-
| **modified_after** | **Time** | If provided,
|
88
|
-
| **modified_before** | **Time** | If provided,
|
87
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
88
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
89
89
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
90
90
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
91
91
|
|
data/docs/Invoice.md
CHANGED
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **type** | [**InvoiceTypeEnum**](InvoiceTypeEnum.md) | Whether the invoice is an accounts receivable or accounts payable. If `type` is `accounts_payable`, the invoice is a bill. If `type` is `accounts_receivable`, it is an invoice. * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE | [optional] |
|
8
9
|
| **contact** | **String** | The invoice's contact. | [optional] |
|
9
10
|
| **number** | **String** | The invoice's number. | [optional] |
|
10
11
|
| **issue_date** | **Time** | The invoice's issue date. | [optional] |
|
@@ -20,11 +21,12 @@
|
|
20
21
|
| **total_amount** | **Float** | The invoice's total amount. | [optional] |
|
21
22
|
| **balance** | **Float** | The invoice's remaining balance. | [optional] |
|
22
23
|
| **remote_updated_at** | **Time** | When the third party's invoice entry was updated. | [optional] |
|
24
|
+
| **tracking_categories** | **Array<String>** | | [optional] |
|
23
25
|
| **payments** | **Array<String>** | Array of `Payment` object IDs. | [optional] |
|
24
26
|
| **line_items** | [**Array<InvoiceLineItem>**](InvoiceLineItem.md) | | [optional][readonly] |
|
25
27
|
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
26
|
-
| **id** | **String** | | [optional][readonly] |
|
27
28
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
29
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
28
30
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
29
31
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
30
32
|
|
@@ -34,6 +36,7 @@
|
|
34
36
|
require 'merge_accounting_client'
|
35
37
|
|
36
38
|
instance = MergeAccountingClient::Invoice.new(
|
39
|
+
id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46,
|
37
40
|
type: ACCOUNTS_RECEIVABLE,
|
38
41
|
contact: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8,
|
39
42
|
number: AIQ12546,
|
@@ -50,11 +53,12 @@ instance = MergeAccountingClient::Invoice.new(
|
|
50
53
|
total_amount: 105,
|
51
54
|
balance: 105,
|
52
55
|
remote_updated_at: 2020-04-01T00:00Z,
|
56
|
+
tracking_categories: ["7dc5ca17-d311-44cd-9ce0-333080367a18","6aa0700c-48e1-4c4a-8162-02e6a582df05","8c933d61-8f5b-4360-ac0c-c9dc87bee763"],
|
53
57
|
payments: ["b26fd49a-cbae-470a-a8f8-bcbc119e0390"],
|
54
58
|
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"]}]}],
|
55
59
|
remote_was_deleted: null,
|
56
|
-
id: 9871b4a9-f5d2-4f3b-a66b-dfedbed42c46,
|
57
60
|
remote_id: 990110,
|
61
|
+
modified_at: 2021-10-16T00:00Z,
|
58
62
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
59
63
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
60
64
|
)
|
data/docs/InvoiceLineItem.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **tracking_categories** | **Array<String>** | | [optional] |
|
18
18
|
| **company** | **String** | The company the line item belongs to. | [optional] |
|
19
19
|
| **id** | **String** | | [optional][readonly] |
|
20
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
20
21
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
22
|
|
22
23
|
## Example
|
@@ -38,6 +39,7 @@ instance = MergeAccountingClient::InvoiceLineItem.new(
|
|
38
39
|
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
39
40
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
40
41
|
id: 022a2bef-57e5-4def-8ed2-7c41bd9a5ed8,
|
42
|
+
modified_at: 2021-10-16T00:00Z,
|
41
43
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
42
44
|
)
|
43
45
|
```
|
data/docs/InvoiceRequest.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **type** | [**InvoiceTypeEnum**](InvoiceTypeEnum.md) | Whether the invoice is an accounts receivable or accounts payable.
|
7
|
+
| **type** | [**InvoiceTypeEnum**](InvoiceTypeEnum.md) | Whether the invoice is an accounts receivable or accounts payable. If `type` is `accounts_payable`, the invoice is a bill. If `type` is `accounts_receivable`, it is an invoice. * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE | [optional] |
|
8
8
|
| **contact** | **String** | The invoice's contact. | [optional] |
|
9
9
|
| **number** | **String** | The invoice's number. | [optional] |
|
10
10
|
| **issue_date** | **Time** | The invoice's issue date. | [optional] |
|
@@ -20,6 +20,7 @@
|
|
20
20
|
| **total_amount** | **Float** | The invoice's total amount. | [optional] |
|
21
21
|
| **balance** | **Float** | The invoice's remaining balance. | [optional] |
|
22
22
|
| **payments** | **Array<String>** | Array of `Payment` object IDs. | [optional] |
|
23
|
+
| **tracking_categories** | **Array<String>** | | [optional] |
|
23
24
|
| **line_items** | [**Array<InvoiceLineItemRequest>**](InvoiceLineItemRequest.md) | | [optional] |
|
24
25
|
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
25
26
|
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
@@ -46,6 +47,7 @@ instance = MergeAccountingClient::InvoiceRequest.new(
|
|
46
47
|
total_amount: null,
|
47
48
|
balance: null,
|
48
49
|
payments: null,
|
50
|
+
tracking_categories: null,
|
49
51
|
line_items: null,
|
50
52
|
integration_params: null,
|
51
53
|
linked_account_params: null
|
data/docs/InvoicesApi.md
CHANGED
@@ -123,8 +123,8 @@ opts = {
|
|
123
123
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
124
124
|
issue_date_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
125
125
|
issue_date_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
126
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
127
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
126
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
127
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
128
128
|
page_size: 56, # Integer | Number of results to return per page.
|
129
129
|
remote_fields: 'type', # String | Deprecated. Use show_enum_origins.
|
130
130
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
@@ -174,8 +174,8 @@ end
|
|
174
174
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
175
175
|
| **issue_date_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
176
176
|
| **issue_date_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
177
|
-
| **modified_after** | **Time** | If provided,
|
178
|
-
| **modified_before** | **Time** | If provided,
|
177
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
178
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
179
179
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
180
180
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
181
181
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
data/docs/Issue.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
|
-
| **status** | [**IssueStatusEnum**](IssueStatusEnum.md) | | [optional] |
|
8
|
+
| **status** | [**IssueStatusEnum**](IssueStatusEnum.md) | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED | [optional] |
|
9
9
|
| **error_description** | **String** | | |
|
10
10
|
| **end_user** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
11
11
|
| **first_incident_time** | **Time** | | [optional] |
|
data/docs/IssuesApi.md
CHANGED
@@ -39,11 +39,11 @@ opts = {
|
|
39
39
|
first_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was before this datetime.
|
40
40
|
include_muted: 'include_muted_example', # String | If True, will include muted issues
|
41
41
|
integration_name: 'integration_name_example', # String |
|
42
|
-
last_incident_time_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose
|
43
|
-
last_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose
|
42
|
+
last_incident_time_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose last incident time was after this datetime.
|
43
|
+
last_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose last incident time was before this datetime.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
start_date: 'start_date_example', # String | If included, will only include issues whose most recent action occurred after this time
|
46
|
-
status: 'ONGOING' # String |
|
46
|
+
status: 'ONGOING' # String | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED
|
47
47
|
}
|
48
48
|
|
49
49
|
begin
|
@@ -85,11 +85,11 @@ end
|
|
85
85
|
| **first_incident_time_before** | **Time** | If provided, will only return issues whose first incident time was before this datetime. | [optional] |
|
86
86
|
| **include_muted** | **String** | If True, will include muted issues | [optional] |
|
87
87
|
| **integration_name** | **String** | | [optional] |
|
88
|
-
| **last_incident_time_after** | **Time** | If provided, will only return issues whose
|
89
|
-
| **last_incident_time_before** | **Time** | If provided, will only return issues whose
|
88
|
+
| **last_incident_time_after** | **Time** | If provided, will only return issues whose last incident time was after this datetime. | [optional] |
|
89
|
+
| **last_incident_time_before** | **Time** | If provided, will only return issues whose last incident time was before this datetime. | [optional] |
|
90
90
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
91
91
|
| **start_date** | **String** | If included, will only include issues whose most recent action occurred after this time | [optional] |
|
92
|
-
| **status** | **String** |
|
92
|
+
| **status** | **String** | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED | [optional] |
|
93
93
|
|
94
94
|
### Return type
|
95
95
|
|
data/docs/Item.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
| **company** | **String** | The company the item belongs to. | [optional] |
|
16
16
|
| **remote_updated_at** | **Time** | When the third party's item note was updated. | [optional] |
|
17
17
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
18
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
18
19
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
19
20
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
20
21
|
|
@@ -35,6 +36,7 @@ instance = MergeAccountingClient::Item.new(
|
|
35
36
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
36
37
|
remote_updated_at: 2020-03-31T00:00Z,
|
37
38
|
remote_was_deleted: null,
|
39
|
+
modified_at: 2021-10-16T00:00Z,
|
38
40
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
39
41
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
40
42
|
)
|
data/docs/ItemsApi.md
CHANGED
@@ -39,8 +39,8 @@ opts = {
|
|
39
39
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
43
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
43
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
remote_fields: 'status', # String | Deprecated. Use show_enum_origins.
|
46
46
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
@@ -86,8 +86,8 @@ end
|
|
86
86
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
87
87
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
88
88
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
89
|
-
| **modified_after** | **Time** | If provided,
|
90
|
-
| **modified_before** | **Time** | If provided,
|
89
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
90
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
91
91
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
92
92
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
93
93
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
data/docs/JournalEntriesApi.md
CHANGED
@@ -120,8 +120,8 @@ opts = {
|
|
120
120
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
121
121
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
122
122
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
123
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
124
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
123
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
124
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
125
125
|
page_size: 56, # Integer | Number of results to return per page.
|
126
126
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
127
127
|
transaction_date_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
@@ -167,8 +167,8 @@ end
|
|
167
167
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
168
168
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
169
169
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
170
|
-
| **modified_after** | **Time** | If provided,
|
171
|
-
| **modified_before** | **Time** | If provided,
|
170
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
171
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
172
172
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
173
173
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
174
174
|
| **transaction_date_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
data/docs/JournalEntry.md
CHANGED
@@ -13,10 +13,12 @@
|
|
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
15
|
| **lines** | [**Array<JournalLine>**](JournalLine.md) | | [optional][readonly] |
|
16
|
+
| **tracking_categories** | **Array<String>** | | [optional] |
|
16
17
|
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
17
18
|
| **posting_status** | [**PostingStatusEnum**](PostingStatusEnum.md) | The journal's posting status. * `UNPOSTED` - UNPOSTED * `POSTED` - POSTED | [optional] |
|
18
19
|
| **id** | **String** | | [optional][readonly] |
|
19
20
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
21
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
20
22
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
23
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
22
24
|
|
@@ -35,10 +37,12 @@ instance = MergeAccountingClient::JournalEntry.new(
|
|
35
37
|
exchange_rate: 2.9,
|
36
38
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
37
39
|
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}],
|
40
|
+
tracking_categories: ["b38c59b0-a9d7-4740-b1ee-5436c6751e3d","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
38
41
|
remote_was_deleted: null,
|
39
42
|
posting_status: POSTED,
|
40
43
|
id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
|
41
44
|
remote_id: 088899,
|
45
|
+
modified_at: 2021-10-16T00:00Z,
|
42
46
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
43
47
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
44
48
|
)
|
data/docs/JournalLine.md
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
| **contact** | **String** | | [optional] |
|
13
13
|
| **description** | **String** | The line's description. | [optional] |
|
14
14
|
| **exchange_rate** | **String** | The journal line item's exchange rate. | [optional] |
|
15
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = MergeAccountingClient::JournalLine.new(
|
|
26
27
|
tracking_categories: ["d25d609b-945f-4762-b55a-1c8fb220c43c","9b840d2-686a-465a-8a8e-7b028498f8e4","a47e11b6-c73b-4a0c-be31-130fc48177fa"],
|
27
28
|
contact: d2d5ea3c-b032-11ec-b909-0242ac120002,
|
28
29
|
description: Cash payment for lunch,
|
29
|
-
exchange_rate: 2.9
|
30
|
+
exchange_rate: 2.9,
|
31
|
+
modified_at: 2021-10-16T00:00Z
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|