Obligation to issue invoices
According to the Spanish Legislation, businesses and professionals are required to issue invoices for the provision of services and delivery of goods they carry out, and to keep a copy of said invoice.
There are two types of invoices:
Simplified Invoices: Can only be issued up to amounts of 400€ (including VAT) or up to 3.000€ in some cases (retail sales, restaurants and hospitality, parking services, among others). Does not contain information about the recipient of the invoice, only of the issuer.
Complete Invoices: Includes information of both the issuer and recipient of the invoice.
The legislation indicates when a simplified and a complete invoice can be issued, as well as the minimum content required for each of them.
Furthermore, in case of errors - meaning not compliance with Invoicing Regulations - a Correcting Invoice has to be issued, indicating the type of correction carried out. There are regulations for the issuing of correcting invoices.
The SIGN ES API supports the creation of the three types of invoices (Simplified, Complete and Correcting).
The creation of additional documents, such as drafts, is not contemplated within SIGN ES because these documents are not involved in TicketBAI compliance. Nevertheless, the REST API could be integrated within a system that supports the generation of additional documents and files.
TicketBAI legislation establishes that invoices must include an identification code and a QR code, which have to be placed according to specific guidelines.
The TBAI Identifier or identification Code is an alphanumeric code that identifies an invoice within the TicketBAI system. It contains the VAT number (NIF) of the issuer, the expedition date and makes reference to the signature of the TicketBAI Registration file.
The generic composition of the ID or TBAI code is:
The readable QR Code identifies the invoice and contains a URL to access the websites for the official TicketBAI invoice validation.
The size of the QR Code has to be between 30x30 millimeters and 40x40 millimeters.
According to the orientation of the invoice, the codes have to be placed in a specific way, but always at the bottom. The following images are illustrative of how the TicketBAI codes should be printed on the invoice, both for a horizontal or vertical structure.
Source: Examples extracted from Gipuzkoan TicketBAI Specifications. The images provided do not have valid size and content.