Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

accounting-sh

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accounting-sh

Accounting API

  • 0.5.1
  • PyPI
  • Socket score

Maintainers
2

accounting-sh

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 7.5.10
  • Package version: 0.5.1
  • Generator version: 7.6.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

For more information, please visit https://accounting.sh

Requirements.

Python 3.10+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install accounting_sh

Then import the package:

import accounting_sh

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import accounting_sh

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import accounting_sh
from accounting_sh.exceptions import ApiException
from pprint import pprint


uuid = 'uuid_example' # str | The account uuid

accounting = accounting_sh.Accounting("access_token")
try:
    # Delete an account's connection
    api_response = accounting.account_connections_api.delete_account_connection(uuid)
    print("The response of AccountConnectionsApi->delete_account_connection:\n")
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountConnectionsApi->delete_account_connection: %s\n" % e)


Documentation for API Endpoints

All URIs are relative to https://api.accounting.sh

ClassMethodHTTP requestDescription
AccountConnectionsApidelete_account_connectionDELETE /accounts/{uuid}/connectDelete an account's connection
AccountConnectionsApilist_account_connectionsGET /accounts/{uuid}/connectList account's connections
AccountConnectionsApilist_banksGET /accounts/{uuid}/connect/banksList available bank connections
AccountingCodesApiadd_accounting_codePOST /accounting/codesAdd an accounting code
AccountingCodesApidelete_accounting_codeDELETE /accounting/codes/{uuid}Delete an accounting code
AccountingCodesApiget_accounting_codeGET /accounting/codes/{uuid}Get an accounting code
AccountingCodesApilist_accounting_codesGET /accounting/codesList company's accounting code
AccountingCodesApiupdate_accounting_codePUT /accounting/codes/{uuid}Update an accounting code
AccountsApiadd_accountPOST /accountsAdd an account
AccountsApidelete_accountDELETE /accounts/{uuid}Delete an account
AccountsApiget_accountGET /accounts/{uuid}Get an account
AccountsApilist_accountsGET /accountsList company's accounts
AccountsApiupdate_accountPUT /accounts/{uuid}Update an account
AttachmentsApiadd_attachmentPOST /attachmentsAdd an attachment
AttachmentsApidelete_attachmentDELETE /attachments/{uuid}Delete an attachment
AttachmentsApiget_attachmentGET /attachments/{uuid}Get an attachment
AttachmentsApilist_attachmentsGET /attachmentsList company's attachments
AttachmentsApiretrieve_attachmentsGET /attachments/resource/{resource}List company's attachments link to resource
AttachmentsApiupdate_attachmentPUT /attachments/{uuid}Update an attachment
BillsApiadd_billPOST /expenses/billsAdd a bill
BillsApiadd_bill_paymentPOST /expenses/bills/{uuid}/paymentsAdd a bill payment
BillsApidelete_billDELETE /expenses/bills/{uuid}Delete a bill
BillsApiget_billGET /expenses/bills/{uuid}Get a bill
BillsApiget_bill_documentGET /expenses/bills/{uuid}/documentGet a bill in PDF
BillsApilist_billsGET /expenses/billsList company's bills
BillsApiupdate_billPUT /expenses/bills/{uuid}Update a bill
BillsApiupdate_bill_paymentPUT /expenses/bills/{uuid}/payments/{payment}Update a bill payment
CategoriesApiadd_categoryPOST /categoriesAdd a category
CategoriesApidelete_categoryDELETE /categories/{uuid}Delete a category
CategoriesApiget_categoryGET /categories/{uuid}Get a category
CategoriesApilist_categoriesGET /categoriesList company's categories
CategoriesApiupdate_categoryPUT /categories/{uuid}Update a category
CompaniesApiadd_companyPOST /companiesAdd a company
CompaniesApidelete_companyDELETE /companies/{uuid}Delete a company
CompaniesApiget_companyGET /companies/{uuid}Get a company
CompaniesApiget_company_customizationGET /companies/{uuid}/customizationGet a company's customization parameters
CompaniesApiget_company_feature_setGET /companies/{uuid}/featuresList a company's feature set
CompaniesApilist_companiesGET /companiesList companies on this instance
CompaniesApiupdate_companyPUT /companies/{uuid}Update a company
CompanyStatisticsApiget_statisticsGET /companies/{uuid}/statistics/periodGet company's statistic
ContactsApiadd_contactPOST /contactsCreate a new contact
ContactsApidelete_contactDELETE /contacts/{uuid}Delete a contact
ContactsApiget_contactGET /contacts/{uuid}Retrieve a contact
ContactsApilist_contact_billsGET /contacts/{uuid}/billsList a contact's bills
ContactsApilist_contact_invoicesGET /contacts/{uuid}/invoicesList a contact's invoices
ContactsApilist_contactsGET /contactsList company's contacts
ContactsApiupdate_contactPUT /contacts/{uuid}Update a contact
CountriesApiget_translated_countriesGET /countries/{lang}Get translated list of countries
CredentialsApiadd_credentialPOST /credentialsAdd a credential
CredentialsApidelete_credentialDELETE /credentials/{uuid}Delete a credential
CredentialsApiget_credentialGET /credentials/{uuid}Get a credential
CredentialsApilist_credentialsGET /credentialsList company's credentials
CredentialsApilist_permissionsGET /credentials/permissionsList available permissions
CredentialsApimeGET /meGet current credential informations
CredentialsApiupdate_credentialPUT /credentials/{uuid}Update a credential
CredentialsApiuserveriaPOST /userveriaExchange a my stantabcorp (userveria) token for an Accounting Token
CurrencyApiget_exchange_rateGET /currency/{from}/{to}Get the latest currency exchange rate
DocumentsApicancel_reviewDELETE /documents/{uuid}/reviewCancel document review
DocumentsApidelete_documentDELETE /documents/{uuid}Delete a document
DocumentsApiget_documentGET /documents/{uuid}Get a document
DocumentsApilist_documentsGET /documentsList company's documents
DocumentsApiprocess_documentGET /documents/{uuid}/processProcess a document
DocumentsApireview_urlGET /documents/{uuid}/reviewGet url to review a document
DocumentsApiupdate_documentPUT /documents/{uuid}Update a document
DocumentsApiupload_documentPOST /documentsUpload a document
DocumentsApiview_documentGET /documents/{uuid}/viewView a document
ExpenseReportsApiadd_expense_reportPOST /expenses/expense-reportsAdd an expense report
ExpenseReportsApidelete_expense_reportDELETE /expenses/expense-reports/{uuid}Delete an expense report
ExpenseReportsApiexpense_report_o_auth_loginGET /expenses/expense-reports/login/{method}OAuth Login
ExpenseReportsApiget_expense_reportGET /expenses/expense-reports/{uuid}Get an expense report
ExpenseReportsApiget_expense_report_accountGET /expenses/expense-reports/meGet the currently connected expense report user details
ExpenseReportsApiget_expense_report_userGET /expenses/expense-reports/users/{uuid}Get an user details
ExpenseReportsApilist_expense_reportsGET /expenses/expense-reportsList company's expense reports.
ExpenseReportsApisend_expense_report_login_emailPOST /expenses/expense-reports/loginRequest login email
ExpenseReportsApiupdate_expense_reportPUT /expenses/expense-reports/{uuid}Update an expense report
ExpenseReportsApiupdate_expense_report_accountPUT /expenses/expense-reports/meUpdate the currently connected expense report user
ExpenseReportsApiupdate_expense_report_settingsPOST /expenses/expense-reports/settingsRetrieve company settings for expense reports
ExpenseReportsApiverify_expense_report_settingsPOST /expenses/expense-reports/verifyVerify expense reports settings
ExportApilist_exportsGET /exportList company's exports
ExportApirequest_exportPOST /exportRequest an export
InvoicesApiadd_invoicePOST /incomes/invoicesAdd an invoice
InvoicesApiadd_invoice_paymentPOST /incomes/invoices/{uuid}/paymentsAdd an invoice payment
InvoicesApidelete_invoiceDELETE /incomes/invoices/{uuid}Delete an invoice
InvoicesApiget_invoiceGET /incomes/invoices/{uuid}Get an invoice
InvoicesApiget_invoice_documentGET /incomes/invoices/{uuid}/documentGet an invoice in PDF
InvoicesApilist_invoicesGET /incomes/invoicesList company's invoices
InvoicesApilist_unpaid_invoicesGET /incomes/invoices/unpaidList company's unpaid invoices
InvoicesApiupdate_invoicePUT /incomes/invoices/{uuid}Update an invoice
InvoicesApiupdate_invoice_paymentPUT /incomes/invoices/{uuid}/payments/{payment}Update an invoice payment
LogsApilogsGET /logsList company's logs
NotificationApilist_notification_preferencesGET /notifications/preferences/{notification}List notification preferences
NotificationApilist_notificationsGET /notificationsList company's notifications
NotificationApisend_notificationPOST /notifications/sendSend a notification
NotificationApiupdate_notification_preferencesPUT /notifications/preferences/{notification}Update notification preferences
NotificationTypesApiadd_notification_typePOST /notifications/typesAdd a notification type
NotificationTypesApidelete_notification_typeDELETE /notifications/types/{uuid}Delete a notification type
NotificationTypesApiget_notification_typeGET /notifications/types/{uuid}Get a notification type
NotificationTypesApilist_notification_typesGET /notifications/typesList company's notification types
NotificationTypesApiupdate_notification_typePUT /notifications/types/{uuid}Update a notification type
OAuthConfigApiadd_o_auth_configurationPOST /oauthAdd an OAuth configuration
OAuthConfigApidelete_o_auth_configurationDELETE /oauth/{uuid}Delete an oauth configuration
OAuthConfigApiget_o_auth_configurationGET /oauth/{uuid}Get an OAuth configuration
OAuthConfigApilist_o_auth_configurationsGET /oauthList company's oauth configurations
OAuthConfigApilist_providersGET /oauth/providersList available providers
OAuthConfigApiupdate_o_auth_configurationPUT /oauth/{uuid}Update an oauth configuration
PaymentsApiadd_paymentPOST /expenses/paymentsAdd a payment
PaymentsApidelete_paymentDELETE /expenses/payments/{uuid}Delete a payment
PaymentsApiget_paymentGET /expenses/payments/{uuid}Get a payment
PaymentsApilist_paymentsGET /expenses/paymentsList company's payments
PaymentsApiupdate_paymentPUT /expenses/payments/{uuid}Update a payment
QuotesApiadd_quotePOST /quotesAdd a quote
QuotesApidelete_quoteDELETE /quotes/{uuid}Delete a quote
QuotesApiget_quoteGET /quotes/{uuid}Get a quote
QuotesApiget_quote_documentGET /quotes/{uuid}/documentGet a quote in PDF
QuotesApilist_quotesGET /quotesList company's quotes
QuotesApiupdate_quotePUT /quotes/{uuid}Update a quote
ReceiptsApiadd_receiptPOST /receiptsAdd a receipt
ReceiptsApidelete_receiptDELETE /receipts/{uuid}Delete a receipt
ReceiptsApiget_receiptGET /receipts/{uuid}Get a receipt
ReceiptsApiget_receipt_documentGET /receipts/{uuid}/documentGet a receipt in PDF
ReceiptsApilist_receiptsGET /receiptsList company's receipts
ReceiptsApiupdate_receiptPUT /receipts/{uuid}Update a receipt
RevenuesApiadd_revenuePOST /incomes/revenuesAdd a revenue
RevenuesApidelete_revenueDELETE /incomes/revenues/{uuid}Delete a revenue
RevenuesApiget_revenueGET /incomes/revenues/{uuid}Get a revenue
RevenuesApilist_revenuesGET /incomes/revenuesList company's revenues
RevenuesApiupdate_revenuePUT /incomes/revenues/{uuid}Update a revenue
RossumApilist_reviewsGET /external/rossum/reviewsList documents to be reviewes
SearchApisearchGET /searchSearch
SettingsApiget_settingsGET /companies/{uuid}/settings/{key}Get a company's settings
SettingsApilist_settingsGET /companies/{uuid}/settingsList company's settings
SettingsApiupdate_settingsPUT /companies/{uuid}/settings/{key}Update a company's settings
TagsApiadd_tagPOST /tagsAdd a tag
TagsApidelete_tagDELETE /tags/{uuid}Delete a tag
TagsApiget_tagGET /tags/{uuid}Get a tag
TagsApilist_tagsGET /tagsList company's tags
TagsApilist_tags_by_resourceGET /tags/attachments/{resource}List company's tags by resource attachment
TagsApiupdate_tagPUT /tags/{uuid}Update a tag
TaxApiget_tax_rateGET /tax/{country}Get the latest tax rate for a country
TaxApiverify_vat_idGET /vat/verify/{number}Verify a VAT ID
TransactionsApiadd_transactionPOST /transactionsAdd a transaction
TransactionsApiadd_transaction_codePOST /transactions/{uuid}/codesAdd a transaction's code
TransactionsApidelete_transactionDELETE /transactions/{uuid}Delete a transaction
TransactionsApidelete_transaction_codeDELETE /transactions/{uuid}/codes/{code}Delete a transaction's code
TransactionsApiget_transactionGET /transactions/{uuid}Get a transaction
TransactionsApiimport_transactionsPOST /transactions/importImport transactions - INTERNAL
TransactionsApilist_transaction_codesGET /transactions/{uuid}/codesList transaction's codes
TransactionsApilist_transactionsGET /transactionsList company's transactions
TransactionsApiupdate_transactionPUT /transactions/{uuid}Update a transaction
TransactionsApiupdate_transaction_codePUT /transactions/{uuid}/codesUpdate a transaction's code
TransfersApiadd_transferPOST /transfersAdd a transfer
TransfersApidelete_transferDELETE /transfers/{uuid}Delete a transfer
TransfersApiget_transferGET /transfers/{uuid}Get a transfer
TransfersApilist_transfersGET /transfersList company's transfers
TransfersApiupdate_transferPUT /transfers/{uuid}Update a transfer
VATIDApiadd_company_vat_idPOST /companies/{uuid}/vatAdd a company's Vat Id
VATIDApidelete_company_vat_idDELETE /companies/{uuid}/vat/{key}Delete a company's Vat Id
VATIDApiget_company_vat_idGET /companies/{uuid}/vat/{key}Get a company's Vat Id
VATIDApilist_company_vat_idGET /companies/{uuid}/vatList company's Vat Id
VATIDApiupdate_company_vat_idPUT /companies/{uuid}/vat/{key}Update a company's Vat Id
WebhooksApiadd_webhookPOST /webhooksAdd a webhook
WebhooksApidelete_webhookDELETE /webhooks/{uuid}Delete a webhook
WebhooksApiget_webhookGET /webhooks/{uuid}Get a webhook
WebhooksApiget_webhook_historyGET /webhooks/{uuid}/historyGet webhook's history
WebhooksApilist_webhook_eventsGET /webhooks/eventsList available webhook events
WebhooksApilist_webhooksGET /webhooksList company's webhooks
WebhooksApiupdate_webhookPUT /webhooks/{uuid}Update a webhook

Documentation For Authorization

Authentication schemes defined for the API:

bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc