Frequently Asked Questions

In this section you will find frequently asked questions prepared by the VeriFacti team as well as FAQs published by the AEAT (Spanish Tax Agency) on their website.

General Concepts

Support, Resources, and Help

Common Veri*Factu Questions

API Functionality

Pricing

Free Trial

Subscription and Contracts

Billing and Payment Methods

Verifacti Web Platform

API Keys and NIF Management

In Verifacti, there are two types of API Keys that are obtained differently.
NIF API Key
Each taxpayer for whom invoices are to be submitted to the AEAT must be registered in Verifacti and will have a unique API Key per environment. Ideally, there will be two API Keys per NIF: one for the test environment and one for the production environment.
This API Key is essential for API calls. This API Key allows:
  • Identifying the taxpayer (VAT payer) who appears on the invoice as the seller of a product or service.
  • Determining the tax authority environment to which the tax information should be sent (test vs. production).
  • Determining the tax authority (AEAT vs. Basque Provincial Tax Authorities) to which the taxpayer belongs.
In Verifacti, there are two environments: test and production. When adding a company (a NIF) within Verifacti, you must specify the environment (test or production). That company's environment variable in Verifacti will define which tax authority environment the requests related to that company are sent to.
  • In the test environment, the company API Key starts with vf_test_
  • In the production environment, the company API Key starts with vf_prod_
Depending on each use case, more or fewer API Keys of this type will be required:
  • Software distributors and vendors will require multiple NIFs, one per user or taxpayer.
  • Independent companies will only need to create API Keys in test and production for their own NIF (or several NIFs if they are a group of companies).
NIF API Keys can be generated in two ways:
  1. Manually from the home screen. Click on "Add company" and follow the steps.
  2. Through the NIF Management API. See documentation.
API Keys can be viewed in two ways:
NIF API Keys can also be rotated (generating a new one and invalidating the previous one), from the API key tab of each company in the dashboard or with the Rotate NIF API Key endpoint. See How can I rotate (regenerate) an API Key?
To create new NIFs, a paid subscription is required.
  • A paid subscription at the cost equivalent to 1 NIF in production gives you the ability to have multiple NIFs in the test environment without the cost increasing.
  • With the paid subscription created, it is possible to create NIFs in the production environment, and the invoice will adjust upward.
API Key for the NIF Management API
For using the NIF Management API (NIF registration and deregistration, webhooks, representation models), a specific API Key is needed, which can be obtained here.
This API Key can be rotated, only from that same settings section of the dashboard.
To access this API Key, a paid subscription is required. Any paid subscription, regardless of the cost or number of production NIFs, provides an API Key for the NIF Management API and the ability to have multiple NIFs in the test environment.
👉 Watch short video: How our API works (Part 2) - How to create NIFs and obtain API Keys in Verifacti

New Invoice

Invoice Recipient and NIF Validation

Invoice QR Code

Invoice Cancellation and Modification

Error Handling and Incidents

Webhooks

Invoice Listing

Going to Production

Certification and Responsible Declaration

Certificates and Representation

Data Storage and Export

Future Regulations

Ticketbai

IMPORTANT NOTICE: The information included in this FAQ section is for informational purposes only and does not constitute tax, legal or any other type of advice. VeriFacti is not responsible for any decisions that may be made based on this content. For any matters related to tax or legal obligations, we always recommend verifying the information with professional advisors or with the Spanish Tax Agency (AEAT).