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.

Invoicing sandbox

Test your invoices in a separate environment

From the app or through the API, check documents, totals and states before working with real data. Tests have their own company and numbering.

Invoicing · separate environments
InvoiceDraft
No number assigned
CustomerEstudio Ribera
Design consultancyQuantity: 2 × €150.00€300.00
Net amount
€300.00
VAT 21%
€63.00
Total
€363.00

Test document, not a tax invoice

Two companies, separate sequences

Test seriesF-2026-0006
Production seriesF-2026-0184

A draft uses no number. Issuing only advances the test series.

How you get in

The key decides which company you open

A fact_test_ key opens your test company, with its own clients, documents and numbering. A fact_live_ key opens your real company. The API URL is the same.

Your key starts withfact_test_…24 charactersSame URL in both environmentshttps://api.factuarea.com/v1
Test companyIts own clients and documentsTest series · F-2026-0006
Opened by this key
Your real companyYour real clients and documentsYour fiscal series · F-2026-0184
Opened by the other key

With the MCP server, the OAuth consent lets you choose Test or Live when you connect.

What really happens

The same request, two outcomes

You send an invoice with the same call. With fact_test_ everything happens inside the test company and your clients receive nothing; with fact_live_ it reaches the real world.

POST/v1/companies/{company}/invoices/{id}/sendSame code, another key
With fact_test_Bearer fact_test_…
  1. Numbered invoice
    Test series

    F-2026-0007, from your test series. Your real numbering does not move.

  2. Email to the client
    Test inbox

    The send goes through its states inside the sandbox. Your client receives nothing.

  3. VeriFactu record
    Local record

    The record is generated the same way and stays in your test company. The AEAT receives nothing.

  4. Webhook event
    Event log

    The event is stored with livemode: false and you read it through the API.

With fact_live_Bearer fact_live_…
  1. Numbered invoice
    Your fiscal series

    F-2026-0185, from your real series.

  2. Email to the client
    Client's inbox

    The email reaches your client.

  3. VeriFactu record
    AEAT

    The record is submitted to the AEAT.

  4. Webhook event
    Your endpoint

    The event is delivered, signed, to your endpoint.

Validation and results

Check what happens when something fails, too

The sandbox applies the validation rules of available operations. Review invoice totals, correct rejected data and prepare your integration to handle errors.

POST/v1/companies/{company}/invoices
"lines": [{ "quantity": 2, "unit_price": 150, "tax_rate": 21}]
ResultWaiting201 Created
{ "data": { "status": "draft", "number": null, "total": 363, "currency": "EUR" }}
Draft created: €300.00 net and €63.00 VAT. No invoice number is used yet.

You can also test permissions, states and idempotency with the capabilities of your plan.

Understand API errors

And more

Everything else you can check

Webhooks, FACe and automations also have their own test behaviour. Each card shows the call and what it returns.

The ping reaches your endpoint

Check your receiver's connection and signature with a real HTTP request. It sends webhook.ping and creates no business event.

Connection ping
POST /v1/companies/{company}/webhook-endpoints/{id}/ping
{ "type": "webhook.ping" }
Signed delivery to your receiver

Events stay in your log

Every event from a test operation is stored with livemode: false and you can read it whenever you like.

Event log
GET /v1/companies/{company}/events
{ "type": "invoice.created", "livemode": false }
Event stored

FACe with its own record

You submit the invoice and get a sandbox registry number, FACE-SANDBOX-…, to run your flow from start to finish.

FACe submission
POST /v1/companies/{company}/invoices/{id}/face-submissions
{ "registry_number": "FACE-SANDBOX-…" }
Sandbox record created

Automations you can review

You see the triggers and the runs. Steps with an external effect are marked as sandbox_neutralized.

Steps of a run
GET /v1/companies/{company}/automations/runs/{run}/steps
{ "discard_reason": "sandbox_neutralized" }
Run completed

How you go live

You change the key, not the code

The request has the same shape in both environments: what changes is the key you send.

  1. Prepare your real data

    Create or pick the production contacts and series. Their identifiers are different from the sandbox ones.

  2. Generate a fact_live_ key

    With the permissions you already validated. The secret is shown only once: store it in your secrets manager.

  3. Swap the key

    Change it wherever you read it: environment variable, secrets manager or deployment config. The official SDKs infer the environment from the prefix.

.env
# .envFACTUAREA_API_KEY=fact_live_…
One line, in your configuration. Your integration code stays the same.

Questions

Sandbox questions

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

No. A fact_test_ key operates on the sandbox company and uses that company's series. The sequence of your production series is neither touched nor consumed.

A more connected business

Test the integration with isolated data

Generate a fact_test_ key in the developer dashboard. Send it to the same API URL with the permissions your application needs.

Try free for 10 daysGet my 70%

No card requiredA real person helps you

Questions before you get started?Try my first invoice