DocPayload · document infrastructure

Plain JSON. Every document.

Describe contracts, compliance reports, lab results, financial statements, credentials — once. Render to PDF or DOCX, identically.

Start in the playground Talk to our team Quality · Rigor · Traceability
render as
SOURCE
OUTPUT · PDF rendered in 92ms
Range

Every script, every code, every channel.

Languages
  • Français
  • Español
  • Deutsch
  • 日本語
  • العربية
  • हिन्दी
  • 中文
  • 한국어
  • ไทย
  • עברית
  • Ελληνικά
  • + any font you supply
Barcodes
  • QR
  • Code 128
  • Data Matrix
  • Aztec
  • PDF417
  • EAN-13
  • + 57 more · 63 in total
Output
  • PDF
  • DOCX
  • from one JSON
Composition · how documents come together

Any document can reference any other.

Your letterhead is a DocPayload document. Your standard footer is one. Your legal boilerplate, your branded signature block, your classification disclaimer — all DocPayload documents. Reference them from your templates. Compose at any granularity.

There's no separate component system to learn. The same source language describes whole documents and the building blocks that go into them.

Reference them from your templates. Compose at any granularity. When the legal team updates the standard arbitration clause, every document that references it picks up the change on next render.

BUILDING BLOCKS COMPOSED DOCUMENTS letterhead.json Branded header band footer_classified.json Classification & page numbers arbitration_clause.json Legal · owned by Legal team gdpr_addendum.json Compliance · owned by Compliance signature_block.json Standard signing layout lease_agreement.json references: letterhead, footer, arbitration_clause, signature_block compliance_report.json references: letterhead, footer_classified, gdpr_addendum customer_disclosure.json references: letterhead, gdpr_addendum, signature_block → rendered PDF · DOCX → rendered PDF · DOCX → rendered PDF · DOCX

Compose at any granularity

A letterhead. A clause. A whole appendix. A multi-page section. Reference whatever level makes sense for your team. DocPayload doesn't impose a hierarchy.

No new concepts

If you know how to write a DocPayload document, you know how to compose them. The optional component wrapper signals "this is a building block." The engine treats it identically to any document.

Update once, propagate everywhere

When Legal updates the arbitration clause, every template that references it picks up the change on next render. No copy-paste drift. The audit trail records which versions composed each rendered document.

DocPayload Compose modal — pick component templates by checkbox to assemble a document
Compose · pick components to assemble Try it in the playground
What we got right that's actually hard

The problems incumbents won't talk about.

We've shipped document pipelines on every major PDF library, headless browser, and document-services API. We built DocPayload because regulated workflows kept asking for things they weren't designed to give. Here's what we built to make documents reliably hold together.

Every feature, in plain JSON

Barcodes, fillable forms, encryption, signatures, watermarks, headers and footers, table of contents — every advanced capability is a declarative shape in the source file. Nothing requires dropping into code, learning a DSL, or editing a binary template you can't read.

See it on the barcode catalog

One source, both formats, visually identical

PDF is fixed-coordinate. DOCX is flow-based. We render through a single intermediate with format-specific knowledge of each downstream renderer's quirks. The same JSON file produces a PDF and a DOCX that look the same — no port, no drift, no Word-version surprises.

See it on the consulting invoice

Schema-first authoring

The IR has a published JSON Schema. Your editor reads it directly for autocompletion and inline validation; the runtime validates every document before it renders. Malformed structure, undefined styles, unbound data, and format-incompatible primitives are caught at build time, not in production.

See it on the compliance report

Compliance and signing in the engine

AES-256 encryption with granular per-action permissions, PAdES cryptographic signatures with certification levels and field locking, diagnostics rendered into the document itself. The regulated-workflow surface is first-class — no third-party signing service in the pipeline.

See it on the stock certificate

Composition with isolation, in production

Any document definition composes into another. Refs are depth-limited, tenant-isolated, with explicit merge semantics. Build a header once, reuse it across every document; build a templated invoice body, drop it into multi-section reports. In production, in customer hands today.

See it on the employee handbook
Specimen sheet

What the engine can render.

Six fixtures, each at one capability extreme. The same declarative source layer produces all of them — and every other document above.

Authoring · the hosted surface

Build in our playground, ship from your tenant.

Sign in. Iterate live. Ship.

Live playground

Auth-gated by default. Your tenant, your data, no shared sandbox.

Author in your editor

IDE autocomplete from the published schema. Git-versioned, PR-reviewed.

Natural-language assistant optional

Describe in any language. Optional. Never in the render path.

100 GB tenant storage

Fonts, logos, images. Isolated per tenant. Same path local and prod.

authoring assistant · draft mode
PROMPT · français

"Générer un contrat de location résidentielle pour une propriété à Montréal. Bail de 12 mois à partir du 1er juillet 2026. Loyer mensuel 2 800 $ CAD. Citer le Code civil du Québec, articles 1851 à 1978."

GENERATED · 0.8s
valid · schema v3.2 · awaiting human review
DocPayload Studio playground — editor with template picker open and JSON source visible
Studio · author, validate, render Open the playground
Integration · how DocPayload fits your stack

Two ways to compose. Three ways to deliver.

