Invoice issued by a third party in Verifactu
An invoice issued by a third party is sent with emitida_por_tercero_o_destinatario set to T and the third party’s name and NIF.
| Field | Value |
|---|---|
| API | Verifactu API |
| Invoice type or key | F1 · emitida_por_tercero_o_destinatario T |
| Endpoint | /verifactu/create |
| When to use it | A third party issues the invoice on the seller’s behalf. |
What changes in this case
An invoice issued by third parties is an invoice that, although the services or products are provided by a company or professional, the document is issued by an authorized third party. The company remains legally responsible, and its data must appear on the invoice.
To issue an invoice issued by third parties using our API, you must use the field emitida_por_tercero_o_destinatario with a value equal to T along with the third party’s name and NIF.
Suppose a company with NIF B12345678 provides a service to a client with NIF A15022510 but it is NIF B86561412 that issues the invoice. In that case, the correct JSON would be:
JSON request
{
"serie": "Ejemplos",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"descripcion": "Factura emitida por terceros",
"nif": "A15022510",
"nombre": "Nombre destinatario",
"lineas": [
{
"base_imponible": "200",
"tipo_impositivo": "21",
"cuota_repercutida": "42"
}
],
"especial": {
"emitida_por_tercero_o_destinatario": "T",
"nombre_tercero": "Nombre tercero",
"nif_tercero": "B86561412"
},
"importe_total": "242"
}The NIF of the company that provides the services does not appear in the JSON because this is already determined by the API key used to make the request.
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.