mergepythonclient 2.1.0__py3-none-any.whl → 2.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. merge/core/client_wrapper.py +2 -2
  2. merge/core/force_multipart.py +4 -2
  3. merge/core/http_response.py +1 -1
  4. merge/core/unchecked_base_model.py +41 -3
  5. merge/resources/accounting/__init__.py +64 -0
  6. merge/resources/accounting/client.py +5 -0
  7. merge/resources/accounting/resources/__init__.py +10 -0
  8. merge/resources/accounting/resources/accounting_periods/client.py +6 -2
  9. merge/resources/accounting/resources/accounts/client.py +6 -2
  10. merge/resources/accounting/resources/attachments/client.py +6 -2
  11. merge/resources/accounting/resources/audit_trail/client.py +6 -2
  12. merge/resources/accounting/resources/balance_sheets/client.py +6 -2
  13. merge/resources/accounting/resources/bank_feed_accounts/client.py +6 -2
  14. merge/resources/accounting/resources/bank_feed_transactions/client.py +6 -2
  15. merge/resources/accounting/resources/cash_flow_statements/client.py +6 -2
  16. merge/resources/accounting/resources/company_info/client.py +6 -2
  17. merge/resources/accounting/resources/contacts/client.py +195 -4
  18. merge/resources/accounting/resources/contacts/raw_client.py +203 -0
  19. merge/resources/accounting/resources/credit_notes/client.py +6 -2
  20. merge/resources/accounting/resources/employees/client.py +67 -2
  21. merge/resources/accounting/resources/employees/raw_client.py +62 -0
  22. merge/resources/accounting/resources/expense_reports/__init__.py +15 -0
  23. merge/resources/accounting/resources/expense_reports/client.py +1015 -0
  24. merge/resources/accounting/resources/expense_reports/raw_client.py +1020 -0
  25. merge/resources/accounting/resources/expense_reports/types/__init__.py +13 -0
  26. merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py +265 -0
  27. merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py +73 -0
  28. merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py +73 -0
  29. merge/resources/accounting/resources/expenses/client.py +18 -6
  30. merge/resources/accounting/resources/general_ledger_transactions/client.py +6 -2
  31. merge/resources/accounting/resources/income_statements/client.py +6 -2
  32. merge/resources/accounting/resources/invoices/client.py +18 -6
  33. merge/resources/accounting/resources/issues/client.py +6 -2
  34. merge/resources/accounting/resources/items/client.py +6 -2
  35. merge/resources/accounting/resources/journal_entries/client.py +18 -6
  36. merge/resources/accounting/resources/linked_accounts/client.py +6 -2
  37. merge/resources/accounting/resources/payment_methods/client.py +6 -2
  38. merge/resources/accounting/resources/payment_terms/client.py +6 -2
  39. merge/resources/accounting/resources/payments/client.py +18 -6
  40. merge/resources/accounting/resources/projects/client.py +67 -2
  41. merge/resources/accounting/resources/projects/raw_client.py +62 -0
  42. merge/resources/accounting/resources/purchase_orders/client.py +18 -6
  43. merge/resources/accounting/resources/sync_status/client.py +6 -2
  44. merge/resources/accounting/resources/tax_rates/client.py +6 -2
  45. merge/resources/accounting/resources/tracking_categories/client.py +6 -2
  46. merge/resources/accounting/resources/transactions/client.py +6 -2
  47. merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py +141 -0
  48. merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py +141 -0
  49. merge/resources/accounting/resources/vendor_credits/client.py +6 -2
  50. merge/resources/accounting/types/__init__.py +56 -0
  51. merge/resources/accounting/types/expense_report.py +423 -0
  52. merge/resources/accounting/types/expense_report_company.py +7 -0
  53. merge/resources/accounting/types/expense_report_line.py +441 -0
  54. merge/resources/accounting/types/expense_report_line_account.py +7 -0
  55. merge/resources/accounting/types/expense_report_line_company.py +7 -0
  56. merge/resources/accounting/types/expense_report_line_contact.py +7 -0
  57. merge/resources/accounting/types/expense_report_line_employee.py +7 -0
  58. merge/resources/accounting/types/expense_report_line_project.py +7 -0
  59. merge/resources/accounting/types/expense_report_line_request.py +427 -0
  60. merge/resources/accounting/types/expense_report_line_request_account.py +7 -0
  61. merge/resources/accounting/types/expense_report_line_request_company.py +7 -0
  62. merge/resources/accounting/types/expense_report_line_request_contact.py +7 -0
  63. merge/resources/accounting/types/expense_report_line_request_employee.py +7 -0
  64. merge/resources/accounting/types/expense_report_line_request_project.py +7 -0
  65. merge/resources/accounting/types/expense_report_line_request_tax_rate.py +7 -0
  66. merge/resources/accounting/types/expense_report_line_tax_rate.py +7 -0
  67. merge/resources/accounting/types/expense_report_request.py +401 -0
  68. merge/resources/accounting/types/expense_report_request_accounting_period.py +7 -0
  69. merge/resources/accounting/types/expense_report_request_company.py +7 -0
  70. merge/resources/accounting/types/expense_report_request_employee.py +7 -0
  71. merge/resources/accounting/types/expense_report_response.py +27 -0
  72. merge/resources/accounting/types/expense_report_status.py +7 -0
  73. merge/resources/accounting/types/expense_report_status_enum.py +36 -0
  74. merge/resources/accounting/types/external_target_field_api_response.py +3 -0
  75. merge/resources/accounting/types/field_mapping_api_instance_response.py +3 -0
  76. merge/resources/accounting/types/item.py +11 -0
  77. merge/resources/accounting/types/item_type.py +7 -0
  78. merge/resources/accounting/types/paginated_expense_report_line_list.py +23 -0
  79. merge/resources/accounting/types/paginated_expense_report_list.py +23 -0
  80. merge/resources/accounting/types/patched_contact_request.py +91 -0
  81. merge/resources/accounting/types/patched_contact_request_addresses_item.py +7 -0
  82. merge/resources/accounting/types/remote_field_class.py +1 -0
  83. merge/resources/ats/resources/activities/client.py +6 -2
  84. merge/resources/ats/resources/applications/client.py +6 -2
  85. merge/resources/ats/resources/attachments/client.py +6 -2
  86. merge/resources/ats/resources/audit_trail/client.py +6 -2
  87. merge/resources/ats/resources/candidates/client.py +6 -2
  88. merge/resources/ats/resources/departments/client.py +6 -2
  89. merge/resources/ats/resources/eeocs/client.py +6 -2
  90. merge/resources/ats/resources/interviews/client.py +6 -2
  91. merge/resources/ats/resources/issues/client.py +6 -2
  92. merge/resources/ats/resources/job_interview_stages/client.py +6 -2
  93. merge/resources/ats/resources/job_postings/client.py +6 -2
  94. merge/resources/ats/resources/jobs/client.py +8 -2
  95. merge/resources/ats/resources/linked_accounts/client.py +6 -2
  96. merge/resources/ats/resources/offers/client.py +6 -2
  97. merge/resources/ats/resources/offices/client.py +6 -2
  98. merge/resources/ats/resources/reject_reasons/client.py +6 -2
  99. merge/resources/ats/resources/scorecards/client.py +6 -2
  100. merge/resources/ats/resources/sync_status/client.py +6 -2
  101. merge/resources/ats/resources/tags/client.py +6 -2
  102. merge/resources/ats/resources/users/client.py +6 -2
  103. merge/resources/ats/types/event_type_enum.py +4 -0
  104. merge/resources/crm/resources/accounts/client.py +12 -4
  105. merge/resources/crm/resources/association_types/client.py +2 -0
  106. merge/resources/crm/resources/associations/client.py +2 -0
  107. merge/resources/crm/resources/audit_trail/client.py +6 -2
  108. merge/resources/crm/resources/contacts/client.py +12 -4
  109. merge/resources/crm/resources/custom_object_classes/client.py +6 -2
  110. merge/resources/crm/resources/custom_objects/client.py +8 -2
  111. merge/resources/crm/resources/engagement_types/client.py +12 -4
  112. merge/resources/crm/resources/engagements/client.py +12 -4
  113. merge/resources/crm/resources/issues/client.py +6 -2
  114. merge/resources/crm/resources/leads/client.py +12 -4
  115. merge/resources/crm/resources/linked_accounts/client.py +6 -2
  116. merge/resources/crm/resources/notes/client.py +12 -4
  117. merge/resources/crm/resources/opportunities/client.py +12 -4
  118. merge/resources/crm/resources/stages/client.py +12 -4
  119. merge/resources/crm/resources/sync_status/client.py +6 -2
  120. merge/resources/crm/resources/tasks/client.py +12 -4
  121. merge/resources/crm/resources/users/client.py +12 -4
  122. merge/resources/crm/types/remote_field_class.py +1 -0
  123. merge/resources/filestorage/resources/audit_trail/client.py +6 -2
  124. merge/resources/filestorage/resources/drives/client.py +6 -2
  125. merge/resources/filestorage/resources/files/client.py +42 -4
  126. merge/resources/filestorage/resources/files/raw_client.py +38 -0
  127. merge/resources/filestorage/resources/folders/client.py +6 -2
  128. merge/resources/filestorage/resources/groups/client.py +6 -2
  129. merge/resources/filestorage/resources/issues/client.py +6 -2
  130. merge/resources/filestorage/resources/linked_accounts/client.py +6 -2
  131. merge/resources/filestorage/resources/sync_status/client.py +6 -2
  132. merge/resources/filestorage/resources/users/client.py +6 -2
  133. merge/resources/hris/resources/audit_trail/client.py +6 -2
  134. merge/resources/hris/resources/bank_info/client.py +6 -2
  135. merge/resources/hris/resources/benefits/client.py +6 -2
  136. merge/resources/hris/resources/companies/client.py +6 -2
  137. merge/resources/hris/resources/dependents/client.py +6 -2
  138. merge/resources/hris/resources/employee_payroll_runs/client.py +6 -2
  139. merge/resources/hris/resources/employees/client.py +6 -2
  140. merge/resources/hris/resources/employer_benefits/client.py +6 -2
  141. merge/resources/hris/resources/employments/client.py +6 -2
  142. merge/resources/hris/resources/groups/client.py +6 -2
  143. merge/resources/hris/resources/issues/client.py +6 -2
  144. merge/resources/hris/resources/linked_accounts/client.py +6 -2
  145. merge/resources/hris/resources/locations/client.py +6 -2
  146. merge/resources/hris/resources/pay_groups/client.py +6 -2
  147. merge/resources/hris/resources/payroll_runs/client.py +6 -2
  148. merge/resources/hris/resources/sync_status/client.py +6 -2
  149. merge/resources/hris/resources/teams/client.py +6 -2
  150. merge/resources/hris/resources/time_off/client.py +6 -2
  151. merge/resources/hris/resources/time_off_balances/client.py +6 -2
  152. merge/resources/hris/resources/timesheet_entries/client.py +6 -2
  153. merge/resources/hris/types/benefit.py +4 -4
  154. merge/resources/ticketing/resources/accounts/client.py +6 -2
  155. merge/resources/ticketing/resources/attachments/client.py +6 -2
  156. merge/resources/ticketing/resources/audit_trail/client.py +6 -2
  157. merge/resources/ticketing/resources/collections/client.py +8 -2
  158. merge/resources/ticketing/resources/comments/client.py +6 -2
  159. merge/resources/ticketing/resources/contacts/client.py +6 -2
  160. merge/resources/ticketing/resources/issues/client.py +6 -2
  161. merge/resources/ticketing/resources/linked_accounts/client.py +6 -2
  162. merge/resources/ticketing/resources/projects/client.py +8 -2
  163. merge/resources/ticketing/resources/roles/client.py +6 -2
  164. merge/resources/ticketing/resources/sync_status/client.py +6 -2
  165. merge/resources/ticketing/resources/tags/client.py +6 -2
  166. merge/resources/ticketing/resources/teams/client.py +6 -2
  167. merge/resources/ticketing/resources/tickets/client.py +24 -4
  168. merge/resources/ticketing/resources/tickets/raw_client.py +10 -0
  169. merge/resources/ticketing/resources/users/client.py +6 -2
  170. merge/resources/ticketing/types/patched_ticket_request.py +5 -5
  171. merge/resources/ticketing/types/remote_field_class.py +1 -0
  172. {mergepythonclient-2.1.0.dist-info → mergepythonclient-2.2.0.dist-info}/METADATA +5 -2
  173. {mergepythonclient-2.1.0.dist-info → mergepythonclient-2.2.0.dist-info}/RECORD +175 -140
  174. {mergepythonclient-2.1.0.dist-info → mergepythonclient-2.2.0.dist-info}/LICENSE.md +0 -0
  175. {mergepythonclient-2.1.0.dist-info → mergepythonclient-2.2.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,427 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ import pydantic
7
+ from ....core.pydantic_utilities import IS_PYDANTIC_V2
8
+ from ....core.unchecked_base_model import UncheckedBaseModel
9
+ from .expense_report_line_request_account import ExpenseReportLineRequestAccount
10
+ from .expense_report_line_request_company import ExpenseReportLineRequestCompany
11
+ from .expense_report_line_request_contact import ExpenseReportLineRequestContact
12
+ from .expense_report_line_request_employee import ExpenseReportLineRequestEmployee
13
+ from .expense_report_line_request_project import ExpenseReportLineRequestProject
14
+ from .expense_report_line_request_tax_rate import ExpenseReportLineRequestTaxRate
15
+ from .remote_field_request import RemoteFieldRequest
16
+ from .transaction_currency_enum import TransactionCurrencyEnum
17
+
18
+
19
+ class ExpenseReportLineRequest(UncheckedBaseModel):
20
+ """
21
+ # The ExpenseReportLine Object
22
+ ### Description
23
+ The `ExpenseReportLine` object represents an individual line item within an expense report, containing details about
24
+ a specific expense such as amount, description, and associated metadata.
25
+
26
+ ### Usage Example
27
+ Fetch from the `GET ExpenseReport` endpoint and expand the lines field to view all line items in the expense report.
28
+ """
29
+
30
+ remote_id: typing.Optional[str] = pydantic.Field(default=None)
31
+ """
32
+ The third-party API ID of the matching object.
33
+ """
34
+
35
+ account: typing.Optional[ExpenseReportLineRequestAccount] = None
36
+ description: typing.Optional[str] = pydantic.Field(default=None)
37
+ """
38
+ Description of the individual expense.
39
+ """
40
+
41
+ expense_date: typing.Optional[dt.datetime] = pydantic.Field(default=None)
42
+ """
43
+ The date the individual expense was incurred.
44
+ """
45
+
46
+ amount: typing.Optional[float] = pydantic.Field(default=None)
47
+ """
48
+ The amount of the expense for the line item.
49
+ """
50
+
51
+ currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None)
52
+ """
53
+ Currency of the expense line (if different from the report currency).
54
+
55
+ * `XUA` - ADB Unit of Account
56
+ * `AFN` - Afghan Afghani
57
+ * `AFA` - Afghan Afghani (1927–2002)
58
+ * `ALL` - Albanian Lek
59
+ * `ALK` - Albanian Lek (1946–1965)
60
+ * `DZD` - Algerian Dinar
61
+ * `ADP` - Andorran Peseta
62
+ * `AOA` - Angolan Kwanza
63
+ * `AOK` - Angolan Kwanza (1977–1991)
64
+ * `AON` - Angolan New Kwanza (1990–2000)
65
+ * `AOR` - Angolan Readjusted Kwanza (1995–1999)
66
+ * `ARA` - Argentine Austral
67
+ * `ARS` - Argentine Peso
68
+ * `ARM` - Argentine Peso (1881–1970)
69
+ * `ARP` - Argentine Peso (1983–1985)
70
+ * `ARL` - Argentine Peso Ley (1970–1983)
71
+ * `AMD` - Armenian Dram
72
+ * `AWG` - Aruban Florin
73
+ * `AUD` - Australian Dollar
74
+ * `ATS` - Austrian Schilling
75
+ * `AZN` - Azerbaijani Manat
76
+ * `AZM` - Azerbaijani Manat (1993–2006)
77
+ * `BSD` - Bahamian Dollar
78
+ * `BHD` - Bahraini Dinar
79
+ * `BDT` - Bangladeshi Taka
80
+ * `BBD` - Barbadian Dollar
81
+ * `BYN` - Belarusian Ruble
82
+ * `BYB` - Belarusian Ruble (1994–1999)
83
+ * `BYR` - Belarusian Ruble (2000–2016)
84
+ * `BEF` - Belgian Franc
85
+ * `BEC` - Belgian Franc (convertible)
86
+ * `BEL` - Belgian Franc (financial)
87
+ * `BZD` - Belize Dollar
88
+ * `BMD` - Bermudan Dollar
89
+ * `BTN` - Bhutanese Ngultrum
90
+ * `BOB` - Bolivian Boliviano
91
+ * `BOL` - Bolivian Boliviano (1863–1963)
92
+ * `BOV` - Bolivian Mvdol
93
+ * `BOP` - Bolivian Peso
94
+ * `BAM` - Bosnia-Herzegovina Convertible Mark
95
+ * `BAD` - Bosnia-Herzegovina Dinar (1992–1994)
96
+ * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997)
97
+ * `BWP` - Botswanan Pula
98
+ * `BRC` - Brazilian Cruzado (1986–1989)
99
+ * `BRZ` - Brazilian Cruzeiro (1942–1967)
100
+ * `BRE` - Brazilian Cruzeiro (1990–1993)
101
+ * `BRR` - Brazilian Cruzeiro (1993–1994)
102
+ * `BRN` - Brazilian New Cruzado (1989–1990)
103
+ * `BRB` - Brazilian New Cruzeiro (1967–1986)
104
+ * `BRL` - Brazilian Real
105
+ * `GBP` - British Pound
106
+ * `BND` - Brunei Dollar
107
+ * `BGL` - Bulgarian Hard Lev
108
+ * `BGN` - Bulgarian Lev
109
+ * `BGO` - Bulgarian Lev (1879–1952)
110
+ * `BGM` - Bulgarian Socialist Lev
111
+ * `BUK` - Burmese Kyat
112
+ * `BIF` - Burundian Franc
113
+ * `XPF` - CFP Franc
114
+ * `KHR` - Cambodian Riel
115
+ * `CAD` - Canadian Dollar
116
+ * `CVE` - Cape Verdean Escudo
117
+ * `KYD` - Cayman Islands Dollar
118
+ * `XAF` - Central African CFA Franc
119
+ * `CLE` - Chilean Escudo
120
+ * `CLP` - Chilean Peso
121
+ * `CLF` - Chilean Unit of Account (UF)
122
+ * `CNX` - Chinese People’s Bank Dollar
123
+ * `CNY` - Chinese Yuan
124
+ * `CNH` - Chinese Yuan (offshore)
125
+ * `COP` - Colombian Peso
126
+ * `COU` - Colombian Real Value Unit
127
+ * `KMF` - Comorian Franc
128
+ * `CDF` - Congolese Franc
129
+ * `CRC` - Costa Rican Colón
130
+ * `HRD` - Croatian Dinar
131
+ * `HRK` - Croatian Kuna
132
+ * `CUC` - Cuban Convertible Peso
133
+ * `CUP` - Cuban Peso
134
+ * `CYP` - Cypriot Pound
135
+ * `CZK` - Czech Koruna
136
+ * `CSK` - Czechoslovak Hard Koruna
137
+ * `DKK` - Danish Krone
138
+ * `DJF` - Djiboutian Franc
139
+ * `DOP` - Dominican Peso
140
+ * `NLG` - Dutch Guilder
141
+ * `XCD` - East Caribbean Dollar
142
+ * `DDM` - East German Mark
143
+ * `ECS` - Ecuadorian Sucre
144
+ * `ECV` - Ecuadorian Unit of Constant Value
145
+ * `EGP` - Egyptian Pound
146
+ * `GQE` - Equatorial Guinean Ekwele
147
+ * `ERN` - Eritrean Nakfa
148
+ * `EEK` - Estonian Kroon
149
+ * `ETB` - Ethiopian Birr
150
+ * `EUR` - Euro
151
+ * `XBA` - European Composite Unit
152
+ * `XEU` - European Currency Unit
153
+ * `XBB` - European Monetary Unit
154
+ * `XBC` - European Unit of Account (XBC)
155
+ * `XBD` - European Unit of Account (XBD)
156
+ * `FKP` - Falkland Islands Pound
157
+ * `FJD` - Fijian Dollar
158
+ * `FIM` - Finnish Markka
159
+ * `FRF` - French Franc
160
+ * `XFO` - French Gold Franc
161
+ * `XFU` - French UIC-Franc
162
+ * `GMD` - Gambian Dalasi
163
+ * `GEK` - Georgian Kupon Larit
164
+ * `GEL` - Georgian Lari
165
+ * `DEM` - German Mark
166
+ * `GHS` - Ghanaian Cedi
167
+ * `GHC` - Ghanaian Cedi (1979–2007)
168
+ * `GIP` - Gibraltar Pound
169
+ * `XAU` - Gold
170
+ * `GRD` - Greek Drachma
171
+ * `GTQ` - Guatemalan Quetzal
172
+ * `GWP` - Guinea-Bissau Peso
173
+ * `GNF` - Guinean Franc
174
+ * `GNS` - Guinean Syli
175
+ * `GYD` - Guyanaese Dollar
176
+ * `HTG` - Haitian Gourde
177
+ * `HNL` - Honduran Lempira
178
+ * `HKD` - Hong Kong Dollar
179
+ * `HUF` - Hungarian Forint
180
+ * `IMP` - IMP
181
+ * `ISK` - Icelandic Króna
182
+ * `ISJ` - Icelandic Króna (1918–1981)
183
+ * `INR` - Indian Rupee
184
+ * `IDR` - Indonesian Rupiah
185
+ * `IRR` - Iranian Rial
186
+ * `IQD` - Iraqi Dinar
187
+ * `IEP` - Irish Pound
188
+ * `ILS` - Israeli New Shekel
189
+ * `ILP` - Israeli Pound
190
+ * `ILR` - Israeli Shekel (1980–1985)
191
+ * `ITL` - Italian Lira
192
+ * `JMD` - Jamaican Dollar
193
+ * `JPY` - Japanese Yen
194
+ * `JOD` - Jordanian Dinar
195
+ * `KZT` - Kazakhstani Tenge
196
+ * `KES` - Kenyan Shilling
197
+ * `KWD` - Kuwaiti Dinar
198
+ * `KGS` - Kyrgystani Som
199
+ * `LAK` - Laotian Kip
200
+ * `LVL` - Latvian Lats
201
+ * `LVR` - Latvian Ruble
202
+ * `LBP` - Lebanese Pound
203
+ * `LSL` - Lesotho Loti
204
+ * `LRD` - Liberian Dollar
205
+ * `LYD` - Libyan Dinar
206
+ * `LTL` - Lithuanian Litas
207
+ * `LTT` - Lithuanian Talonas
208
+ * `LUL` - Luxembourg Financial Franc
209
+ * `LUC` - Luxembourgian Convertible Franc
210
+ * `LUF` - Luxembourgian Franc
211
+ * `MOP` - Macanese Pataca
212
+ * `MKD` - Macedonian Denar
213
+ * `MKN` - Macedonian Denar (1992–1993)
214
+ * `MGA` - Malagasy Ariary
215
+ * `MGF` - Malagasy Franc
216
+ * `MWK` - Malawian Kwacha
217
+ * `MYR` - Malaysian Ringgit
218
+ * `MVR` - Maldivian Rufiyaa
219
+ * `MVP` - Maldivian Rupee (1947–1981)
220
+ * `MLF` - Malian Franc
221
+ * `MTL` - Maltese Lira
222
+ * `MTP` - Maltese Pound
223
+ * `MRU` - Mauritanian Ouguiya
224
+ * `MRO` - Mauritanian Ouguiya (1973–2017)
225
+ * `MUR` - Mauritian Rupee
226
+ * `MXV` - Mexican Investment Unit
227
+ * `MXN` - Mexican Peso
228
+ * `MXP` - Mexican Silver Peso (1861–1992)
229
+ * `MDC` - Moldovan Cupon
230
+ * `MDL` - Moldovan Leu
231
+ * `MCF` - Monegasque Franc
232
+ * `MNT` - Mongolian Tugrik
233
+ * `MAD` - Moroccan Dirham
234
+ * `MAF` - Moroccan Franc
235
+ * `MZE` - Mozambican Escudo
236
+ * `MZN` - Mozambican Metical
237
+ * `MZM` - Mozambican Metical (1980–2006)
238
+ * `MMK` - Myanmar Kyat
239
+ * `NAD` - Namibian Dollar
240
+ * `NPR` - Nepalese Rupee
241
+ * `ANG` - Netherlands Antillean Guilder
242
+ * `TWD` - New Taiwan Dollar
243
+ * `NZD` - New Zealand Dollar
244
+ * `NIO` - Nicaraguan Córdoba
245
+ * `NIC` - Nicaraguan Córdoba (1988–1991)
246
+ * `NGN` - Nigerian Naira
247
+ * `KPW` - North Korean Won
248
+ * `NOK` - Norwegian Krone
249
+ * `OMR` - Omani Rial
250
+ * `PKR` - Pakistani Rupee
251
+ * `XPD` - Palladium
252
+ * `PAB` - Panamanian Balboa
253
+ * `PGK` - Papua New Guinean Kina
254
+ * `PYG` - Paraguayan Guarani
255
+ * `PEI` - Peruvian Inti
256
+ * `PEN` - Peruvian Sol
257
+ * `PES` - Peruvian Sol (1863–1965)
258
+ * `PHP` - Philippine Peso
259
+ * `XPT` - Platinum
260
+ * `PLN` - Polish Zloty
261
+ * `PLZ` - Polish Zloty (1950–1995)
262
+ * `PTE` - Portuguese Escudo
263
+ * `GWE` - Portuguese Guinea Escudo
264
+ * `QAR` - Qatari Rial
265
+ * `XRE` - RINET Funds
266
+ * `RHD` - Rhodesian Dollar
267
+ * `RON` - Romanian Leu
268
+ * `ROL` - Romanian Leu (1952–2006)
269
+ * `RUB` - Russian Ruble
270
+ * `RUR` - Russian Ruble (1991–1998)
271
+ * `RWF` - Rwandan Franc
272
+ * `SVC` - Salvadoran Colón
273
+ * `WST` - Samoan Tala
274
+ * `SAR` - Saudi Riyal
275
+ * `RSD` - Serbian Dinar
276
+ * `CSD` - Serbian Dinar (2002–2006)
277
+ * `SCR` - Seychellois Rupee
278
+ * `SLL` - Sierra Leonean Leone
279
+ * `XAG` - Silver
280
+ * `SGD` - Singapore Dollar
281
+ * `SKK` - Slovak Koruna
282
+ * `SIT` - Slovenian Tolar
283
+ * `SBD` - Solomon Islands Dollar
284
+ * `SOS` - Somali Shilling
285
+ * `ZAR` - South African Rand
286
+ * `ZAL` - South African Rand (financial)
287
+ * `KRH` - South Korean Hwan (1953–1962)
288
+ * `KRW` - South Korean Won
289
+ * `KRO` - South Korean Won (1945–1953)
290
+ * `SSP` - South Sudanese Pound
291
+ * `SUR` - Soviet Rouble
292
+ * `ESP` - Spanish Peseta
293
+ * `ESA` - Spanish Peseta (A account)
294
+ * `ESB` - Spanish Peseta (convertible account)
295
+ * `XDR` - Special Drawing Rights
296
+ * `LKR` - Sri Lankan Rupee
297
+ * `SHP` - St. Helena Pound
298
+ * `XSU` - Sucre
299
+ * `SDD` - Sudanese Dinar (1992–2007)
300
+ * `SDG` - Sudanese Pound
301
+ * `SDP` - Sudanese Pound (1957–1998)
302
+ * `SRD` - Surinamese Dollar
303
+ * `SRG` - Surinamese Guilder
304
+ * `SZL` - Swazi Lilangeni
305
+ * `SEK` - Swedish Krona
306
+ * `CHF` - Swiss Franc
307
+ * `SYP` - Syrian Pound
308
+ * `STN` - São Tomé & Príncipe Dobra
309
+ * `STD` - São Tomé & Príncipe Dobra (1977–2017)
310
+ * `TVD` - TVD
311
+ * `TJR` - Tajikistani Ruble
312
+ * `TJS` - Tajikistani Somoni
313
+ * `TZS` - Tanzanian Shilling
314
+ * `XTS` - Testing Currency Code
315
+ * `THB` - Thai Baht
316
+ * `XXX` - The codes assigned for transactions where no currency is involved
317
+ * `TPE` - Timorese Escudo
318
+ * `TOP` - Tongan Paʻanga
319
+ * `TTD` - Trinidad & Tobago Dollar
320
+ * `TND` - Tunisian Dinar
321
+ * `TRY` - Turkish Lira
322
+ * `TRL` - Turkish Lira (1922–2005)
323
+ * `TMT` - Turkmenistani Manat
324
+ * `TMM` - Turkmenistani Manat (1993–2009)
325
+ * `USD` - US Dollar
326
+ * `USN` - US Dollar (Next day)
327
+ * `USS` - US Dollar (Same day)
328
+ * `UGX` - Ugandan Shilling
329
+ * `UGS` - Ugandan Shilling (1966–1987)
330
+ * `UAH` - Ukrainian Hryvnia
331
+ * `UAK` - Ukrainian Karbovanets
332
+ * `AED` - United Arab Emirates Dirham
333
+ * `UYW` - Uruguayan Nominal Wage Index Unit
334
+ * `UYU` - Uruguayan Peso
335
+ * `UYP` - Uruguayan Peso (1975–1993)
336
+ * `UYI` - Uruguayan Peso (Indexed Units)
337
+ * `UZS` - Uzbekistani Som
338
+ * `VUV` - Vanuatu Vatu
339
+ * `VES` - Venezuelan Bolívar
340
+ * `VEB` - Venezuelan Bolívar (1871–2008)
341
+ * `VEF` - Venezuelan Bolívar (2008–2018)
342
+ * `VND` - Vietnamese Dong
343
+ * `VNN` - Vietnamese Dong (1978–1985)
344
+ * `CHE` - WIR Euro
345
+ * `CHW` - WIR Franc
346
+ * `XOF` - West African CFA Franc
347
+ * `YDD` - Yemeni Dinar
348
+ * `YER` - Yemeni Rial
349
+ * `YUN` - Yugoslavian Convertible Dinar (1990–1992)
350
+ * `YUD` - Yugoslavian Hard Dinar (1966–1990)
351
+ * `YUM` - Yugoslavian New Dinar (1994–2002)
352
+ * `YUR` - Yugoslavian Reformed Dinar (1992–1993)
353
+ * `ZWN` - ZWN
354
+ * `ZRN` - Zairean New Zaire (1993–1998)
355
+ * `ZRZ` - Zairean Zaire (1971–1993)
356
+ * `ZMW` - Zambian Kwacha
357
+ * `ZMK` - Zambian Kwacha (1968–2012)
358
+ * `ZWD` - Zimbabwean Dollar (1980–2008)
359
+ * `ZWR` - Zimbabwean Dollar (2008)
360
+ * `ZWL` - Zimbabwean Dollar (2009)
361
+ """
362
+
363
+ exchange_rate: typing.Optional[str] = pydantic.Field(default=None)
364
+ """
365
+ Exchange rate used if the line item is in a foreign currency.
366
+ """
367
+
368
+ is_billable: typing.Optional[bool] = pydantic.Field(default=None)
369
+ """
370
+ Whether the expense line is billable to a client or project.
371
+ """
372
+
373
+ tracking_categories: typing.List[str] = pydantic.Field()
374
+ """
375
+ The related tracking categories associated with the expense report (Department, Location, Class, Expense Category)
376
+ """
377
+
378
+ employee: typing.Optional[ExpenseReportLineRequestEmployee] = pydantic.Field(default=None)
379
+ """
380
+ Identifier for the employee who submitted or is associated with the expense report
381
+ """
382
+
383
+ project: typing.Optional[ExpenseReportLineRequestProject] = None
384
+ company: typing.Optional[ExpenseReportLineRequestCompany] = pydantic.Field(default=None)
385
+ """
386
+ The subsidiary that the expense report is created in
387
+ """
388
+
389
+ contact: typing.Optional[ExpenseReportLineRequestContact] = None
390
+ quantity: typing.Optional[float] = pydantic.Field(default=None)
391
+ """
392
+ Quantity for the expense line (e.g., miles driven, items purchased).
393
+ """
394
+
395
+ unit_price: typing.Optional[float] = pydantic.Field(default=None)
396
+ """
397
+ Price per unit for the expense line (if applicable).
398
+ """
399
+
400
+ non_reimbursable: typing.Optional[bool] = pydantic.Field(default=None)
401
+ """
402
+ Whether the expense line is non-reimbursable (e.g., paid via company card).
403
+ """
404
+
405
+ tax_amount: typing.Optional[float] = pydantic.Field(default=None)
406
+ """
407
+ Tax amount applicable for the line item.
408
+ """
409
+
410
+ inclusive_of_tax: typing.Optional[bool] = pydantic.Field(default=None)
411
+ """
412
+ Whether the amount is inclusive of tax.
413
+ """
414
+
415
+ tax_rate: typing.Optional[ExpenseReportLineRequestTaxRate] = None
416
+ integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
417
+ linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
418
+ remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None
419
+
420
+ if IS_PYDANTIC_V2:
421
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
422
+ else:
423
+
424
+ class Config:
425
+ frozen = True
426
+ smart_union = True
427
+ extra = pydantic.Extra.allow
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .account import Account
6
+
7
+ ExpenseReportLineRequestAccount = typing.Union[str, Account]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .company_info import CompanyInfo
6
+
7
+ ExpenseReportLineRequestCompany = typing.Union[str, CompanyInfo]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .contact import Contact
6
+
7
+ ExpenseReportLineRequestContact = typing.Union[str, Contact]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .employee import Employee
6
+
7
+ ExpenseReportLineRequestEmployee = typing.Union[str, Employee]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .project import Project
6
+
7
+ ExpenseReportLineRequestProject = typing.Union[str, Project]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .tax_rate import TaxRate
6
+
7
+ ExpenseReportLineRequestTaxRate = typing.Union[str, TaxRate]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .tax_rate import TaxRate
6
+
7
+ ExpenseReportLineTaxRate = typing.Union[str, TaxRate]