DocPayload supports the integration patterns regulated teams actually use in production: from inline one-offs to high-volume webhook pipelines. Same API. Same source language.

Composition modes

Templateless
Post the full document inline: structure, content, and data merged in one payload. Best for one-offs, prototypes, and AI-assisted drafts.
Template + data binding most production teams
Reference a stored template by ID, post only the data fixture. The template can compose other documents (letterheads, clauses, footers) by reference. Best for recurring documents at volume.

Delivery modes

Synchronous response
Document returned in the response body. Low-latency, simple integration. Best for interactive flows where a user is waiting.
Email delivery
DocPayload delivers the rendered document to a provided email address. No client storage or routing needed. Best for end-user-facing documents.
Webhook subscription
DocPayload POSTs the rendered document to your endpoint when ready. Signed payloads, retries with backoff. Best for batch jobs and async pipelines.

No SDK. The schema is the interface.

DocPayload's published JSON Schema is the only client-side dependency. Your editor reads it directly for autocompletion, validation, and inline documentation. Construct documents in the language your team already works in. POST them to the API. The artifact is the source — not the code that generated it.

No language-specific binding to version-pin. No templating engine to learn. No HTML scaffolding. The whole point of declarative documents is to free your team from those choices. Write JSON, get a document.

# render template with data binding, sync response
curl https://api.docpayload.com/v1/render \
  -H "Authorization: Bearer $KEY" \
  -H "Accept: application/pdf" \
  -d '{ "template": "lease_agreement_v4",
       "data": { ... } }' \
  -o lease.pdf

# or post a full document inline (templateless)
curl https://api.docpayload.com/v1/render \
  -H "Accept: application/docx" \
  -d @full_document.json \
  -o output.docx
Compliance · what audits look for

Built for documents that have to survive scrutiny.

DocPayload serves clinical labs, payroll processors, banks, law firms, and government agencies. The compliance posture reflects who we serve.

HIPAA
BAA available. PHI handled per Security and Privacy Rules. End-to-end encryption with customer-managed keys.
eIDAS / PAdES
Qualified electronic signatures with B-LTA long-term validation. Compatible with EU trust service providers.
PDF/A-1, A-2, A-3
ISO 19005-compliant archival output. Validated against veraPDF on every render. Embedded XML for Factur-X and ZUGFeRD.
PIPEDA / Law 25 / FINTRAC
Canadian regulatory frameworks supported natively. Data residency in Canadian jurisdiction available.
Data residency
US, EU, Canada, UAE deployments. Self-hosted and VPC options for sensitive workloads. No data leaves your chosen region.
Audit trail
Every render logged with source hash, schema version, fixture digest, renderer version, and approver identity. Tamper-evident archive.
DocPayload Activity page — audit log with timestamps, actions, results, actors, targets, and trace IDs
Activity · every render, every actor, every trace See the audit view
Pricing

Aligned with how regulated teams actually buy.

One price covers all output formats. Renders are not double-counted when you produce both PDF and DOCX from the same source.

Starter

Freelimited plan
Up to 5 documents - No credit card required
  • Up to 5 documents
  • Basic templates
  • Email support
  • 2GB storage
  • Advanced templates

Enterprise

$79per user/month
Billed monthly
  • Everything in Pay-as-you-go
  • Custom templates
  • Advanced workflows
  • 24/7 phone support
  • Unlimited storage
Why we built this

Two generations of document tools failed regulated teams.

We're the engineers who shipped document pipelines on every major PDF library, headless browser, containerized office suite, and document-services API. We have a lot of respect for what those tools do. We also know where they stop — because we shipped past their edges.

The first generation of document tools gave engineers total control but required engineering expertise per template, producing fragile imperative pipelines that broke every time a font was missing or a page broke unexpectedly.

The second generation — AI document tools — gave users ease but produced documents you can't audit, version, or trust under regulatory pressure. DocPayload exists because regulated teams need all of it: the rigor of a declarative, schema-validated, deterministic engine; the optional convenience of natural-language authoring on top; and a composition model where any document can reference any other, so teams collaborate on shared building blocks without copy-pasting drift across templates.

Recent

The product, in motion.

MAY 2026

Canvas style property renames (SVG alignment)

Four canvas style keys renamed to match SVG presentation attributes: lineDash → strokeDasharray, lineDashPhase → strokeDashoffset, lineCapStyle → strokeLinecap, lineJoinStyle → strokeLinejoin. Authors fluent in SVG now author canvas styles by ear.

MAY 2026

Enum-value casing normalized to lowercase

textAlign, borderCollapse, verticalAlign, and horizontalAlign values are now consistently lowercase across fixtures and docs. Engine parsers were already case-insensitive — existing payloads continue to render identically. Vocabulary cleanup, not a behavior change.

v2.4 · APR 2026

Table of Contents content element

{ "toc": {} } auto-generates a TOC from document headings. Clickable links with dotted leaders, right-aligned page numbers, and nested PDF outline bookmarks. Place anywhere in the content flow.

v2.4 · APR 2026

Custom Fonts via tenant assets

Register TrueType/OpenType font families via the fonts document property. Full 4-variant support (regular, bold, italic, boldItalic) with automatic fallback. Inline [b]/[i] tags resolve to the correct custom font variants. Embedded in the PDF with full Unicode coverage.