Factura con cabecera corrida, líneas, totales, condiciones y firma. Numeración de páginas y bloques que no se parten. Rellénala con tus datos y renderízala con kove.

Guarda el JSON como factura.json y, en local (gratis):
npx kove render factura.json -o factura.pdfO díselo a tu agente (Claude Code) con el MCP conectado:
claude mcp add kove -- npx @kove/mcp{
"page": {
"size": "A4",
"margin": "18mm"
},
"header": {
"repeat": true,
"text": "Mi Empresa S.L. · NIF B-12345678"
},
"footer": {
"repeat": true,
"pageNumbers": "Página {page} de {pages}"
},
"body": [
{
"type": "heading",
"text": "Factura F-2026-001"
},
{
"type": "fields",
"items": [
{
"label": "Cliente",
"value": "Acme Corp"
},
{
"label": "Fecha",
"value": "2026-06-28"
},
{
"label": "NIF cliente",
"value": "B-87654321"
},
{
"label": "Vencimiento",
"value": "2026-07-28"
}
]
},
{
"type": "divider"
},
{
"type": "table",
"repeatHeader": true,
"keepRowTogether": true,
"columns": [
{
"key": "ref",
"label": "Ref"
},
{
"key": "desc",
"label": "Descripción"
},
{
"key": "qty",
"label": "Cant",
"align": "right"
},
{
"key": "price",
"label": "Precio",
"align": "right"
},
{
"key": "total",
"label": "Total",
"align": "right"
}
],
"rows": [
{
"ref": "SRV-01",
"desc": "Diseño de identidad de marca",
"qty": "1",
"price": "1.200,00 €",
"total": "1.200,00 €"
},
{
"ref": "SRV-02",
"desc": "Diseño y maquetación web",
"qty": "1",
"price": "2.400,00 €",
"total": "2.400,00 €"
},
{
"ref": "SRV-03",
"desc": "Sesión de fotografía de producto",
"qty": "2",
"price": "350,00 €",
"total": "700,00 €"
},
{
"ref": "SRV-04",
"desc": "Gestión de redes (mensual)",
"qty": "3",
"price": "450,00 €",
"total": "1.350,00 €"
}
]
},
{
"type": "totals",
"keepWithPrevious": true,
"lines": [
{
"label": "Subtotal",
"value": "5.650,00 €"
},
{
"label": "IVA 21%",
"value": "1.186,50 €"
},
{
"label": "Total",
"value": "6.836,50 €",
"emphasis": true
}
]
},
{
"type": "spacer",
"size": "10mm"
},
{
"type": "section",
"keepTogether": true,
"title": "Condiciones",
"body": [
{
"type": "text",
"text": "Pago a 30 días desde la fecha de emisión, por transferencia a la cuenta indicada."
},
{
"type": "text",
"text": "Recargo por mora del 1% mensual sobre el importe pendiente pasado el vencimiento."
}
]
},
{
"type": "signature",
"name": "Mi Empresa S.L.",
"label": "Conforme · firma y sello"
}
]
}