Developers · Invoicing API
Invoicing API.Built into your software.
Integrate invoices, customers, PDFs and Verifactu into your ERP, SaaS or online store. Use REST, official SDKs or MCP and validate the workflow in a test environment.
Compatible integrations and formats

WhatsApp

import { Factuarea } from "@factuarea/sdk";const factuarea = new Factuarea({ apiKey: process.env.FACTUAREA_API_KEY!,});const company = process.env.FACTUAREA_COMPANY_ID!;const invoices = await factuarea.invoices.list(company);for await (const item of invoices) { const invoice = item as { id: string }; console.log(invoice.id);}{ "data": [{ "object": "invoice", "number": "FAC-2026-00042", "client": { "name": "Acme Soluciones SL" }, "status": "paid", "total": 1210, "currency": "EUR" }]}From your system to the AEAT
What happens to every invoice.
Your software calls the API, Factuarea issues the invoice and, if your company uses VeriFactu, submits the record to the AEAT. The result returns to your server as a signed event.
Your system
POST /invoicesCreates the draft with your key and an Idempotency-Key, with no risk of duplicates.
Factuarea API
POST /invoices/{id}/sendValidates the document, assigns the number and sends the invoice to the customer.
VeriFactu and AEAT
verifactu_statusIf your company has it enabled, the invoicing record is submitted to the AEAT.
Webhook back
invoice.paidThe event reaches your server signed, so you can verify it before processing it.
Choose your integration
One account. Your way to build.
Connect your software, receive events or give an assistant access. Each path has its own guide, permissions and examples.
Test before issuing
The same contract. Two separate environments.
Test your integration with a fact_test_ key. When it is ready, configure your company, review permissions and use a production key.
- Create a key with the permissions you need.
- Prepare the customer, series and taxes.
- Follow draft creation, issuance and PDF download.
api.factuarea.com/v1fact_test_••••••••••••Test documents, with no real tax submission.
Control over every request
Built for retries, too.
An integration needs to know what happened, what can be repeated and when to wait. These signals are documented and can be verified.
Prevent duplicates
Use Idempotency-Key on supported operations. A different body with the same key returns a 409.
Idempotency-Key: $INVOICE_REQUEST_ID201 CreatedIdempotent-Replayed: trueLimited access
Assign scopes to each key. Your integration gets the permissions it needs for its work.
✓ invoices:write✕ invoices:send → 403 insufficient_scopeVisible quotas
Check X-RateLimit-Remaining. If you receive a 429, respect Retry-After before trying again.
X-RateLimit-Remaining: 0429 rate_limit_exceededRetry-After: 30Verifiable events
Check Factuarea-Signature against the original webhook body before processing it.
Factuarea-Event-Type: invoice.paidFactuarea-Signature: t=1786533620,v1=…Questions
Your questions before the first line of code
Still have a question?
A person on the team answers, on any plan. Write to us the way you would to a colleague.
Monday to Friday, 9:00 to 18:00
Create your account and a test key in developer settings. The Quickstart explains permissions, required data and the requests needed to take an invoice through to its PDF.
A more connected business
Your next integration starts with a key.
Create your account, choose permissions and follow the Quickstart to your first invoice in the test environment.
No card requiredA real person helps you