Skip to content

Black Friday.Get 70% off your first two months70% off70% off your first 2 months

Get my 70%Get it
Ends 30 NovemberSales+34 608 911 052

Black Friday

Start with 70% off your first two months

Try Factuarea for 10 days with no card and, if you choose the monthly plan, pay only 30% of your first two months. On the annual plan, the discount equals two months at 70%.

Get my 70%See pricing

For new sign-ups until 30 November

Ends in

Esencial monthly: €2.97 a month for the first two months, instead of €9.90Annual: €83.74 for the first year, instead of €94.80Prices exclude VAT.

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

  • Stripe
  • WhatsAppWhatsApp
  • Facturae
GET/v1/companies/{company}/invoices
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);}
Response excerptWaiting200 OK
{ "data": [{ "object": "invoice", "number": "FAC-2026-00042", "client": { "name": "Acme Soluciones SL" }, "status": "paid", "total": 1210, "currency": "EUR" }]}
Use a key with invoices:read permission on your server. This code reads your invoices; it does not create documents.

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.

  1. Your system

    POST /invoices

    Creates the draft with your key and an Idempotency-Key, with no risk of duplicates.

  2. Factuarea API

    POST /invoices/{id}/send

    Validates the document, assigns the number and sends the invoice to the customer.

  3. VeriFactu and AEAT

    verifactu_status

    If your company has it enabled, the invoicing record is submitted to the AEAT.

  4. Webhook back

    invoice.paid

    The 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.

585published routes
55resources
Read the full reference

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.

  1. Create a key with the permissions you need.
  2. Prepare the customer, series and taxes.
  3. Follow draft creation, issuance and PDF download.
api.factuarea.com/v1
fact_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.

Prevent duplicates
Idempotency-Key: $INVOICE_REQUEST_ID
201 Created
Idempotent-Replayed: true

Limited access

Assign scopes to each key. Your integration gets the permissions it needs for its work.

Limited access
✓ invoices:write
✕ invoices:send → 403 insufficient_scope

Visible quotas

Check X-RateLimit-Remaining. If you receive a 429, respect Retry-After before trying again.

Visible quotas
X-RateLimit-Remaining: 0
429 rate_limit_exceeded
Retry-After: 30

Verifiable events

Check Factuarea-Signature against the original webhook body before processing it.

Verifiable events
Factuarea-Event-Type: invoice.paid
Factuarea-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.

Message us on WhatsApp+34 608 911 052

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.

Try free for 10 daysGet my 70%

No card requiredA real person helps you

Questions before you get started?Go to the quickstart