Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions accounting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.GetAccountTransactionRequest(
account_transaction_id='corrupti',
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
Expand Down Expand Up @@ -58,12 +57,11 @@ if res.account_transaction is not None:
* [create](docs/bankaccounttransactions/README.md#create) - Create bank transactions
* [get_create_model](docs/bankaccounttransactions/README.md#get_create_model) - List push options for bank account bank transactions
* [list](docs/bankaccounttransactions/README.md#list) - List bank transactions for bank account
* [list_transactions](docs/bankaccounttransactions/README.md#list_transactions) - List all bank transactions

### [bank_accounts](docs/bankaccounts/README.md)

* [create](docs/bankaccounts/README.md#create) - Create bank account
* [get](docs/bankaccounts/README.md#get) - Get bank account
* [~~get~~](docs/bankaccounts/README.md#get) - Get bank account :warning: **Deprecated**
* [get_create_update_model](docs/bankaccounts/README.md#get_create_update_model) - Get create/update bank account model
* [list](docs/bankaccounts/README.md#list) - List bank accounts
* [update](docs/bankaccounts/README.md#update) - Update bank account
Expand Down Expand Up @@ -143,12 +141,6 @@ if res.account_transaction is not None:
* [list_attachments](docs/directincomes/README.md#list_attachments) - List direct income attachments
* [upload_attachment](docs/directincomes/README.md#upload_attachment) - Create direct income attachment

### [financials](docs/financials/README.md)

* [get_balance_sheet](docs/financials/README.md#get_balance_sheet) - Get balance sheet
* [get_cash_flow_statement](docs/financials/README.md#get_cash_flow_statement) - Get cash flow statement
* [get_profit_and_loss](docs/financials/README.md#get_profit_and_loss) - Get profit and loss

### [invoices](docs/invoices/README.md)

* [create](docs/invoices/README.md#create) - Create invoice
Expand Down Expand Up @@ -209,6 +201,9 @@ if res.account_transaction is not None:

* [get_aged_creditors_report](docs/reports/README.md#get_aged_creditors_report) - Aged creditors report
* [get_aged_debtors_report](docs/reports/README.md#get_aged_debtors_report) - Aged debtors report
* [get_balance_sheet](docs/reports/README.md#get_balance_sheet) - Get balance sheet
* [get_cash_flow_statement](docs/reports/README.md#get_cash_flow_statement) - Get cash flow statement
* [get_profit_and_loss](docs/reports/README.md#get_profit_and_loss) - Get profit and loss
* [is_aged_creditors_report_available](docs/reports/README.md#is_aged_creditors_report_available) - Aged creditors report available
* [is_aged_debtor_report_available](docs/reports/README.md#is_aged_debtor_report_available) - Aged debtors report available

Expand Down
10 changes: 9 additions & 1 deletion accounting/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,12 @@ Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.15.0] https://pypi.org/project/codat-accounting/0.15.0 - accounting
- [PyPI v0.15.0] https://pypi.org/project/codat-accounting/0.15.0 - accounting

## 2023-05-22 17:52:18
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
- Speakeasy CLI 1.37.4 (2.32.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.16.0] https://pypi.org/project/codat-accounting/0.16.0 - accounting
1 change: 0 additions & 1 deletion accounting/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.GetAccountTransactionRequest(
account_transaction_id='corrupti',
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
Expand Down
28 changes: 16 additions & 12 deletions accounting/docs/accounts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ Accounts

## create

Creates a new account for a given company.
The *Create accounts* endpoint creates a new [accounts](https://docs.codat.io/accounting-api#/schemas/Account) for a given company.

Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/accounting-api#/operations/get-create-chartOfAccounts-model).

> **Supported Integrations**
>
> Check out our [Knowledge UI](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
> Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.

[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.

### Example Usage

Expand All @@ -33,7 +35,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.CreateAccountRequest(
account=shared.Account(
currency='quibusdam',
Expand All @@ -50,8 +51,8 @@ req = operations.CreateAccountRequest(
name='Accounts Receivable',
nominal_code='610',
source_modified_date='corrupti',
status=shared.AccountStatusEnum.ACTIVE,
type=shared.AccountTypeEnum.ASSET,
status=shared.AccountStatus.ACTIVE,
type=shared.AccountType.ASSET,
valid_datatype_links=[
shared.ValidDataTypeLinks(
links=[
Expand Down Expand Up @@ -99,7 +100,9 @@ if res.create_account_response is not None:

## get

Gets a single account corresponding to the given ID.
The *Get account* endpoint returns a single [accounts](https://docs.codat.io/accounting-api#/schemas/Account) for a given `accountId`.

[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.

### Example Usage

Expand All @@ -113,7 +116,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.GetAccountRequest(
account_id='8a210b68-6988-11ed-a1eb-0242ac120002',
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
Expand All @@ -127,13 +129,15 @@ if res.account is not None:

## get_create_model

Get create account model. Returns the expected data for the request payload.
The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/accounting-api#/schemas/Account) for a given company and integration.

See the examples for integration-specific indicative models.

> **Supported Integrations**
>
> Check out our [Knowledge UI](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
> Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.

[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.

### Example Usage

Expand All @@ -147,7 +151,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.GetCreateChartOfAccountsModelRequest(
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
Expand All @@ -161,7 +164,9 @@ if res.push_option is not None:

## list

Gets the latest accounts for a company
The *List accounts* endpoint returns a list of [accounts](https://docs.codat.io/accounting-api#/schemas/Account) for a given company's connection.

[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.

### Example Usage

Expand All @@ -175,7 +180,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.ListAccountsRequest(
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
order_by='-modifiedDate',
Expand Down
7 changes: 3 additions & 4 deletions accounting/docs/accounttransactions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Account transactions

## get

Returns a specific [account transaction](https://docs.codat.io/accounting-api#/schemas/AccountTransaction).
Returns a specific [account transaction](https://docs.codat.io/accounting-api#/schemas/AccountTransaction).

### Example Usage

Expand All @@ -25,7 +25,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.GetAccountTransactionRequest(
account_transaction_id='provident',
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
Expand All @@ -40,7 +39,8 @@ if res.account_transaction is not None:

## list

Returns a list of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction) for a given company's connection.
The *List account transactions* endpoint returns a list of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction) for a given company's connection.


### Example Usage

Expand All @@ -54,7 +54,6 @@ s = codataccounting.CodatAccounting(
),
)


req = operations.ListAccountTransactionsRequest(
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
Expand Down
Loading