INVO
InicioSitio web
SDKs
  • Typescript
InicioSitio web
SDKs
  • Typescript
Área privada
  1. 🛠️ Herramientas
  • Inicio
  • Typescript
  • Raíz
    • 🦄 Otros
      • Verificar estado del servicio
    • 🫆 Certificado digital
      • Subir certificado
      • Información del certificado
      • Eliminar certificado
    • 📝 Facturas
      • Listar facturas
      • Crear/Almacenar factura
      • Listar colas de envío
      • Listar errores
      • Obtener factura
      • Editar factura
      • Eliminar factura
      • Enviar a AEAT
      • Resolver error
    • 🛠️ Herramientas
      • Leer datos de factura
        POST
      • Generar PDF
        POST
  1. 🛠️ Herramientas

Generar PDF

Entorno prueba
https://test.your-api-server.com
Entorno prueba
https://test.your-api-server.com
POST
/makeup
Genera un PDF personalizado de factura con branding, colores y plantillas configurables para impresión o envío.

Solicitud

Autorización
or
Parámetros del Body application/jsonRequerido

Ejemplos

Respuestas

🟢201Creado
Esta respuesta no tiene un body.
Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/makeup' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "INV-0001",
    "date": "2023-01-01",
    "branding": {
        "logo": "string",
        "favicon": "string",
        "accent_color": "#000",
        "foreground_color": "#fff"
    },
    "client": {
        "name": "Jhon Doe",
        "cif": "12345678A",
        "address": "C/ Fake 123, 28080 Madrid",
        "phone": "+34 666 123 123",
        "email": "jhon@doe.com"
    },
    "business": {
        "name": "Business S.L.",
        "cif": "B12345678",
        "address": "C/ Fake 456, 28080 Madrid",
        "phone": "+34 911 123 123",
        "email": "business@example.com"
    },
    "total": 1210,
    "subtotal": 1000,
    "tax_value": 210,
    "tax_percent": 21,
    "surcharge_value": 0,
    "surcharge_percent": 0,
    "observations": "Gracias por su compra!",
    "payment_instructions": "Transferencia bancaria a la cuenta ES00 0000 0000 0000 0000 0000",
    "RGPD": "string",
    "type": "invoice",
    "template": "classic",
    "concepts": [
        {
            "name": "Papel A4",
            "price": 10,
            "quantity": 5,
            "total": 50,
            "subtotal": 41.32,
            "discount_value": 8.68,
            "discount_percent": 15
        }
    ]
}'
Anterior
Leer datos de factura
Built with