Skip to main content

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

  • get - Get account transaction
  • list - List account transactions

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

bill_credit_notes

bill_payments

bills

company_info

  • get - Get company info
  • refresh - Refresh company info

credit_notes

customers

direct_costs

direct_incomes

invoices

items

journal_entries

journals

payment_methods

  • get - Get payment method
  • list - List all payment methods

payments

purchase_orders

reports

sales_orders

  • get - Get sales order
  • list - List sales orders

suppliers

tax_rates

  • get - Get tax rate
  • list - List all tax rates

tracking_categories

  • get - Get tracking categories
  • list - List tracking categories

transfers

SDK Generated by Speakeasy

Project details


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.20.2.tar.gz (119.7 kB view hashes)

Uploaded Source

Built Distribution

codat_accounting-0.20.2-py3-none-any.whl (389.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page