Simplified invoice in TicketBAI: API example
Receipts are simplified invoices. In the TicketBAI API they are sent to /ticketbai/create with simplificada set to true and no recipient details.
| Field | Value |
|---|---|
| API | TicketBAI API |
| Invoice type or key | simplificada: true |
| Endpoint | /ticketbai/create |
| When to use it | Receipts up to €400 VAT included (€3,000 for certain activities), with no recipient details. |
What changes in this case
A simplified invoice has fewer information requirements than a full one: the recipient does not have to be identified, so the request carries no nif, id_otro, nombre, cp or direccion.
Just set simplificada to true. Lines and desglose_iva are filled in as in a full invoice.
JSON request
Factura simplificada
{
"serie": "Ejemplos",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"descripcion": "Factura simplificada",
"simplificada": true,
"lineas": [
{
"descripcion": "Producto A",
"cantidad": "1",
"importe_unitario": "200.00",
"importe_total": "242.00"
},
{
"descripcion": "Producto B",
"cantidad": "1",
"importe_unitario": "100.00",
"importe_total": "110.00"
}
],
"desglose_iva": [
{
"base_imponible": "200.00",
"tipo_impositivo": "21",
"cuota_impuesto": "42.00"
},
{
"base_imponible": "100.00",
"tipo_impositivo": "10",
"cuota_impuesto": "10.00"
}
],
"importe_total": "352.00"
}If the customer later asks for an invoice in their name, issue an exchange invoice.
Related cases
Full invoiceInvoices to businesses and professionals that identify the recipient.Full invoiceExchange invoiceWhen the customer asks for an invoice in their name for a receipt already issued.Exchange invoiceCorrective invoicesCorrecting errors or changing amounts of invoices already issued.Corrective invoices
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.