AI review of franchise disclosure documents: the risks and upsides before signing
An LLM that reads a Brazilian franchise disclosure document (COF), checks it against what the Franchise Law requires, and flags risky clauses and the offer's strengths, citing the passage each conclusion came from.
- Client
- Franchise consultancy · confidential
- Role
- Solution design, prompting, evaluation and application
- Year
- 2025
- Status
- Delivered
The problem
A COF runs to dozens of pages, and a prospective franchisee rarely reads all of it with a legal and financial eye.
A consultant's manual review takes hours per document, which caps how many prospects they can serve.
The constraints
- Every point has to cite the passage it comes from. A conclusion without a source is useless to a consultant.
- Long documents with tables and annexes that do not fit a model's context in one go.
- The report informs an investment decision: the tone has to be clear and cautious, never alarmist.
Architecture
- 01COF PDFdozens of pages
- 02Extractiontext, tables, annexes
- 03Legal checklistLaw 13.966/2019
- 04Clause analysisrisks and upsides
- 05Reportevery point sourced
What was built
Franchise Law checklist
Checks the items required by Brazil's Law 13.966/2019, such as fees, royalties, territory, terms, financial statements and the franchisee list, and flags what is missing.
Risks and upsides
Unusual or unfavourable clauses, such as penalties, exclusivity and renewal terms, and the offer's strengths, explained in plain language.
Sourced conclusions
Every item in the report points to the passage of the COF behind it, so the consultant checks it in seconds instead of rereading the document.
Stack
- Python
- LLM
- PDF extraction
- Structured output (JSON)
- Prompt evaluation
Have a similar problem?
Tell us how it works today. If it makes sense, the next conversation ends with a plan.
Talk about my case