Frequently Asked Questions (FAQ)
A compilation of questions and answers regarding billing computer systems and VERI*FACTU (Updated as at 21 October 2026)
Hash
It is the result of applying a fingerprint calculation function or algorithm to specific information (in this case, data from the register). This is a piece of data (usually much shorter than the data from which it was calculated) which is unique to the source data and from which it would be ‘virtually impossible’ to find or obtain any alternative data (let alone any that is meaningful) whose fingerprint would be the same as that calculated for the original data. In other words, if the original information were to be altered – however slightly – the hash of the new, modified information would also change and would not match the hash obtained for the original information.
Hence its name, because it is like a (’small’) fingerprint that ’identifies’ the original (’large’) content from which it was derived.
All invoicing records, registration records and cancellation records generated by the computerised invoicing system (SIF).
In addition, systems that issue non-verifiable invoices – as they are required to generate invoicing records – must also calculate the hash of these records.
The hash is calculated using only a small amount of relevant data from the records. These details vary depending on the type of record generated (registration for a new invoice, cancellation invoice or event record) on which the hash is to be calculated. These can be consulted in the document “Details of the technical specifications for generating the hash of records”, which is available on the developers’ website and on the Tax Agency’s electronic headquarters.
Finally, the result of applying the footprint calculation algorithm to the data in the register will be stored in the register itself as an additional field. Furthermore, this timestamp must also be included within the content of the immediately subsequent record that may be generated at a later date, thereby forming part of the record chaining mechanism through which the traceability requirement for records is implemented.
The hash algorithm to be used is, for the time being, SHA-256 in all cases, that is to say, for all types of record. Both this and other details and examples of the procedure for calculating the hash can be consulted in the document “Details of the technical specifications for generating the hash of records”, which is available on the developers’ website and on the Tax Agency’s electronic headquarters.
The hash of a record plays a key role in determining whether the integrity and immutability of certain relevant data within the record have been maintained. Furthermore, as the hash of a record must in turn be included within the content of the immediately following record that may be generated subsequently, it also forms part of the record chaining mechanism through which the requirement for record traceability is implemented.
All SIFs are required to calculate and position the footprint correctly, linking the records as specified in the relevant specifications.
That said, VERI* SIFs FACTU are not obliged to carry out fingerprint checks or to provide functionality enabling such checks, as they submit all their invoicing records (RF) to the Tax Agency, which is the body authorised to carry out these checks (and, for this very reason, they are not obliged to generate event records).
However, in the case of a system that issues non-verifiable invoices, it must also include a function enabling the verification of the digital signatures of the invoicing records generated that are within its scope. Furthermore, when generating a new record, you must check that it is correctly chained to the previous record generated; this includes verifying that the hash of the previous record generated is correct and that the hash chained to it (from the record preceding the previous one) is also correct. This must be done for invoicing records, registration records and cancellation records, as well as for any event records generated (please note that systems issuing non-verifiable invoices are required to generate event records).
No. The RF reference number is not included in the data contained in the tax ‘QR’ code added to invoices issued by the billing computer systems (SIF) used by those required to issue invoices to whom the regulations approved by Royal Decree 1007/2023 of 5 December apply.