# VERI*FACTU without Internet: how to keep invoicing and recover submissions after an outage

> If VERI*FACTU loses Internet access or AEAT’s electronic service is temporarily unavailable, the business does not have to stop invoicing for that reason. The system should preserve generated records, retry periodically, identify the incident in the submission where applicable, and send pending records after service is restored. If a submission was sent but no response arrived, AEAT says to resend until a response is obtained. Do not confuse a timeout with a fiscal rejection.

Canonical: https://kairoseth.com/en/blog/verifactu-without-internet-outage-retries
Product: [VeriFactu Software](https://kairoseth.com/products/kairoseth-fiscal)
Primary query: VERI*FACTU without internet
Intent: informational-verifactu-offline-connectivity-contingency
Published: 2026-11-02
Updated: 2026-11-02

AEAT explicitly addresses VERI*FACTU connectivity incidents: they do not by themselves require invoicing to stop. The key is to generate and preserve the record, handle the incident, retry in a controlled way, and reconcile the response without duplicates or rewriting history.

VERI*FACTU is designed to submit billing records online to Spain’s Tax Agency, but a real business can lose Internet access, experience a network failure, or encounter temporary unavailability of the AEAT electronic service. AEAT explicitly addresses these situations and explains that invoicing does not have to stop merely because transmission is temporarily unavailable. The engineering challenge is to keep generating records correctly, preserve them without alteration, retry after service returns, and distinguish a transport outage from a fiscal rejection. This guide turns that rule into an operating procedure for ecommerce, ERP, POS, and custom software, focusing on persistent queues, explicit states, idempotency, and reconciliation. It is not tax advice; it covers technical operation supported by current official sources.

## 1. What happens to VERI*FACTU when Internet connectivity fails

An Internet outage does not automatically make an invoice invalid or require a business to stop invoicing. Spain’s Tax Agency explains in its FAQs, updated on 21 October 2026, that VERI*FACTU systems normally send billing records online continuously, while explicitly addressing exceptional incidents such as power cuts, computer failures, Internet connection problems, or temporary unavailability of the AEAT electronic office. In those situations, submission is deferred until connectivity or the service is restored. The business may continue invoicing normally as long as its system can still generate invoices and the corresponding billing records correctly. The key design principle is to separate two operations: generating the invoice and its billing record under the applicable rules, and successfully delivering that record to AEAT. If delivery fails because connectivity is unavailable, the original record should not later be rewritten to make both events appear simultaneous. The system needs to preserve the pending record, identify the incident, and prepare a later submission without altering the generated data. This is why a robust VERI*FACTU design needs a persistent, traceable outbound queue rather than a rigid dependency on receiving an Internet response before every checkout, sale, or invoicing workflow can continue.

## 2. How to handle the incident and retries

Official AEAT guidance says that during these incidents submissions should be retried periodically until the problem is resolved and the applicable incident marker should be included in the submission header. It also explains that there is no single fixed maximum period expressed as a universal number of minutes or hours for these exceptional cases. That does not mean a system may postpone transmission indefinitely for convenience. The correct behavior is to detect unavailability, preserve the record, retry in a controlled way, and submit it as soon as service is restored. A production implementation should distinguish network failures from functional errors. A timeout, DNS failure, or temporary service outage can justify retries; an AEAT validation rejection requires correction of the cause and belongs to the error-recovery flow, not the connectivity flow. Record each attempt with timestamp, technical result, and record identity, use sensible backoff so the service is not flooded, and expose a visible pending worklist. When connectivity returns, the queue should preserve ordering requirements and prevent duplicates. If a valid response was already received, the item must not become pending again merely because an intermediate component lost transient state. Recovery should be driven by persisted evidence rather than assumptions.

## 3. What to do when a submission was sent but no response arrived

The most difficult case is not being clearly offline; it is losing the response after a submission attempt. AEAT states that when a set of billing records is sent but a correct-receipt response is not obtained for technical reasons, the records should be submitted again until a response is obtained. Technically, this means retries should behave idempotently from the connector’s perspective: preserve exactly what was attempted, its identity, and the response state. Do not create a new invoice or arbitrarily regenerate a different record for every retry. The purpose is to resolve uncertainty about receipt of the same invoicing event. The interface should expose a specific state such as sent, response pending or outcome unknown, distinct from rejected. This prevents support teams from cancelling a valid invoice because a timeout was mistaken for a rejection. It also lets a later response be reconciled with the original attempt. For WooCommerce, PrestaShop, ERP, or custom-software integrations, keep the commercial order state separate from the fiscal transmission state. An order may be paid and fulfilled while its billing record is temporarily awaiting confirmation because of a network incident. Combining these states creates dangerous automation and makes the incident harder to explain.

## 4. A resilient architecture for temporary offline operation

A resilient architecture can be reduced to five components: local record generation, persistent storage, an outbound queue, a submission worker, and response reconciliation. Record generation should not depend entirely on a synchronous Internet call when official guidance explicitly allows later submission during an incident. Storage must preserve the generated record and the information needed for chaining and traceability. The queue tracks pending items, attempts, and outcomes; the worker submits when connectivity is available; reconciliation converts AEAT responses into explicit fiscal states. Add operational observability: pending count, age of the oldest item, last successful submission, cause of the latest failure, and alerts when the backlog grows. A short outage can recover automatically, but a queue blocked for hours needs human attention. Do not use volatile memory as the only queue because a restart during the outage must not erase pending records. Do not let users delete a pending item merely to clean up the screen. Recovery must leave evidence. Kairoseth VeriFactu Software is designed as an integration layer for existing systems; decoupling the source transaction from transmission is particularly useful when orders originate in ecommerce, ERP, CRM, spreadsheets, or custom software and connectivity can fail between components.

## 5. Operational checklist during an outage

When an incident is detected, first determine whether it affects the local Internet connection, network provider, certificate path, or AEAT electronic service. Second, confirm that the invoicing system continues generating billing records and is not creating gaps because it confused record generation with transmission. Third, verify that pending records are persisted and that the queue count grows consistently with new invoices. Fourth, avoid aggressive retry loops; use a periodic and observable retry policy. Fifth, after service returns, monitor recovery until the queue reaches zero and every record has a functional outcome, not merely an HTTP response. Sixth, handle unknown-response cases separately so retries do not create contradictory operations. Seventh, retain evidence of the incident and recovery for technical support and auditability. If the incident prevents the invoicing system itself from operating, for example a power outage that makes equipment unavailable, the business decision about how to continue differs from a simple connectivity failure; AEAT guidance says invoicing information should be recovered and submitted as soon as possible. This checklist is not tax advice, but it turns an exception explicitly recognized by the administration into a controlled operating procedure instead of an improvised response.

## 6. Do not confuse network contingency with fiscal rejection or correction

After connectivity is restored, the response still has to be interpreted. A record that waited in a queue because the Internet was unavailable is not guaranteed to be accepted by AEAT. It may arrive successfully and then be rejected by a validation rule or accepted with errors. That second phase belongs to VERI*FACTU error diagnosis: rejection, accepted with errors, record correction, corrective invoice, or cancellation. The connectivity incident only explains why submission occurred later. Keeping this boundary clear simplifies software and avoids contradictory rules. The transport layer decides when to attempt delivery; the fiscal layer interprets AEAT’s response; the history preserves both facts. If the queue retries a deterministically invalid payload as though it were a network problem, it will never progress. If the fiscal layer treats a timeout as a rejection, it may trigger unnecessary corrections. This is why the contingency guide should connect to the VERI*FACTU errors guide and the VERI*FACTU API: they are related layers with different responsibilities. Engineering teams can test them independently by simulating network loss, worker restarts, delayed responses, and queue recovery without changing tax rules, then separately testing AEAT functional outcomes. The result is an integration that is easier to operate, audit, and maintain.

## Key takeaways

- Separate record generation from transmission: an Internet outage must not erase or rewrite a record that has already been generated.
- Use a persistent queue with periodic retries, explicit states, and evidence for each attempt until a response is obtained.
- Distinguish connectivity failure, unknown response, and fiscal rejection because each state requires a different recovery path.

## Sources

- [AEAT — VERI*FACTU systems FAQ, updated 21 Oct 2026](https://sede.agenciatributaria.gob.es/Sede/iva/sistemas-informaticos-facturacion-verifactu/preguntas-frecuentes/sistemas-verifactu.html) — Agencia Estatal de Administración Tributaria
- [BOE — Royal Decree 1007/2023](https://www.boe.es/eli/es/rd/2023/12/05/1007) — Boletín Oficial del Estado

## External resources

- [Official VERI*FACTU FAQs](https://sede.agenciatributaria.gob.es/Sede/iva/sistemas-informaticos-facturacion-verifactu/preguntas-frecuentes/sistemas-verifactu.html)

## Related product

- [VeriFactu Software](https://kairoseth.com/products/kairoseth-fiscal): VeriFactu software for connecting WooCommerce, PrestaShop, ERP, CRM, Excel, custom software and local systems to Spain's VeriFactu framework without replacing the source system.
- [Custom request](https://kairoseth.com/custom-requests)
