What the AEAT checks
The AEAT validation document asks this of the SistemaInformatico block:
- The producer of the program is identified with a Spanish tax ID or with IDOtro, one of the two and never both. Never with type 07.
- IdSistemaInformatico always has two positions, and each one is a capital letter, other than Ñ, or a digit.
- NombreSistemaInformatico, TipoUsoPosibleSoloVerifactu and TipoUsoPosibleMultiOT are mandatory and must have content.

The eleven codes
| Code | What fails |
|---|---|
| 1176 | The producer's tax ID. |
| 1177 | IdSistemaInformatico. |
| 1179 | Generic error of the block. |
| 1212 | TipoUsoPosibleSoloVerifactu, which only accepts N or S. |
| 1213 | TipoUsoPosibleMultiOT, which only accepts N or S. |
| 1220 | NombreSistemaInformatico. |
| 1221 | The producer's IDType. |
| 1223 | Both a tax ID and IDOtro, or neither. |
| 1226 | IndicadorMultiplesOT, which only accepts N or S. |
| 1241 | Error técnico al obtener el SistemaInformatico., a technical error on the AEAT side. |
| 1242 | No existe el sistema informático., the invoicing software does not exist. |
What our module sends
The module puts this data in every record, without you having to configure it or being able to change it from the menus:
- Software name
- Flexigo Verifactu.
- Identifier
- FV, two capital letters.
- Producer
- The producer's tax ID, stored in the system parameter verifactu.sif_producer_nif.
- Version
- The installed version of the module.
- Installation number
- A SHA-256 computed from the database and the company, different for each installation.
- Possible uses
- TipoUsoPosibleSoloVerifactu set to N, because the module also supports the No VERI*FACTU mode, and TipoUsoPosibleMultiOT set to S.
With those values the format codes should not happen. What could trigger them is a manual change to the system parameters: if someone edits verifactu.sif_producer_nif or the producer name, the block no longer adds up.
The version that travels
The version field carries the version of the module installed at each moment. When you update the module, the records generated from then on go out with the new version, and earlier ones keep theirs. In Audit Trail › Responsible Declarations you can see the system's declarations, each one with the module version it belongs to and its status.

What to do
- Do not touch the system parameters starting with verifactu.sif. If someone changed them, put back their value and write to us: the records that went out with the changed value have already been sent and need to be reviewed one by one.
- 1241 is a technical error on the AEAT side: the queue retries on its own, with waits from 2 minutes to 12 hours, until the sixth attempt.
- 1242 says the AEAT cannot find the invoicing software. Send us the answer at comercial@flexigobe.com so we can review it.
The codes on this page, with the AEAT's text
Each code with its literal text, in Spanish, as the AEAT's error list gives it:
| Code | AEAT text (Spanish) |
|---|---|
| 1176 | El valor de campo NIF del bloque SistemaInformatico es incorrecto. |
| 1177 | El valor de campo IdSistemaInformatico del bloque SistemaInformatico es incorrecto. |
| 1179 | Error en el bloque de SistemaInformatico. |
| 1212 | El campo TipoUsoPosibleSoloVerifactu solo acepta valores N o S. |
| 1213 | El campo TipoUsoPosibleMultiOT solo acepta valores N o S. |
| 1220 | El valor del campo NombreSistemaInformatico es incorrecto. |
| 1221 | El valor del campo IDType del sistema informático es incorrecto. |
| 1223 | En el bloque SistemaInformatico si se cumplimenta NIF, no deberá existir la agrupación IDOtro y viceversa, pero es obligatorio que se cumplimente uno de los dos. |
| 1226 | El campo IndicadorMultiplesOT solo acepta valores N o S. |
| 1241 | Error técnico al obtener el SistemaInformatico. |
| 1242 | No existe el sistema informático. |
Why does each installation have a different number?
Because the AEAT tells apart each installation of the same program. A new Odoo database is a new installation for the module, with its own number and its own chain of records.
Keep reading
Checked in the module's source code (version 20.0) and the linked sources
Sources
- www.agenciatributaria.es/static_files/AEAT_Desarrolladores/EEDD/IVA/VERI-FACTU/Validacione
- Module source code: flexigo_spain_verifactu 20.0 (aa2ea3d2): models/verifactu_aeat_client.py
- Module source code: flexigo_spain_verifactu 20.0 (aa2ea3d2): models/verifactu_cola_envio.py
- Module source code: flexigo_spain_verifactu 20.0 (aa2ea3d2): data/verifactu_error_catalogue.xml
- prewww2.aeat.es/static_files/common/internet/dep/aplicaciones/es/aeat/tikeV1.0/cont/ws/err
