Skip to content
Novus Examples
pdf1.8 KB

Invoice Template (PDF)

The invoice template as a print-ready PDF — the format twin of the DOCX version, for converter testing and direct printing.

Rendered preview of Invoice Template (PDF)

Rendered preview of the pdf file (1.8 KB). Download above for the original.

Specifications

Type
invoice
Line Items
3
Twin
DOCX

What is a .pdf file?

PDF (Portable Document Format) is a page-oriented format that fixes layout, fonts, and vector and raster graphics so a page renders identically anywhere. A `%PDF-` header is followed by numbered objects, a cross-reference table mapping each to a byte offset, and a trailer; edits append incremental updates rather than rewrite the file. Page content is a stream of drawing operators, so a PDF holds no words or paragraphs, only positioned glyph runs. Adobe released it in 1993 and gave it to ISO as ISO 32000-1 in 2008.

How to use this file

Use an example PDF to test text extraction, rendering, metadata parsing, AcroForm handling, and OCR pipelines — checking that extraction reconstructs reading order from glyph positions, that a scanned page yields no text, and that an incremental update leaves earlier revisions in the file.

How to use this file for testing

“Invoice Template (PDF)” is a deterministic Novus Examples fixture for Templates, Conversion testing. Professional, neutral starting-point documents you can download and adapt — invoices, resumes, budgets, and more.

Documented properties for this file: 3 lineItems · invoice. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

This template ships filled with realistic sample content and documented fields and formulas. Download it as a starting point, or point a converter/parser at it — format twins (for example DOCX↔PDF) let you diff conversion fidelity.

Code examples

import pdfplumber  # pip install pdfplumber

with pdfplumber.open("invoice.pdf") as pdf:
    print(len(pdf.pages), "pages")
    print(pdf.pages[0].extract_text())

Generated by generation/templates_core.py. Free for any use, no attribution required — license.