Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · bookkeeping

We're a small company in Spain and want an AI agent to issue our customer invoices through our invoicing software. What does the VERI*FACTU regulation require of the system that issues invoices, can the agent edit or delete an invoice record afterwards, and after the November 2026 change, when do we actually have to comply?

Last updated

TL;DR: VERI*FACTU is the common name for Royal Decree 1007/2023, the regulation on invoicing software (RRSIF), with technical specifications in Order HAC/1177/2024. It regulates the system that issues invoices, not who drives it, so an AI agent that issues invoices is, on our reading, part of your invoicing system. That system must generate a billing record at or just before each invoice, chain each record to the previous one with a hash, and keep records so that any change, hiding or deletion is detected: corrections have to be made with a further record, never by editing the original (article 8). It also needs an event log, and its producer must sign a responsible declaration (declaración responsable) for each version (article 13). The deadline moved again: Royal Decree-law 43/2026 of November 24, 2026, published in the BOE on November 25, ties it to the last phase of mandatory B2B e-invoicing, and the Tax Agency's note says users must have adapted systems before October 6, 2028. The previous dates (January 1 and July 1, 2027) no longer apply.

What should I check, step by step?

1. Check whether you're in scope: corporate income tax payers, self-employed people and partnerships with business activity, and non-residents with a permanent establishment in Spain's common territory, even if they use software for only part of their invoicing (article 3.1). Businesses that keep their VAT books through SII are out of scope (article 3.3). The Basque Country and Navarre have their own rules.

  1. Plan for the new deadline: before October 6, 2028 for users, per the Tax Agency's November 2026 note on Royal Decree-law 43/2026. Software producers still have nine months from the technical order's entry into force to offer adapted products.
  2. Have the agent issue invoices only through a system whose producer gives a declaración responsable for the version you run, or through the Tax Agency's free invoicing app. If you build your own invoicing agent or script, you are its producer.
  3. Don't give the agent any function that edits, hides or deletes an issued invoice record. Article 8 treats that as an alteration; corrections go through a new record, such as a rectifying invoice or a cancellation record.
  4. Decide between the two modes: VERI*FACTU (the system sends every record to the Tax Agency as it's generated and is presumed compliant by design) or non-VERI*FACTU (records must also be electronically signed and kept with an event log available to inspectors). Choosing VERI*FACTU lasts at least until the end of that calendar year.
  5. Make sure each invoice carries the QR code the system generates, so the customer can send its data to the Tax Agency for checking.
  6. Keep a record of the agent's configuration changes and who approved them. The billing records show what was issued, not why the agent issued it.

What is Spain's VERI*FACTU regulation, and who does it apply to?

Royal Decree 1007/2023 of December 5, 2023 approves the regulation setting the requirements for computer systems and programs that support the invoicing processes of businesses and professionals (RRSIF), and Order HAC/1177/2024 of October 17, 2024 sets the technical, functional and content specifications. The Tax Agency's FAQ explains that VERI*FACTU, the name everyone uses, comes from one of the two types of compliant system the regulation allows.

What must a VERI*FACTU-compliant invoicing system do with every invoice record?

Article 8.1 requires the system to guarantee the integrity, conservation, accessibility, legibility, traceability and inalterability of billing records. Article 8.2.a says that once records are generated they can't be altered without the system detecting it and warning of it, and defines alteration as hiding or deleting a record, hiding or changing any of its data, or adding simulated or false records. Any correction or cancellation must be made with at least one further, later record, so the original data stays unaltered.

What are VERI*FACTU mode and the declaración responsable, and what are the penalties for non-compliant invoicing software?

Article 16 says a system that sends every billing record to the Tax Agency continuously, securely and automatically as it's generated counts as a verifiable invoice issuing system (Sistema VERI*FACTU). It's presumed to meet article 8 by design and only needs to compute the hash, not sign the records. You opt in by starting to send records systematically, and the choice lasts at least until the end of the calendar year of the first submission. The Tax Agency's free invoicing app counts as a VERI*FACTU system.

When do businesses have to comply with VERI*FACTU after Royal Decree-law 43/2026?

Royal Decree-law 15/2025 of December 2, 2025 had set the deadlines at January 1, 2027 for corporate income tax payers and July 1, 2027 for everyone else. Royal Decree-law 43/2026 of November 24, 2026 (BOE of November 25, 2026, in force November 26) rewrote the final provision of Royal Decree 1007/2023 so that all taxpayers in article 3.1 must have adapted systems when the period in final provision four, section 1.b, of Royal Decree 238/2026 runs out. That is the last phase of mandatory B2B e-invoicing, and the decree-law says the aim is to make the two dates coincide.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Our invoicing agent's configuration changed: it now issues invoices through our VERI*FACTU-mode invoicing system instead of a spreadsheet template, and our finance lead approved it. Record the change with the versions involved and a hash of the new configuration so we have a dated entry outside the invoicing system.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "invoicing.agent_config_change",
    "outcome": "success",
    "occurred_at": "2026-11-25T15:00:00Z",
    "client_event_id": "invoicing-agent:verifactu-switch-2026-11-25",
    "summary": "Invoicing agent v1.4 now issues invoices only through the invoicing system in VERI*FACTU mode (producer declaración responsable on file for version 5.2); spreadsheet template retired; corrections via rectifying invoices only; approved by role FIN-1",
    "action_sha256": "<sha256 of the exported agent configuration>"
  }
}

Rightshold isn't an invoicing system, doesn't send records to the Spanish Tax Agency and doesn't check whether your software meets the RRSIF. Article references are to Royal Decree 1007/2023 as consolidated in the BOE, Royal Decree-law 43/2026 and article 201 bis of the General Tax Law, all read in Spanish on November 25, 2026; the English wording and the application to AI agents are ours, since the regulation doesn't mention AI. This covers Spain's common territory only. Not tax or legal advice; ask an asesor fiscal about your setup.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'