Export of goods invoice in TicketBAI

An export of goods outside the EU is sent with especial.clave_regimen 02 (export) and the base in exenta with causa_exencion E2 (article 21 of the Foral VAT Rule).

FieldValue
APITicketBAI API
Invoice type or keyclave_regimen 02 y exenta E2
Endpoint/ticketbai/create
When to use itSales of goods to customers outside the EU.

What changes in this case

The customer is identified with id_otro (in the example, a US passport with codigo_pais US). tipo_operacion is bienes.

Regime key 02 marks an export and the base goes in exenta with cause E2. The invoice has no desglose_iva.

JSON request

Factura extracomunitaria - Exportación de bienes
{
  "serie": "Ejemplos",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "descripcion": "Factura extracomunitaria - Exportación de bienes",
  "id_otro": {
    "codigo_pais": "US",
    "id_type": "03",
    "id": "M76543210"
  },
  "nombre": "Nombre destinatario",
  "cp": "10001",
  "direccion": "1 Example Avenue, New York",
  "tipo_operacion": "bienes",
  "lineas": [
    {
      "descripcion": "Venta de bienes",
      "cantidad": "1",
      "importe_unitario": "200.00",
      "importe_total": "200.00"
    }
  ],
  "exenta": {
    "causa_exencion": "E2",
    "base_imponible": "200.00"
  },
  "especial": {
    "clave_regimen": "02"
  },
  "importe_total": "200.00"
}

Try this case in the test environment

Create your free account and ask soporte@verifacti.com for a TicketBAI test NIF; then copy the request and send it with its test API key.

Test environment and test NIF includedRead the documentation