Skip to main content

Installment Loan Contract

Consumer lenders dress their contracts the way mints dress banknotes: fine engraved linework that is easy to recognize and hard to counterfeit. This is a complete contrat de prêt à tempérament — the installment loan contract a French-language consumer lender issues — wrapped edge to edge in that tradition, issued by a fictional lender, Financière Boréale inc.

  • Full-bleed guilloche security decor. Two hundred and twenty fine strands in two Bézier families sweep over a stepped gradient wash and run to all four page edges — page margins are zero, and the body text keeps clear of the engraving through style-margin insets alone.
  • A true recto/verso document. Section breaks alternate the page dress: the verso page mirrors the guilloche to the left and moves the letterhead to the right, so a double-sided print binds the way a real contract booklet does.
  • Financial disclosure done properly. A terms summary (capital, nominal rate, payment, term, first due date) and an amortization extract share one table identity — French decimal commas, a green header row, right-aligned money columns — and the numbers reconcile line by line.
  • A letterhead drawn, not pasted. The aurora-and-spruce mark, wordmark and hairline rule are vector shapes and text in the page header — no image assets, retintable from the style sheet.
  • A typeset signature block. Script-font signatures over printed names and titles, printed e-signature evidence lines and document hashes set in OCR type — the look of a signed original's closing page; the specimen itself carries no digital signature.

One JSON definition produces the PDF and the Word document from the same source, decor and all.

Features used: PDF/A-2b conformance, watermarks, columns, tables, rules, SVG, barcodes (qrcode), components, headers and footers

How it's built​

A full-bleed decor from a component​

The page has no margin, so the decor reaches all four edges. It is a watermark whose content is an svg the size of the Letter page, and that svg places the guilloche-wash-sweep component: 220 quadratic Bézier strands over a linear gradient of five stops. The component takes no params; the watermark's decorLayer style sets its opacity to 0.75 (Watermarks, Components).

{
"pageSetup": { "size": "LETTER", "orientation": "portrait", "margin": [0, 0, 0, 0] },
"watermarks": [
{
"style": "decorLayer",
"repeat": false,
"content": {
"svg": {
"viewBox": [612, 792],
"children": [
{ "use": { "name": "guilloche-wash-sweep", "x": 0, "y": 0, "width": 612, "height": 792 } }
]
}
}
}
]
}

Text kept clear by its own margins​

With no page margin, every block sets its own. The recto styles (rectoBody, h2r, sumInset) keep 54 pt on the left and 250 pt on the right, clear of the strands that sweep down the right side; their verso twins (versoBody, h2v, schedInset) swap the two.

"styles": {
"rectoBody": { "color": "#222222", "fontSize": 9.5, "textAlign": "justify", "lineHeight": 1.35, "marginLeft": 54, "marginRight": 250, "marginBottom": 7 },
"versoBody": { "color": "#222222", "fontSize": 9.5, "textAlign": "justify", "lineHeight": 1.35, "marginLeft": 250, "marginRight": 54, "marginBottom": 7 }
}

Recto and verso by section break​

The second page opens with a "break": "section" that carries its own header, footer and watermarks (Page breaks). Its watermark places guilloche-wash-sweep-verso, a twin whose coordinates are already reflected about the page centre and whose gradient stops are reversed, so the mirror needs no transform. Its header draws the same letterhead group, translated to x 296 instead of 54.

{
"break": "section",
"header": { "offset": 36, "content": [ { "svg": { "width": 612, "height": 36, "viewBox": [612, 36], "children": [
{ "g": { "translate": [296, 3], "children": [ … ] } }
] } } ] },
"footer": { … },
"watermarks": [ { "style": "decorLayer", "repeat": false, "content": { "svg": { "viewBox": [612, 792], "children": [
{ "use": { "name": "guilloche-wash-sweep-verso", "x": 0, "y": 0, "width": 612, "height": 792 } }
] } } } ]
}

The third page turns back to the recto with a third "break": "section". It leaves watermarks out, so the document's decor returns, and it states the document's header and footer again: a section's header and footer carry on until another section sets them, so the third page would otherwise keep the verso letterhead.

The signature block​

document.fonts declares two faces from files, Script and OCRB. The sigScript style sets each signatory's name in Script above a rule; sigEvidenceHash and verValue set the hashes and the contract number in OCRB. The QR code is a shortcode in a paragraph, [barcode, qrcode, https://financiereboreale.example/verifier/PRET-2026-84273, 44|44], which encodes the verification address at 44 by 44 (Barcodes).