1.0.2 • Published 2 years ago

rootfi_accounting v1.0.2

Weekly downloads
-
License
Unlicense
Repository
-
Last release
2 years ago

RootFi SDK

RootFi makes it easy, safe and reliable for companies to connect their business customer's accounting data to their products and services.

This is an official Typescript client library for using RootFi APIs.

Installation

To install the library, run:

npm install rootfi_accounting

Usage

To get started with the library, you need to copy an api key from your RootFi Dashboard

import { Configuration, AccountsApi } from "rootfi_core";

const configuration = new Configuration({
	api_key: "your-api-key",
});

const account = await new AccountsApi(rootfiConfig).getWriteAccounts({
	company_id: 12,
	data: [
		{
			name: "Accounts Payable",
			description: "test account",
			currency: "INR",
			nominal_code: "A-01",
			sub_category: "cash",
		},
	],
});

console.log({ account: account.data });

To know more, visit our Docs.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago