@@ -14,25 +14,20 @@ pip install codat-accounting
1414import codat
1515from codat.models import operations, shared
1616
17- s = codat.Codat()
18- s.config_security(
17+ s = codat.Codat(
1918 security = shared.Security(
20- api_key = " YOUR_API_KEY_HERE" ,
21- )
22- )
23-
24- req = operations.GetAccountTransactionRequest(
25- security = operations.GetAccountTransactionSecurity(
26- api_key = " YOUR_API_KEY_HERE" ,
27- ),
28- path_params = operations.GetAccountTransactionPathParams(
29- account_transaction_id = " unde" ,
30- company_id = " deserunt" ,
31- connection_id = " porro" ,
19+ auth_header = " YOUR_API_KEY_HERE" ,
3220 ),
3321)
22+
23+
24+ req = operations.GetCreateUpdateAccountTransactionsModelRequest(
25+ account_transaction_id = " unde" ,
26+ company_id = " deserunt" ,
27+ connection_id = " porro" ,
28+ )
3429
35- res = s.account_transactions.get_account_transaction (req)
30+ res = s.account_transactions.get_create_update_account_transactions_model (req)
3631
3732if res.source_modified_date is not None :
3833 # handle response
@@ -45,89 +40,105 @@ if res.source_modified_date is not None:
4540
4641### account_transactions
4742
48- * ` get_account_transaction ` - Get account transaction
43+ * ` get_create_update_account_transactions_model ` - Get account transaction
4944* ` list_account_transactions ` - List account transactions
5045
5146### accounts
5247
48+ * ` create_account ` - Create account
5349* ` get_account ` - Get account
5450* ` get_accounts ` - List accounts
55- * ` post_account ` - Create account
51+ * ` get_create_chart_of_accounts_model ` - Get create account model
5652
5753### bank_account_transactions
5854
5955* ` get_bank_account_push_options ` - List push options for bank account bank transactions
60- * ` list_all_bank_transactionscount ` - List bank transactions for bank account
56+ * ` list_bank_account_transactions ` - List bank transactions for bank account
6157* ` list_bank_transactions ` - List all bank transactions
6258* ` post_bank_transactions ` - Create bank transactions
6359
6460### bank_accounts
6561
62+ * ` create_bank_account ` - Create bank account
6663* ` get_all_bank_account ` - Get bank account
6764* ` get_bank_account ` - Get bank account
65+ * ` get_create_update_bank_accounts_model ` - Get create/update bank account model
6866* ` list_bank_accounts ` - List bank accounts
69- * ` post_bank_account ` - Create bank account
7067* ` put_bank_account ` - Update bank account
7168
7269### bill_credit_notes
7370
71+ * ` create_bill_credit_note ` - Create bill credit note
7472* ` get_bill_credit_note ` - Get bill credit note
73+ * ` get_create_update_bill_credit_notes_model ` - Get create/update bill credit note model
7574* ` list_bill_credit_notes ` - List bill credit notes
76- * ` post_bill_credit_note ` - Create bill credit note
7775* ` update_bill_credit_note ` - Update bill credit note
7876
7977### bill_payments
8078
79+ * ` create_bill_payment ` - Create bill payments
80+ * ` delete_companies_company_id_connections_connection_id_push_bill_payments_bill_payment_id ` - Delete bill payment
8181* ` get_bill_payments ` - Get bill payment
82+ * ` get_create_bill_payments_model ` - Get create bill payment model
8283* ` list_bill_payments ` - List bill payments
83- * ` post_bill_payment ` - Create bill payment
8484
8585### bills
8686
87+ * ` create_bill ` - Create bill
88+ * ` create_bill_attachments ` - Create bill attachments
89+ * ` delete_companies_company_id_connections_connection_id_push_bills_bill_id ` - Delete bill
8790* ` download_bill_attachment ` - Download bill attachment
8891* ` get_bill ` - Get bill
8992* ` get_bill_attachment ` - Get bill attachment
9093* ` get_bill_attachments ` - List bill attachments
94+ * ` get_create_update_bills_model ` - Get create/update bill model
9195* ` list_bills ` - List bills
92- * ` post_bill ` - Create bill
93- * ` post_bill_attachments ` - Create bill attachments
9496* ` update_bill ` - Update bill
9597
98+ ### company_info
99+
100+ * ` get_company_info ` - Get company info
101+ * ` post_sync_info ` - Refresh company info
102+
96103### credit_notes
97104
105+ * ` create_credit_note ` - Update creditNote
106+ * ` get_create_update_credit_notes_model ` - Get create/update credit note model
98107* ` get_credit_note ` - Get credit note
99108* ` list_credit_notes ` - List credit notes
100- * ` post_credit_note ` - Update creditNote
101109* ` push_credit_note ` - Create credit note
102110
103111### customers
104112
113+ * ` create_customer ` - Create customer
105114* ` download_customer_attachment ` - Download customer attachment
115+ * ` get_create_update_customers_model ` - Get create/update customer model
106116* ` get_customer ` - Get customer
107117* ` get_customer_attachment ` - Get customer attachment
108118* ` get_customer_attachments ` - List customer attachments
109119* ` get_customers ` - List customers
110- * ` post_customer ` - Create customer
111120* ` update_customer ` - Update customer
112121
113122### direct_costs
114123
124+ * ` create_direct_cost ` - Create direct cost
115125* ` download_direct_cost_attachment ` - Download direct cost attachment
126+ * ` get_create_direct_costs_model ` - Get create direct cost model
116127* ` get_direct_cost ` - Get direct cost
117128* ` get_direct_cost_attachment ` - Get direct cost attachment
118129* ` get_direct_costs ` - List direct costs
119130* ` list_direct_cost_attachments ` - List direct cost attachments
120- * ` post_direct_cost ` - Create direct cost
121131* ` post_direct_cost_attachment ` - Create direct cost attachment
122132
123133### direct_incomes
124134
135+ * ` create_direct_income ` - Create direct income
125136* ` download_direct_income_attachment ` - Download direct income attachment
137+ * ` get_create_direct_incomes_model ` - Get create direct income model
126138* ` get_direct_income ` - Get direct income
127139* ` get_direct_income_attachment ` - Get direct income attachment
128140* ` get_direct_incomes ` - Get direct incomes
129141* ` list_direct_income_attachments ` - List direct income attachments
130- * ` post_direct_income ` - Create direct income
131142* ` post_direct_income_attachment ` - Create direct income attachment
132143
133144### financials
@@ -136,37 +147,36 @@ if res.source_modified_date is not None:
136147* ` get_cash_flow_statement ` - Get cash flow statement
137148* ` get_profit_and_loss ` - Get profit and loss
138149
139- ### info
140-
141- * ` get_company_info ` - Get company info
142- * ` post_sync_info ` - Refresh company info
143-
144150### invoices
145151
152+ * ` create_invoice ` - Create invoice
146153* ` donwload_invoice_attachment ` - Download invoice attachment
154+ * ` get_create_update_invoices_model ` - Get create/update invoice model
147155* ` get_invoice ` - Get invoice
148156* ` get_invoice_attachment ` - Get invoice attachment
149157* ` get_invoice_attachments ` - Get invoice attachments
150158* ` get_invoice_pdf ` - Get invoice as PDF
151159* ` list_invoices ` - List invoices
152- * ` post_invoice ` - Create invoice
153160* ` push_invoice_attachment ` - Push invoice attachment
154161* ` update_invoice ` - Update invoice
155162
156163### items
157164
165+ * ` create_item ` - Create item
166+ * ` get_create_items_model ` - Get create item model
158167* ` get_item ` - Get item
159168* ` list_items ` - List items
160- * ` post_item ` - Create item
161169
162170### journal_entries
163171
172+ * ` create_journal_entry ` - Create journal entry
173+ * ` get_create_journal_entries_model ` - Get create journal entry model
164174* ` get_journal_entry ` - Get journal entry
165175* ` list_journal_entries ` - List journal entries
166- * ` post_journal_entry ` - Create journal entry
167176
168177### journals
169178
179+ * ` get_create_journals_model ` - Get create journal model
170180* ` get_journal ` - Get journal
171181* ` list_journals ` - List journals
172182* ` push_journal ` - Create journal
@@ -178,15 +188,17 @@ if res.source_modified_date is not None:
178188
179189### payments
180190
191+ * ` create_payment ` - Create payment
192+ * ` get_create_payments_model ` - Get create payment model
181193* ` get_payment ` - Get payment
182194* ` list_payments ` - List payments
183- * ` post_payment ` - Create payment
184195
185196### purchase_orders
186197
198+ * ` create_purchase_order ` - Create purchase order
199+ * ` get_create_update_purchase_orders_model ` - Get create/update purchase order model
187200* ` get_purchase_order ` - Get purchase order
188201* ` list_purchase_orders ` - List purchase orders
189- * ` post_purchase_order ` - Create purchase order
190202* ` update_purchase_order ` - Update purchase order
191203
192204### reports
@@ -203,12 +215,13 @@ if res.source_modified_date is not None:
203215
204216### suppliers
205217
218+ * ` create_suppliers ` - Create suppliers
206219* ` download_supplier_attachment ` - Download supplier attachment
220+ * ` get_create_update_suppliers_model ` - Get create/update supplier model
207221* ` get_supplier ` - Get supplier
208222* ` get_supplier_attachment ` - Get supplier attachment
209223* ` list_supplier_attachments ` - List supplier attachments
210224* ` list_suppliers ` - List suppliers
211- * ` post_suppliers ` - Create suppliers
212225* ` put_supplier ` - Update supplier
213226
214227### tax_rates
@@ -223,9 +236,10 @@ if res.source_modified_date is not None:
223236
224237### transfers
225238
239+ * ` create_transfer ` - Create transfer
240+ * ` get_create_transfers_model ` - Get create transfer model
226241* ` get_transfer ` - Get transfer
227242* ` list_transfers ` - List transfers
228- * ` post_transfer ` - Create transfer
229243<!-- End SDK Available Operations -->
230244
231245### SDK Generated by [ Speakeasy] ( https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks )
0 commit comments