Skip to main content
Back to Blog
documents pdf design thoughts

The Document Generation Gap

Swifty Team May 20, 2025 3 min read

There is a specific kind of frustration that comes from generating a PDF from your business data and seeing something that looks like it was designed in 2003. Misaligned columns. Generic fonts. A logo that renders at the wrong size. Line items that break across pages at the worst possible moment.

You know the data is right. You know the document should look professional. The gap between what you have and what you need is the document generation gap.

Why the Gap Exists

The document generation gap has several causes, and most tools fail to address all of them.

Template systems that are disconnected from data. When you design a template in one environment and data flows in from another, the two are in constant tension. Layout decisions made without real data look wrong when real data fills them.

Design tools that don't understand business logic. A visual template editor gives you boxes and colors. It doesn't help you with: "show this section only if the customer is VAT-registered" or "calculate the tax total using this customer's applicable rate."

Generation engines that don't handle pagination well. Real business documents paginate. Tables span pages. Sections need to stay together. Repeating headers and footers need to repeat correctly. Getting this right is harder than it looks.

The Components of a Good Document

A document that closes the gap between data and professionalism requires several things working together:

  • Branding that renders faithfully: Your logo, your colors, your typography — in every document, at the right quality
  • Data that's accurate: Calculations performed by the platform, not re-done in the template
  • Layout that handles real data: Short descriptions and long ones, two line items and twenty
  • Locale awareness: The right date format, the right number format, the right language
  • Consistent output: Every generated instance looks the same, regardless of who generated it or when

Closing the Gap

The document generation gap is closed when the system that holds your data also generates your documents — with full access to your data model, your calculations, your locale settings, and your branding.

That integration isn't possible when the document tool is a separate service. It requires the generation to be a first-class part of the platform.

That's the architecture Swifty is built on. And it's why the documents it produces look like they were designed intentionally — because they were, with access to everything needed to make them right.

Related posts

Composed Data Sources

Chain and relate data sources for rich dashboards — compose complex data views from simpler sources without writing code.

Computed Expressions

Transform data with template expressions and built-in functions — format, combine, and derive values from your data without code.

Cross-Source Data Joins

Combine data from multiple sources in one view — join records from your database with data from external services using a shared key.