Prepare your software for the 2027 deadlines.   See the timeline →
CONNECT YOUR SOFTWARE TO THE SPANISH TAX AGENCY

Your software.
Now, VeriFactu.

Connect your invoicing software to Spain’s tax agency with an API built for developers. Keep your ERP, CRM or SaaS and integrate VeriFactu.

Open documentation · Technical support in Spanish

POST /vapi/v2/JSON
{
  "action": "send_invoice",
  "id": "1005",
  "json_data": {
    "id": {
      "number": "F2026-001",
      "issuedTime": "2026-09-22"
    },
    "type": "F1",
    "total": 121.00,
    "amount": 21.00
  }
}
Request excerpt · See full exampleRead the docs ↗
Your software→API VeriFactu→AEAT
Built to work with your technologyPHPPythonNode.js.NETJavaREST / JSON
YOUR PRODUCT, CONNECTED

Tax reporting, integrated.
Your team, free to build.

One connection to submit records and track their status.

Records and traceability

Submit invoicing records and keep the link between your invoice, its submission and the tax agency’s response.

Learn more →

Webhooks and statuses

Receive status changes in your application and distinguish pending records from accepted ones.

Learn more →

Your certificate, your control

The customer portal lets you manage your certificate. Our team supports your integration.

Learn more →
FROM YOUR APP TO THE TAX AGENCY

A clear process from start to finish.

Read the docs →

Prepare your integration

Read the reference and request credentials and the URL of your test environment.

Submit your invoice data

Authenticate your application, build the record and validate results in the test environment.

Track each response

Integrate status queries and webhooks. Validate the move to production with our team.

STRAIGHTFORWARD PRICING

A professional API.
A clear price.

Keep your integration, support and updates with an annual plan. Volume discounts are available.

  • 3,100 invoices per tax ID per month
  • API VeriFactu
  • Webhooks and status queries
  • Postman collection and integration guide
  • Certificate management portal
  • Technical support and updates
See volume discounts →
Annual plan
150 € / year

Price per licence per year, excluding tax. Tax is calculated at checkout using your country and billing details.

Order now →

Redsys · Visa · Mastercard


Try the API for free

Register to request a test company with its API Key. Our team will email you the access details.

Register for free →
API VERIFACTU · Videos

Learn to integrate the API with video tutorials

The two original tutorials: an introduction to the API and the steps to activate the service. Videos in Spanish.

Audio in Spanish

Introduction to API VeriFactu

Learn how to use the API and take the first steps to connect your software to VeriFactu.

· 22:11

Watch on YouTube
Audio in Spanish

Activating API VeriFactu

A practical tutorial on using API VeriFactu and the integration process.

· 6:54

Watch on YouTube

The YouTube player loads when you press play. This connects you to YouTube and its privacy policy applies.

FAQ

Answers before you integrate.

What do I need to use the API?

Software that can make HTTPS requests, client credentials and your assigned environment URL. Our team will guide you through certificates and invoicing data.

Can I use it with PHP, an ERP or a CRM?

Yes. You can build an integration from any application with HTTP connectivity. Our PHP guide explains the approach; your specific integration must be implemented and tested.

Does a successful response mean the tax agency accepted the record?

Not always. A record may be pending processing. Query its status and process events before marking it accepted.

Does the AEAT approve software?

Compliance is evidenced by the producer’s responsible declaration under the regulations. This is neither AEAT approval nor a guarantee that every submission will be accepted.

Connect your software to VeriFactu.

Tell us how you invoice. We will help you prepare the integration.

Talk to our team ↗