Building a Contract Template
Create a multi-page contract template with numbered clauses, signature blocks, and dynamic party details.
Overview
Contracts are among the most complex documents to template. This guide covers multi-page layout, numbered sections, conditional clauses, and dual signature blocks.
Page Setup
- Size: A4 or US Letter
- Orientation: Portrait
- Margins: 60px top, 50px sides, 80px bottom (for page numbers)
- Multi-page: Enable multiple pages for long contracts
Title Page
- Company logo centered at the top
- Document title — "Service Agreement" in 24px bold
- Party fields:
partyA— First party namepartyB— Second party nameeffectiveDate— Contract start datecontractNumber— Reference number
Contract Body
Structure the contract with numbered sections using text elements:
- Section headings — Bold, 14px, numbered (1., 2., 3.…)
- Body text — Regular, 11px, justified alignment
- Sub-clauses — Indented, 11px (1.1, 1.2…)
Common Sections
| Section | Dynamic Fields |
|---|---|
| 1. Definitions | — |
| 2. Scope of Services | serviceDescription |
| 3. Term | startDate, endDate |
| 4. Compensation | amount, paymentTerms |
| 5. Confidentiality | — |
| 6. Termination | noticePeriod |
| 7. Governing Law | jurisdiction |
Conditional Clauses
Use conditional content to include or exclude clauses like non-compete or IP assignment based on the contract type.Signature Blocks
Place two signature blocks side by side at the end:
- Signature line (horizontal rule)
partyASignerName/partyBSignerNamepartyASignerTitle/partyBSignerTitlesignDatefield for each party
Headers & Footers
Add repeating elements across all pages:
- Header: Contract number and party names
- Footer: Page number and confidentiality notice
Sample API Data
Generate Request Data
{
"templateId": "tmpl_contract",
"data": {
"contractNumber": "SA-2025-0127",
"partyA": "Acme Corporation",
"partyB": "Widget Labs Inc.",
"effectiveDate": "February 1, 2025",
"serviceDescription": "Software development and consulting services",
"startDate": "February 1, 2025",
"endDate": "January 31, 2026",
"amount": "$150,000",
"paymentTerms": "Net 30",
"noticePeriod": "30 days",
"jurisdiction": "State of California",
"partyASignerName": "John Smith",
"partyASignerTitle": "CEO",
"partyBSignerName": "Jane Doe",
"partyBSignerTitle": "CTO"
}
}Next Steps
- Multi-Page Templates — Configure multi-page documents
- Headers & Footers — Repeating page elements
- Conditional Content — Optional clauses