Tools for building
Choose your SDK, work from the terminal or generate a client from OpenAPI.
Official SDKs
Compare SDKs
Official TypeScript and PHP SDKs for the Factuarea API — install @factuarea/sdk or factuarea/factuarea-php and get retries, idempotency, cursor pagination, typed errors and webhook verification out of the box.
TypeScript
Install @factuarea/sdk for Node.js, authenticate, and create your first invoice. Dual ESM + CommonJS, full type declarations, Node 20+.
PHP
Install factuarea/factuarea-php with Composer, authenticate, and create your first invoice. PSR-4, Guzzle-based, PHP 8.2+.
Command line
Installation and authentication
Install and authenticate the official factuarea CLI — drive the v1 REST API from your terminal with brew, npm or a curl installer. Agent-first, Stripe-inspired.
Commands
The factuarea command tree — list, show, create, domain actions, binary downloads, multipart uploads, the generic api escape hatch and the commands --json manifest.
Local webhooks
Test Factuarea webhooks locally without deploying or ngrok — factuarea listen forwards your account's events to localhost with a signed body, factuarea trigger produces real sandbox events.
Agents & scripting
The factuarea CLI agent-first contract — stable JSON on stdout, structured errors on stderr, semantic exit codes, the commands --json manifest, local scope-check and typed confirmation for irreversible operations.
Contract and diagnostics
OpenAPI and AI resources
Use OpenAPI to explore the API or generate a client. Official SDKs are the first choice for TypeScript and PHP.
Error catalog
Every public API error code grouped by category, with a page per code covering its cause and what to do.
Support
How to reach the Factuarea API team, what to include when reporting an issue, how API access works, the status page and the changelog.