Python Client SDK Generated by Speakeasy
Project description
Accounting API
Codat's Accounting API is a flexible API for pulling and pushing up-to-date accounting data to your customer's accounting software. It gives you a simple way to view, create, update adn delete data without having to worry about each platform's specific complexities.
SDK Installation
pip install codat-accounting
SDK Example Usage
import codataccounting
from codataccounting.models import operations
s = codataccounting.CodatAccounting(
security=shared.Security(
auth_header="Basic BASE_64_ENCODED(API_KEY)",
),
)
req = operations.GetAccountTransactionRequest(
account_transaction_id='corrupti',
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
)
res = s.account_transactions.get(req)
if res.account_transaction is not None:
# handle response
Available Resources and Operations
account_transactions
accounts
- create - Create account
- get - Get account
- get_create_model - Get create account model
- list - List accounts
bank_account_transactions
- create - Create bank transactions
- get_create_model - List push options for bank account bank transactions
- list - List bank transactions for bank account
bank_accounts
- create - Create bank account
get- Get bank account :warning: Deprecated- get_create_update_model - Get create/update bank account model
- list - List bank accounts
- update - Update bank account
bill_credit_notes
- create - Create bill credit note
- get - Get bill credit note
- get_create_update_model - Get create/update bill credit note model
- list - List bill credit notes
- update - Update bill credit note
bill_payments
- create - Create bill payments
- delete - Delete bill payment
- get - Get bill payment
- get_create_model - Get create bill payment model
- list - List bill payments
bills
- create - Create bill
- delete - Delete bill
- download_attachment - Download bill attachment
- get - Get bill
- get_attachment - Get bill attachment
- get_create_update_model - Get create/update bill model
- list - List bills
- list_attachments - List bill attachments
- update - Update bill
- upload_attachment - Upload bill attachment
company_info
credit_notes
- create - Create credit note
- get - Get credit note
- get_create_update_model - Get create/update credit note model
- list - List credit notes
- update - Update creditNote
customers
- create - Create customer
- download_attachment - Download customer attachment
- get - Get customer
- get_attachment - Get customer attachment
- get_create_update_model - Get create/update customer model
- list - List customers
- list_attachments - List customer attachments
- update - Update customer
direct_costs
- create - Create direct cost
- download_attachment - Download direct cost attachment
- get - Get direct cost
- get_attachment - Get direct cost attachment
- get_create_model - Get create direct cost model
- list - List direct costs
- list_attachments - List direct cost attachments
- upload_attachment - Upload direct cost attachment
direct_incomes
- create - Create direct income
- download_attachment - Download direct income attachment
- get - Get direct income
- get_attachment - Get direct income attachment
- get_create_model - Get create direct income model
- list - List direct incomes
- list_attachments - List direct income attachments
- upload_attachment - Create direct income attachment
invoices
- create - Create invoice
- delete - Delete invoice
- download_attachment - Download invoice attachment
- download_pdf - Get invoice as PDF
- get - Get invoice
- get_attachment - Get invoice attachment
- get_create_update_model - Get create/update invoice model
- list - List invoices
- list_attachments - List invoice attachments
- update - Update invoice
- upload_attachment - Push invoice attachment
items
- create - Create item
- get - Get item
- get_create_model - Get create item model
- list - List items
journal_entries
- create - Create journal entry
- delete - Delete journal entry
- get - Get journal entry
- get_create_model - Get create journal entry model
- list - List journal entries
journals
- create - Create journal
- get - Get journal
- get_create_model - Get create journal model
- list - List journals
payment_methods
payments
- create - Create payment
- get - Get payment
- get_create_model - Get create payment model
- list - List payments
purchase_orders
- create - Create purchase order
- get - Get purchase order
- get_create_update_model - Get create/update purchase order model
- list - List purchase orders
- update - Update purchase order
reports
- get_aged_creditors_report - Aged creditors report
- get_aged_debtors_report - Aged debtors report
- get_balance_sheet - Get balance sheet
- get_cash_flow_statement - Get cash flow statement
- get_profit_and_loss - Get profit and loss
- is_aged_creditors_report_available - Aged creditors report available
- is_aged_debtor_report_available - Aged debtors report available
sales_orders
suppliers
- create - Create supplier
- download_attachment - Download supplier attachment
- get - Get supplier
- get_attachment - Get supplier attachment
- get_create_update_model - Get create/update supplier model
- list - List suppliers
- list_attachments - List supplier attachments
- update - Update supplier
tax_rates
tracking_categories
transfers
- create - Create transfer
- get - Get transfer
- get_create_model - Get create transfer model
- list - List transfers
SDK Generated by Speakeasy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
codat-accounting-0.18.1.tar.gz
(119.3 kB
view hashes)
Built Distribution
Close
Hashes for codat_accounting-0.18.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87576295041d73eda81640a363a422a6004dadd46443e519af87ff05f85ec242 |
|
MD5 | a008cade089811d5f2bb1e33bc839ca3 |
|
BLAKE2b-256 | 8ba2e04208212fe8b63234e29f4651ff523a0d84f85958aed348a1ad6709cd0f |