SDKs
Official client libraries for the Expensicat API
TypeScript SDK
The official TypeScript SDK provides type-safe access to the Expensicat API.
npm install @expensicat/sdkQuick start
import { Expensicat } from '@expensicat/sdk';
const client = new Expensicat({
bearerAuth: 'YOUR_TOKEN',
});
const { transactions } = await client.transactions.list();Features
- Full TypeScript types generated from the OpenAPI spec
- Automatic request/response validation
- Built-in retry logic with configurable backoff
- ESM and CommonJS support
Resources
The SDK provides methods for all API resources:
client.transactions— Transaction operationsclient.entries— Entry operationsclient.invoices— Invoice managementclient.customers— Customer managementclient.projects— Project managementclient.bankAccounts— Bank account operationsclient.categories— Category managementclient.timeEntries— Time trackingclient.documents— Document managementclient.recurringInvoices— Recurring invoice seriesclient.metrics— Financial analyticsclient.organizations— Organization settingsclient.members— Team member managementclient.integrations— Integration management