Bank Statement (PDF)
A one-page monthly bank statement — account summary and a dated transaction table with running balances. Synthetic data for testing PDF statement parsers, table extraction, and OCR.

Rendered preview of the pdf file (2.6 KB). Download above for the original.
Specifications
- Pages
- 1
- Domain
- banking
- Note
- synthetic; account number masked
What is a .pdf file?
PDF (Portable Document Format) is a page-oriented document format that preserves fixed layout, fonts, vector and raster graphics, and text across platforms. It can also embed forms, annotations, attachments, and digital signatures. It is the de facto standard for finished, print-ready documents.
How to use this file
Use an example PDF to test text extraction, rendering, page-count and metadata parsing, form-field handling, and conversion or OCR pipelines.
Code examples
import pdfplumber # pip install pdfplumber
with pdfplumber.open("bank-statement.pdf") as pdf:
print(len(pdf.pages), "pages")
print(pdf.pages[0].extract_text())Related files
- pdf10-Page PDF with Bookmarked TOCA ten-page PDF with a table of contents and a full bookmark outline (10 entries) — for testing PDF navigation, outline parsing, and page extraction.

- pdf50-Page PDF (text-light)A 50-page, text-light PDF — for testing page-count handling, pagination, and large-document navigation without a large file.

- pdfAirline Boarding Pass (PDF)An airline boarding pass laid out as a landscape PDF — passenger, flight, gate, seat, PNR, and a decorative barcode strip. A fixture for testing document-layout parsing and field extraction. Synthetic; the barcode is decorative.

- pdfFillable Form (AcroForm)A one-page PDF with a six-field AcroForm (full_name, email, phone, date, subject, comments) — a fixture for testing form fillers, parsers, and field extraction.

- hl7HL7 v2 ADT^A01 Admission MessageAn HL7 v2.5 ADT^A01 patient-admission message — pipe/caret-delimited segments (MSH, EVN, PID, PV1, allergies, diagnosis). A fixture for testing healthcare integration engines and HL7 parsers. The patient is fictional.

- pdfImage-Only 'Scanned' PDF (OCR twin)An image-only PDF containing a rasterised 'scan' of the simple document, with no text layer. Paired with the text version so you can score OCR output against a known ground truth.

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