Skip to main content

Mortgage & Lending Templates

Loan applications, disclosures, and mortgage documents. Structurify provides 2 templates for this category.

Available Templates

TemplateIDDescription
Loan Estimate (TRID)ptpl_loan_estimateExtract loan terms, fees, and disclosures from CFPB Loan Estimate forms for mort
Closing Disclosure (TRID)ptpl_closing_disclosureExtract final loan terms, actual fees, and settlement figures from CFPB Closing

Example Usage

from structurify import Structurify

client = Structurify(api_key="sk_live_xxx")

# Create project with template
project = client.projects.create(
name="My Mortgage & Lending Project",
template_id="ptpl_loan_estimate"
)

# Upload and extract
doc = client.documents.upload(
project_id=project["id"],
file_path="document.pdf"
)
job = client.extraction.run(project_id=project["id"])
result = client.extraction.wait_for_completion(job["id"])

Try It