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

@codat/accounting

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codat/accounting

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 co

  • 0.17.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
decreased by-23.75%
Maintainers
4
Weekly downloads
 
Created
Source

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

NPM

npm add @codat/accounting

Yarn

yarn add @codat/accounting

SDK Example Usage

import { CodatAccounting } from "@codat/accounting";
import { GetAccountTransactionResponse } from "@codat/accounting/dist/sdk/models/operations";
import { AccountTransactionStatus } from "@codat/accounting/dist/sdk/models/shared";

const sdk = new CodatAccounting({
  security: {
    authHeader: "Basic BASE_64_ENCODED(API_KEY)",
  },
});

sdk.accountTransactions.get({
  accountTransactionId: "corrupti",
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
}).then((res: GetAccountTransactionResponse) => {
  if (res.statusCode == 200) {
    // handle response
  }
});

Available Resources and Operations

accountTransactions

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

accounts

bankAccountTransactions

  • create - Create bank transactions
  • getCreateModel - List push options for bank account bank transactions
  • list - List bank transactions for bank account

bankAccounts

billCreditNotes

billPayments

bills

companyInfo

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

creditNotes

customers

directCosts

directIncomes

invoices

items

journalEntries

journals

paymentMethods

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

payments

purchaseOrders

reports

salesOrders

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

suppliers

taxRates

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

trackingCategories

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

transfers

SDK Generated by Speakeasy

FAQs

Package last updated on 08 Jun 2023

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