Export of goods invoice in Verifactu

An export of goods outside the EU is sent with clave_regimen 02 and operacion_exenta E2, with no tax fields.

FieldValue
APIVerifactu API
Invoice type or keyF1 · clave_regimen 02 · E2
Endpoint/verifactu/create
When to use itSale of goods leaving the EU.

What changes in this case

The export of goods involves the sale of physical products that leave the European Union's VAT application territory. In these cases, the operation is subject to but exempt from Spanish VAT, regardless of whether the recipient is a company, a professional, or a final consumer.

To correctly reflect this exemption in Verifactu, the JSON requires a specific configuration. First, the clave_regimen must be used with the value 02 (Export). Second, the line must be explicitly marked as exempt using the operacion_exenta field with the value E2 (Exempt under Article 21 of the VAT Law). Since there is an exemption cause, the API will not accept sending the tax rate or passed-on quota fields.

The identification of the extra-community client is always done through the id_otro block. Depending on the document provided by the client, document types such as 03 (Passport), 04 (ID in country of residence) or 06 (Other supporting document) will be used, always accompanied by their ISO country code.

Below is an example of such an invoice.

JSON request

Factura extracomunitaria - Exportación de bienes
{
  "serie": "Ejemplos",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "tipo_factura": "F1",
  "descripcion": "Factura extracomunitaria - Exportación de bienes",
  "id_otro": {
    "codigo_pais": "US",
    "id_type": "03",
    "id": "M76543210"
  },
  "nombre": "Nombre destinatario",
  "lineas": [
    {
      "base_imponible": "200",
      "clave_regimen": "02",
      "operacion_exenta": "E2"
    }
  ],
  "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.

Test environment and test NIF includedRead the documentation