Skip to content
Factuarea

Official Factuarea SDKs

Invoicing SDKs for Node.js, TypeScript and PHP

Bring invoices, contacts and payments into your application with the official packages. Install the SDK, connect your key and use the Factuarea API from your backend.

  • Node.js 20+ and PHP 8.2+
  • Install with npm or Composer
  • Sandbox key available

Compatible integrations and formats

  • Stripe
  • WhatsAppWhatsApp
  • Facturae
SDK · Official SDKs
Node.js 20+
npm install @factuarea/sdk
invoices.ts
import { Factuarea } from "@factuarea/sdk";

const factuarea = new Factuarea({
  apiKey: process.env.FACTUAREA_API_KEY!,
});

const invoices = await factuarea.invoices.list();

for await (const item of invoices) {
  const invoice = item as { id: string };
  console.log(invoice.id);
}
The SDK follows each page; your code works with each invoice.
GET /v1/invoicesYour invoices, from code

Retrieve documents to reconcile them, sync them with your ERP or prepare a report.

F-2026-142Estudio Ribera
F-2026-143Taller Norte
F-2026-144Nexo Digital
has_more: trueNext page
v0.9.0npm
Integrate with Node.js

Less infrastructure, more product

What your integration needs after the first 200

Fetching an invoice is only the beginning. The SDKs include tools for traversing data, handling responses and verifying notifications without rebuilding each piece.

Retries with a stable identity

Configurable retries for 429 and 5xx responses. In TypeScript 0.6.0, Retry-After is capped at 32 seconds by default; if the API requests longer, handle that wait in your integration. Keep your Idempotency-Key when repeating an operation.

Prevent duplicate operations

From one page to the whole list

TypeScript provides async iteration; PHP includes PageIterator. Traverse invoices and other cursor-based lists without maintaining a manual request loop.

Understand pagination

Verify who sent the event

Both SDKs verify the HMAC signature, message age and signatures during rotation. Your receiver preserves the raw body and decides how to handle the event.

Connect webhooks

Choose with the contract in view

Two languages. The same invoicing API

Each SDK follows its language’s conventions. For Python, Go, Java or C#, call REST directly or generate a client from OpenAPI and add the runtime behavior your integration needs.

Open the OpenAPI contract
OpenAPI
OpenAPI 3.1api.factuarea.com/v1
LanguageTypeScriptPHP
Methodsinvoices.list()publicApiV1InvoicesList()
Paginationfor await…ofPageIterator
ErrorsValidationError
RateLimitError
ApiException
ResponsesSome results require an explicit type.Generated response models.

0.x releases: review the changelog, pin dependencies and validate updates before production.

Choose your connection

An integration that fits your stack

Work with an SDK, explore the API contract or connect your assistant. Choose your tool to find the right starting point and documentation.

Compatible technologies and clients

Your tool → Factuarea
Official SDK

Your integration, in TypeScript

Install the official SDK to work with the API from Node.js. Includes retries, pagination and webhook signature verification.

npm install @factuarea/sdkConnect TypeScript
API operations
595
resources
50
MCP tools
581
documentation pages
1306

Questions

What people ask before pinning the dependency

You can integrate it in production. Before version 1.0.0, minor updates may include breaking changes: pin the dependency, review the changelog and validate updates. You can also pin Factuarea-Version to control the API version.

FactuareaA more connected business

Your next integration starts in code

Create an account and generate a sandbox key. Once you have validated the flow, use a production key with the permissions your application needs.