Skip to content
Novus Examples
pdf3.1 KB

Pine Assembly Workshop: Customs commercial invoice PDF

Customs commercial invoice PDF for Pine Assembly Workshop. A one-page commercial invoice for the BOL-2026-0004 export. The line table totals 1,360.00 USD over 20 units and the valuation table walks goods plus freight to a customs value of 1,748.08 and a total charges payable of 133.29.

Rendered preview of Pine Assembly Workshop: Customs commercial invoice PDF

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

Specifications

Document Set
logistics
Industry
logistics
Source Kit
inventory-manufacturing
Synthetic
true
As Of
2026-09-08
Pages
1
Lines
4
Customs Value Usd
1748.08
Total Charges Usd
133.29

Testing contract

Expected to pass
Scenario
Extract both tables and recompute the valuation from the line total and the printed rates.
Expected result
The 4 invoice lines total 1,360.00; adding the printed freight 388.08 gives 1,748.08, and the two printed rates give duty 43.70 and import tax 89.59 for a total of 133.29, exactly as printed.

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

“Pine Assembly Workshop: Customs commercial invoice PDF” is a deterministic Novus Examples fixture for Data import. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: 1 pages. 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.

Document fixtures list their internal structure (pages, fields, tracked changes, embedded objects) in the spec table. Test extractors, converters, and OCR against that known structure, and compare searchable↔scanned or format-twin companions when present.

Code examples

import pdfplumber  # pip install pdfplumber

with pdfplumber.open("commercial-invoice-CI-2026-0004.pdf") as pdf:
    print(len(pdf.pages), "pages")
    print(pdf.pages[0].extract_text())

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