Generate PDFs from JSON

Generate PDFs from JSON data with reusable blueprints and async delivery.

Submit structured business data, let JayCode execute your blueprint logic, and receive a signed PDF URL when rendering completes.

JSON input → blueprint → PDF output

This model is ideal for invoices, contracts, reports, certificates, and other business documents that need logic, formatting, and reliable delivery.

Public blueprints

Use ready-made invoice and document templates to get started fast.

Custom JSON blueprints

Define layout, conditions, calculations, and branded assets in reusable templates.

Async webhooks

Send data once and fetch a signed file URL when the render is ready.

Example JSON payload

{
  "blueprint": "public/stripe-style-invoice",
  "vars": {
    "invoiceNumber": "INV-0042",
    "customer": { "name": "Acme Inc.", "email": "billing@acme.test" },
    "items": [{ "description": "Pro plan", "quantity": 1, "unitPrice": 199.99 }],
    "currency": "USD"
  }
}

FAQ

Can I generate PDFs directly from JSON?

Yes. JayCode accepts structured JSON data and renders it with a blueprint into a final PDF.

Do I need to build a template from scratch?

No. Start with a public blueprint or customize one for your branding and business rules.

What kinds of documents fit this flow?

Invoices, contracts, certificates, reports, delivery notes, and more.

Can I use custom fonts and images?

Yes. Upload brand assets once and reuse them across generated documents.

How do I get the finished PDF?

Use the returned webhook and signed URL to download the completed document.