Intra-EU B2B sale of goods in Verifactu
A sale of goods to a business in another EU country is marked as exempt with operacion_exenta E5, and the recipient is identified with id_otro of type 02 (VIES).
| Field | Value |
|---|---|
| API | Verifactu API |
| Invoice type or key | F1 · E5 · id_otro tipo 02 |
| Endpoint | /verifactu/create |
| When to use it | Sale of goods to EU businesses or professionals with a valid VAT number in VIES. |
What changes in this case
In the case of the sale of products to EU companies or freelancers, when you are registered in the ROI and the customer has a valid VAT number in VIES, the invoice does not include VAT. Although for practical purposes the recipient self-assesses the tax in their country (a mechanism that acts there as a "reverse charge"), for the Spanish Tax Agency and Verifactu this is not classified with the reverse charge tag (S2). On a technical and legal level in Spain, it is declared and must explicitly appear on the invoice as an exempt delivery under Article 25 of the VAT Law. This means that the operation must be marked as exempt using the operacion_exenta field with the value E5.
Since it is a foreign recipient, the id_otro field must be used to identify them, indicating that the document type is 02 (Intra-community VAT-VIES) and the corresponding country code. Our API validates by default that said VAT-VIES is correctly registered in the census.
Below is an example of such an invoice.
JSON request
{
"serie": "Ejemplos",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"descripcion": "Factura B2B intracomunitaria - Venta de bienes",
"id_otro": {
"codigo_pais": "BE",
"id_type": "02",
"id": "BE0404621642"
},
"nombre": "Nombre destinatario",
"lineas": [
{
"base_imponible": "200",
"operacion_exenta": "E5"
}
],
"importe_total": "200"
}Try this case in the test environment
Create your free account, copy the request and send it with the test API key of your test NIF.