Intra-EU B2B goods invoice in TicketBAI

A sale of goods to a business in another EU country is sent as exempt with causa_exencion E5 (article 25 of the Foral VAT Rule) and the customer's VAT number in id_otro with id_type 02.

FieldValue
APITicketBAI API
Invoice type or keyexenta con causa_exencion E5
Endpoint/ticketbai/create
When to use itSales of goods to businesses in other EU countries.

What changes in this case

The customer has no Spanish NIF, so they are identified with id_otro: codigo_pais, id_type 02 (VAT number) and id with their VAT number, starting with the country code. By default, the API checks that number against the VIES register.

Since it is a delivery of goods, tipo_operacion is bienes: with a recipient in id_otro, the TicketBAI file breaks the invoice down by type of operation. The base goes in exenta with cause E5 and there is no desglose_iva.

JSON request

Factura B2B intracomunitaria - Venta de bienes
{
  "serie": "Ejemplos",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "descripcion": "Factura B2B intracomunitaria - Venta de bienes",
  "id_otro": {
    "codigo_pais": "BE",
    "id_type": "02",
    "id": "BE0404621642"
  },
  "nombre": "Nombre destinatario",
  "cp": "1000",
  "direccion": "Rue Exemple 1, Bruxelles",
  "tipo_operacion": "bienes",
  "lineas": [
    {
      "descripcion": "Venta de bienes",
      "cantidad": "1",
      "importe_unitario": "200.00",
      "importe_total": "200.00"
    }
  ],
  "exenta": {
    "causa_exencion": "E5",
    "base_imponible": "200.00"
  },
  "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