DOCUMENT INTELLIGENCE
Deterministic document parsing and template filling. Hand Docs a contract, invoice, or tax form and it extracts every field, table, and data point. Then feed data into a template and generate completed documents ready for signature.
WHAT DOCS CAN DO
PDF, DOCX, DOC, scanned images. Docs reads them all and returns structured data you can use.
Names, dates, amounts, addresses. Every field identified, labeled, and ready for your database.
Complex tables with merged cells, headers, and footnotes. Extracted as clean structured data.
Feed data into any template and get a completed document. PDF or DOCX output, pixel-perfect every time.
Parse hundreds of documents at once. Queue management, progress tracking, and error handling built in.
Every extracted field comes with a confidence score. Flag uncertain extractions for human review.
HOW IT WORKS
PDF, DOCX, or DOC. Docs identifies the format automatically.
Fields, tables, and metadata. All structured as clean JSON.
Feed extracted data into a template. Get a completed document.
Hand the filled document directly to Sign. One seamless workflow.
from masonry import documentresult = document.parse(file="contract.pdf",extract_tables=True)print(result.text)print(result.fields) # 12 fields foundprint(result.tables) # 3 tables
filled = document.fill(template="nda-template.docx",data={"company": "Acme Inc","date": "2026-04-21","signer": "Jane Doe"})print(filled.download_url)
WORKS WITH