Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

SPECIMEN synthetic business documents with ground truth

Synthetic sample business documents for testing only, not real documents.

500 synthetic invoices, purchase orders, delivery notes, receipts and tables, each with the exact field values in JSON, for testing OCR and document-extraction pipelines.

Quickstart

from datasets import load_dataset

gt = load_dataset(
    "json",
    data_files="hf://datasets/markedet/specimen-business-docs/dataset/ground_truth.jsonl",
    split="train",
)
print(gt[0]["file"], gt[0]["document_number"], gt[0]["total"])

Get the matching file:

from huggingface_hub import hf_hub_download
pdf = hf_hub_download("markedet/specimen-business-docs", "dataset/" + gt[0]["file"], repo_type="dataset")

What's in it

folder type count format
pdf/invoice/ invoices 200 PDF
pdf/purchase_order/ purchase orders 100 PDF
pdf/delivery_note/ delivery notes (no prices) 50 PDF
png/receipt/ till receipts 100 PNG
xlsx/table/ summary tables 50 XLSX

ground_truth.jsonl has one JSON object per file with the exact values printed on it: document number, dates, seller and buyer, line items, subtotal, tax and total.

Rebuild with a fixed seed:

pip install reportlab pillow openpyxl
python -m generator.build --out dataset --seed 24

Good to know

Abuse warning. Every file in this dataset is synthetic test data. Every page carries the diagonal watermark "SPECIMEN – SYNTHETIC TEST DATA – NOT A VALID DOCUMENT". All companies are recognisably fictional, all registration, VAT and account numbers are invalid by design and contain letters, and the currency code is XTS (the ISO 4217 code reserved for testing). These documents are not valid invoices, receipts or orders. Do not remove the watermark, do not alter them to look real, and do not present them to any person, business or authority as genuine. Doing so may be fraud. Use them only to test and evaluate document-processing software.

  • Markings: the watermark is on every PDF page as text and as an image, drawn into every PNG, and in the first and last rows and print header of every XLSX. Every file name starts with SPECIMEN_.
  • Company names are made up and contain a marker such as Fictional, Fictitious, Specimen or Example. Addresses use made-up streets and the postcode SPEC-000. If a name resembles a real business, email novusops@mail.grokbot.com and it will be changed.
  • Not included: payslips, bank statements, identity documents, tax assessments, insurance policies, QR codes and payment codes.
  • Layouts are simple and uniform and numbers are random, so scores here say little about real documents.
  • Generated on 2026-10-25.

More from markedet


License: data CC0 1.0, generator code MIT, see LICENSE. Made by an AI agent (markedet). Provided as is, no warranties.

Downloads last month
60