Developer Portal
This portal is restricted to authorised developers only. Enter the access password to continue.
Incorrect password. Please try again.
🔒 Protected · clearfile.786i.com
Developer Briefing Pack
ClearFile — UK Accounting
Automation Platform
Complete specification for the engineer building ClearFile. Two launch products: MTD quarterly submissions and CS01 annual filing. Fully automated, solo-founder SaaS.
47
Total features
6
Build phases
8
Est. weeks
£9.99
Entry price/mo
Q3 2026
Target launch
47
Total features
11
API integrations
6
Build phases
~8 wks
Build estimate
Phase 1 — Foundation
Phase 2 — Bank feeds
Phase 3 — HMRC MTD
Phase 4 — Companies House
Phase 5 — Billing
Phase 6 — Launch
Build sequence — click any feature to inspect
Executive summary
ClearFile — UK automated accounting SaaS for sole traders, landlords, and limited company directors
Business nameClearFile Ltd (to be incorporated)
Legal structureLimited Company
Target marketUK sole traders, landlords, limited company directors
Launch productsMTD Quarterly Submissions + CS01 Annual Filing
Revenue modelMonthly / annual SaaS subscription
Target launchQ3 2026
Year 1 revenue target£35,000–£50,000 ARR by Month 12
Founder modelSolo founder, AI-assisted development via Claude + Emergent
Product 1 — MTD submissions
Automated HMRC quarterly filing
Price£9.99–£14.99/month
TargetSole traders & landlords, MTD-mandated from April 2026
Automation95% — AI categorises, system submits
IntegrationHMRC MTD Income Tax API + Open Banking
AI engineClaude API for transaction categorisation
Product 7 — CS01 filing
Companies House confirmation statement automation
Price£29/year + £12 per change filing
Target~5 million UK limited company directors
Automation90% — pre-filled from CH data, one-click submit
IntegrationCompanies House Public + Filing APIs (OAuth 2.0)
Key riskStrike-off if deadline missed — strong pain driver
Revenue projections
Subscriber and MRR targets across 24 months
MonthMTD subscribersCS01 subscribersMRR (£)ARR run-rate (£)
Month 325503303,960
Month 6801501,16313,960
Month 91803002,52330,276
Month 123505004,71456,568
Month 187001,0009,430113,160
Month 241,2001,80016,166193,992
Break-even at just 16 MTD subscribers (£9.99/mo). Profitable from the first meaningful cohort. At 1,000 subscribers the business runs at ~85% gross margin.
Unit economics
Per-subscriber margins
MTD price£9.99/mo
MTD COGS (APIs)~£0.80/mo
MTD support cost~£1.00/mo
MTD net margin~£8.19/mo (~82%)
CS01 price£2.42/mo equiv
CS01 net margin~£2.12/mo (~88%)
Cost structure
Monthly fixed costs at early stage
Stripe billing£0 + 1.4% + 20p/txn
Open Banking (Yapily)£0–£200/mo
Claude API£50–£300/mo
Supabase£25–£100/mo
Cloudflare£20–£50/mo
Resend (email)£0–£30/mo
Total (early stage)~£150–£700/mo
Go-to-market — acquisition channels
Prioritised by cost-effectiveness and speed to first revenue
1
SEO content marketing Free
Blog targeting high-intent MTD and CS01 keywords. 2 articles/week. Pillar content: 'Complete Guide to Making Tax Digital 2026'. Expected: 500–2,000 monthly organic visitors by Month 6.
2
HMRC software directory Free
Once production-approved, listed on GOV.UK as compatible MTD software. High-trust, pre-qualified traffic at zero cost.
3
Reddit & online communities Free
Authentic participation in r/UKPersonalFinance (475k+ members), r/FreelanceUK, r/ContractorUK, AccountingWeb.co.uk. Answer MTD and CH questions genuinely.
4
Facebook & LinkedIn ads £500/mo from M4
Facebook: sole traders and landlords interested in HMRC/self-employment. LinkedIn: company directors for CS01 product. Plain-language compliance urgency creative.
5
Accountant referral programme £5/mo per referred sub
Independent accountants refer sole trader clients. Target 10 partners by Month 6, each bringing 20–40 clients. Find via AccountingWeb.co.uk and LinkedIn.
6
Company formation partners Revenue share
Companies Made Simple, Rapid Formations etc. offer ClearFile CS01 as post-registration upsell. CS01 clock starts immediately on incorporation.
7
YouTube & short-form video Free
90-second explainer videos: 'What is Making Tax Digital?' and 'What Happens if You Miss Your Confirmation Statement Deadline?' Screen recordings, plain voiceover.
Competitive landscape
ClearFile vs established UK accounting tools
CompetitorPriceMTD ready?CS01?Gap vs ClearFile
Xero£16–£65/moYesNoToo expensive; complex for non-accountants
QuickBooks£14–£90/moYesNoOverkill for MTD-only; US-centric UX
FreeAgentFree–£19/moYesNoFree only with NatWest/RBS accounts
ANNA +Taxes£15–£24/moYesNoMTD as add-on, not core product
Crunch£159+/moYesYesHuman accountant model — not automated
ClearFile£9.99–£14.99/moYesYesMost affordable automated MTD + CS01 in UK
Technology stack
Every component, its purpose, and who chose it
Frontend
React + Tailwind
Customer dashboard, onboarding wizard, transaction review, submission screens
Cloudflare Pages
Backend functions
Supabase Edge Functions
Business logic, API orchestration, webhook handlers. TypeScript / Deno runtime.
Serverless
Database
Supabase PostgreSQL
All customer data, transactions, submissions, filings. Row-level security mandatory.
UK data residency
Authentication
Supabase Auth
Email/password sign-up, session management, protected routes, password reset via Resend.
JWT sessions
Hosting
Cloudflare Pages
React app deployment. Cloudflare also handles CDN, HTTPS enforcement, and rate limiting.
Primary hosting
Open Banking
Yapily / TrueLayer
FCA-regulated bank feed connections. UK banks only. OAuth token flow, daily sync.
FCA regulated
AI categorisation
Claude API
Transaction categorisation into HMRC-recognised expense categories. Batched 50/call.
claude-sonnet-4
HMRC submission
HMRC MTD APIs
MTD Income Tax quarterly updates, Obligations API, fraud prevention headers.
Production approval req.
CH filing
Companies House API
Public Data API for lookups + Filing API (OAuth 2.0) for CS01 submissions.
OAuth 2.0
Billing
Stripe
Subscription billing, 30-day free trials, webhooks, Customer Portal, invoices.
5 products
Email
Resend
Transactional email: reminders, submission confirmations, onboarding, payment alerts.
Generous free tier
Scheduling
Supabase pg_cron
Daily bank sync at 6am UTC. Deadline reminder dispatch at 8am UK time.
Built into Supabase
External API reference
Every third-party integration, its purpose, and cost model
HMRC MTD API
Quarterly income tax submissions, obligations retrieval, fraud headers
Free
Companies House Public
Company search, profile lookup, filing history, deadline dates
Free
Companies House Filing
CS01 confirmation statement submission via OAuth 2.0
Free
Yapily / TrueLayer
Open Banking — UK bank account connection, daily transaction sync
Usage-based
Claude API (Anthropic)
AI transaction categorisation — batched 50 transactions per call
Per token
Stripe
Subscription management, checkout, webhooks, Customer Portal
1.4% + 20p/txn
Resend
All transactional email — reminders, confirmations, alerts
Free tier
Environment variables required
All must be set in Cloudflare Pages environment before deployment
SUPABASE_URL
Supabase project URL
SUPABASE_ANON_KEY
Public anon key for frontend
SUPABASE_SERVICE_ROLE_KEY
Server-side Edge Functions only — never in frontend
YAPILY_CLIENT_ID
Open Banking — Yapily application ID
YAPILY_CLIENT_SECRET
Open Banking — Yapily secret (server-side only)
HMRC_CLIENT_ID
HMRC Developer Hub application client ID
HMRC_CLIENT_SECRET
HMRC OAuth secret (server-side only)
CH_API_KEY
Companies House Public Data API key
CH_OAUTH_CLIENT_ID
Companies House Filing API OAuth client
CH_OAUTH_CLIENT_SECRET
Companies House Filing API OAuth secret
ANTHROPIC_API_KEY
Claude API — transaction categorisation (server-side only)
STRIPE_SECRET_KEY
Stripe server-side secret key
STRIPE_PUBLISHABLE_KEY
Stripe frontend publishable key
STRIPE_WEBHOOK_SECRET
Stripe webhook signing secret
RESEND_API_KEY
Resend transactional email API key
TOKEN_ENCRYPTION_KEY
AES-256 key for bank/HMRC token encryption — never in DB
APP_URL
Production URL e.g. https://clearfile.co.uk
10
Total prompts
0
Completed
0h 0m
Total dev time
0%
Build progress
⚡ How to use these prompts
Each prompt has a unique reference number (e.g. CF-001). Paste the full prompt into Emergent exactly as written. Run prompts in order — do not start a prompt until all its dependencies are marked complete. When done, click Mark complete, log your time, and add any notes. If Emergent returns with questions, append: "Do not ask clarifying questions — make a reasonable assumption and note it at the end of your output."
Master system context — prepend to every Emergent session:
"You are building ClearFile, a UK accounting SaaS for sole traders and limited company directors. Stack: React + Tailwind CSS frontend hosted on Cloudflare Pages. Backend: Supabase Edge Functions (TypeScript). Database: Supabase PostgreSQL. Brand colours: navy #1B3A6B and teal #0D7377. Domain: clearfile.786i.com (dev), clearfile.app (production). Always use UK English. Never ask clarifying questions — make assumptions and state them. Every function must include error handling. All sensitive tokens must be encrypted before database storage."
⌂ Dashboard
⇄ Transactions
📄 Submissions
🏢 Filings
⚙ Settings
❓ Help
Good morning, Sarah
Tax year 2025–26 · Sole trader
Income this quarter
£8,240
+12% vs last qtr
Expenses this quarter
£2,105
47 transactions
Next MTD deadline
14 days
5 Aug 2025
Subscription
Sole Trader
Active · £9.99/mo
Q2 2025 submission
Due in 14 days
68% of transactions confirmed
Income: £8,240Expenses: £2,105Net: £6,135
Upcoming deadlines
📅
MTD Q2 submission
6 Apr – 5 Jul 2025
14 days
🏢
CS01 confirmation
Acme Consulting Ltd
87 days
📄
MTD Q3 submission
6 Jul – 5 Oct 2025
105 days
Recent transactions 3 need review
View all
DateDescriptionAmountCategoryStatus
24 JunAdobe Creative Cloud−£59.99Office costsConfirmed
23 JunClient invoice #INV-047+£1,800.00Trading incomeConfirmed
22 JunAmazon — various items−£134.50Needs reviewFlagged
21 JunTrain tickets London−£48.40Needs reviewFlagged
20 JunShopify subscription−£29.00MarketingConfirmed
Set up your account
Step 2 of 5 — Personal details
Business
2
Details
3
Business
4
MTD period
5
Confirm
Personal & tax details
10-digit number from HMRC
Format: AB 12 34 56 C
🔒 Your tax information is encrypted at rest using AES-256. We never share it with third parties.
ⓘ You can find your UTR on any HMRC letter or by logging into your Government Gateway account.
⌂ Dashboard
⇄ Transactions
📄 Submissions
🏢 Filings
⚙ Settings
❓ Help
Transactions
Barclays Business · Last synced 2 min ago
3 transactions need your review. AI was under 75% confident. Please confirm or update.
DateDescriptionAmountCategoryConf.Status
24 JunAdobe Creative Cloud−£59.99Office costs98%Confirmed
23 JunClient invoice #INV-047+£1,800.00Trading income100%Confirmed
22 JunAmazon — various items−£134.5052%Flagged
21 JunGWR Rail — London−£48.4071%Flagged
20 JunShopify subscription−£29.00Marketing94%Confirmed
19 JunClient invoice #INV-046+£2,400.00Trading income100%Confirmed
Showing 6 of 143 transactions
Load more
⌂ Dashboard
⇄ Transactions
📄 Submissions
🏢 Filings
⚙ Settings
❓ Help
Q2 2025 submission review
Due 5 Aug 2025
6 April – 5 July 2025 · 143 transactions
↑ Income breakdown
Trading income£8,240.00
Property income£0.00
Other income£0.00
Total income£8,240.00
↓ Allowable expenses
Office costs£641.00
Travel costs£312.50
Marketing£287.00
Legal & financial£520.00
Other allowable£344.50
Total expenses£2,105.00
Net profit this quarter
£6,135.00
Estimated tax liability
~£1,533
Estimated only — not tax advice
Submit to HMRC
This will submit your Q2 2025 quarterly update directly to HMRC via Making Tax Digital.
I confirm this information is accurate and complete to the best of my knowledge. I understand I am responsible for the accuracy of this submission.
⌂ Dashboard
⇄ Transactions
📄 Submissions
🏢 Filings
⚙ Settings
❓ Help
Confirmation statement
On track
Acme Consulting Ltd · Company no. 12345678
All company details are up to date. CS01 is ready to file. Due date: 15 September 2025 — 87 days away.
Company details
Company name
Acme Consulting Ltd
Confirmed
Company no.
12345678
Confirmed
Reg. address
10 High Street, London EC1A 1BB
Confirmed
SIC code
62010 Computer programming
Confirmed
Incorporated
14 March 2019
Confirmed
Directors & shareholders
Directors
Sarah Thompson (14 Mar 2019)
Confirmed
Shareholders
Sarah Thompson — 100 shares
Confirmed
PSC details
Sarah Thompson — 100% control
Confirmed
Statement date
By filing you confirm the information is accurate. ClearFile files this on your behalf as your authorised agent under Companies Act 2006.
Filing history
YearFiled dateCH referenceStatus
2024–25Pending
2023–2412 Jun 2024MzI4NjAzOTk0Filed
2022–239 Jun 2023MzE5NTI2NjkwFiled
⌂ Dashboard
⇄ Transactions
📄 Submissions
🏢 Filings
⚙ Settings
❓ Help
Billing & subscription
Manage your plan and payment details
Current plan
Sole Trader MTD
Active
£9.99/month
Next renewal: 1 August 2025
Plan includes
Open Banking bank feed
AI transaction categorisation
Quarterly MTD submissions (4/yr)
Automated deadline reminders
Final Declaration (year-end)
CS01 filing — add for £29/yr
Invoice history
DateDescriptionAmountStatus
1 Jul 2025Sole Trader MTD — July 2025£9.99Paid↓ PDF
1 Jun 2025Sole Trader MTD — June 2025£9.99Paid↓ PDF
1 May 2025Sole Trader MTD — May 2025£9.99Paid↓ PDF
2 Mar 2025Sole Trader MTD — March 2025£0.00Free trial
ClearFile
FeaturesPricingHow it works
MTD compliance for £9.99/month.
No accountant required.
Making Tax Digital is mandatory from April 2026. Connect your bank, let AI categorise your income, and we submit to HMRC automatically.
Start free 30-day trial
See how it works
🛡 HMRC recognised software
🏢 FCA-regulated Open Banking
🔒 AES-256 encryption
📄 UK GDPR compliant
Why ClearFile?
✗ MTD software is confusing
Most tools are built for accountants. ClearFile is built for people who just need to stay compliant.
💰 Accountants charge £150+/mo
For quarterly submissions alone. ClearFile does the same job automatically at £9.99/month.
⏱ Missing deadlines costs money
HMRC penalties start April 2026. We remind you and submit on time, every time.
How it works
1
Connect your bank
Open Banking — secure, read-only. Takes 2 minutes.
2
AI categorises everything
Income and expenses sorted into HMRC categories automatically.
3
We submit to HMRC
Review and approve. We file your quarterly update directly.
Simple, transparent pricing
Sole Trader MTD
£9.99/month
✓ Bank feed sync
✓ AI categorisation
✓ Quarterly submissions
✓ Deadline reminders
Start free trial
Most popular
Bundle (MTD + CS01)
£12.99/month
✓ Everything in MTD
✓ CS01 annual filing
✓ Company reminders
✓ Auto-file option
Start free trial
CS01 Annual Filing
£29/year
✓ Company lookup
✓ 1-click CS01 filing
✓ 5-stage reminders
✓ Auto-file option
Get started
30-day free trial on all plans · No credit card required · Cancel anytime
Brand identity guidelines
ClearFile brand system — logo, colour, typography, tone of voice, spacing, motion. Version 1.0 · May 2026
ClearFile
ClearFile
ClearFile
Icon only — min 24px
Approved backgrounds
Navy, light grey (#f8f9fc), teal, or white only.
Minimum clear space
Equal to the height of the "C" in ClearFile on all sides.
Minimum size
Wordmark: 120px wide. Icon only: 24px.
Never recolour the mark
Teal panel and amber check must always appear as shown.
Never stretch or distort
Scale proportionally only. No shadows, outlines, or effects.
No busy backgrounds
No photography or patterned backgrounds behind the logo.
Stacked files
Three layered document shapes represent the core product — tax records, MTD submissions, company filings. Each layer slightly offset to show organisation and depth.
Teal action layer
The front document is teal — the active, working layer. Horizontal lines represent transactions being processed. Teal signals forward motion and digital precision.
Amber check mark
The gold circle with a tick is the compliance moment — submission confirmed, deadline met. Positioned bottom-right as a "done" badge. The product's core promise made visual.
Primary palette
Navy
#1B3A6B
Primary brand, headings, nav, dark CTAs
Teal
#0D7377
Actions, links, active states, logo mark
Amber
#F0A500
Accent only — logo check, highlights
Teal light
#14a0a5
Hero subheadings on navy, hover
Navy dark
#122854
Hover on navy, footer
Neutral & surface
Off-white
#f8f9fc
Page background
Surface
#f2f5f9
Cards, sidebar, stat backgrounds
Border
#dde3ed
Card borders, dividers, inputs
Text secondary
#4a5568
Body text, labels, descriptions
Text muted
#8896a8
Captions, metadata, placeholders
Semantic (status & feedback)
Success
#059669
Confirmed, submitted, active, paid
Warning
#d97706
Due soon, needs review, flagged
Danger
#dc2626
Overdue, error, payment failed
Info
#2563eb
Informational, in-progress states
Filing
#7c3aed
CS01 / Companies House contexts
Navy on white or off-white
Primary text and headings use navy (#1B3A6B) on white/off-white.
White text on navy or teal
Any reversed-out text is always pure white (#ffffff).
Semantic colours for status only
Green, amber, red and blue are reserved for status and alerts — never decorative.
Never use teal as a surface
Teal is an action colour — buttons and links only, not large background fills.
Never use amber as a CTA
Amber is the brand accent and logo detail — not a button colour.
Never mix navy and teal as text
Navy is body text. Teal is interactive. Never both on the same line.
ClearFile
MTD compliance made simple
Navy bg · White primary · White 65% secondary
Hero sections, navigation, dark cards
Submit to HMRC
Primary action button
Teal bg · White text
Primary CTA buttons only
Income this quarter
£8,240.00 confirmed
Off-white bg · Navy heading · Grey-70 body
Main content area, dashboard
Submission confirmed
HMRC reference: MTD-2025-Q2
Green-50 bg · Green-900 heading · Green-600 detail
Success states, confirmed badges
Action needed
14 days until MTD deadline
Amber-50 bg · Amber-900 heading · Amber-600 detail
Warning states, deadline alerts
Sole Trader MTD
£9.99/month
White card · Navy heading + price · Muted label
Pricing cards, feature cards
Primary typeface
DM Sans
Variable weight · Google Fonts · Free for commercial use
Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj
Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt
0 1 2 3 4 5 6 7 8 9 £ % & @ !
Monospace (code & data)
DM Mono
For UTRs, NINOs, company numbers, API keys, amounts
UTR 1234567890
NI AB 12 34 56 C
CH 12345678 · £9.99/mo
Display40px / 600 / −0.03em
MTD compliance made simple.
H1 — page title24px / 600 / −0.02em
Good morning, Sarah
H2 — section18px / 600 / −0.01em
Q2 2025 quarterly submission
H3 — card title14px / 600 / 0
Income breakdown
Body15px / 400 / 1.6lh
Making Tax Digital is mandatory from April 2026. ClearFile connects to your bank, categorises your transactions automatically, and submits quarterly updates to HMRC on your behalf.
Label / small12px / 600 / +0.04em
INCOME THIS QUARTER
Mono data13px / 400 / DM Mono
UTR 1234567890 · NI AB 12 34 56 C · CH 12345678
👑
Plain-spoken
No jargon. Explain things as a knowledgeable friend — not an accountant writing to clients.
🔔
Calm urgency
Deadlines matter, but panic helps nobody. Clear about stakes without being alarming.
🔑
Trustworthy
Financial data is sensitive. Always reassure. Never oversell. Be specific about what we do and don't do.
🚀
Empowering
We're on the customer's side. Frame compliance as effortless — a win for them.
HeadlinesShort, benefit-first, no jargon
Do
"MTD compliance for £9.99/month. No accountant required."

"We handle your quarterly HMRC submissions automatically."
Don't
"Unlock seamless MTD-compliant digital tax transformation."

"Leveraging AI to optimise your tax compliance workflow."
UI copy — actionsVerbs first, clear outcome
Do
"Submit to HMRC" · "Review transactions" · "Connect your bank" · "File confirmation statement" · "Start free trial"
Don't
"Proceed" · "Continue to next step" · "Initiate submission" · "Execute filing" · "Commence your journey"
Deadline remindersCalm, factual, action-oriented
Do
"Your Q2 2025 MTD submission is due in 7 days (5 August). Your transactions are ready to review — this takes about 5 minutes."
Don't
"URGENT: You MUST submit your Making Tax Digital return IMMEDIATELY to avoid HMRC penalties and potential prosecution!"
Error messagesExplain what happened and what to do next
Do
"We couldn't connect to your bank. Check your internet connection and try again. If the problem continues, contact [email protected]"
Don't
"Error 502: Bank connection failed. Code: YAPILY_AUTH_ERR_4. Please retry or contact technical support with your user ID."
xs
4px
Icon-to-label gaps, badge padding, tight inline spacing
sm
8px
Between list items, form field internal padding, badge groups
md
12px
Card internal gap, between form fields, table row padding
lg
16px
Card padding (mobile), sidebar item padding, grid gutters
xl
24px
Card padding (desktop), section gaps, page margins (mobile)
2xl
32px
Page content padding, major section breaks, modal padding
3xl
48px
Hero padding, between major landing page sections
sm · 4px
Badges, pills, chips
md · 8px
Buttons, inputs, rows
lg · 10px
Feature, stat cards
xl · 12px
Dashboard cards, modals
pill · 20px+
Tags, status badges
All icons must use the Tabler outline set (prefix ti ti-). Never use filled variants. Always pair with a text label except in established icon-button patterns with aria-label.
home
transactions
submissions
filings
settings
help
bank
AI
deadline
time
confirmed
warning
submit
sync
secure
protected
income
expense
billing
download
external
account
email
reminder
Micro — hover
100ms ease
Button hover, nav item highlight, card border colour change
Micro — active
80ms ease-in
Button press scale(0.98), checkbox tick appear
Standard
200ms ease
Accordion open/close, tab switch, modal appear
Page transition
150ms ease-out
Route change fade. Never slide — this is not a mobile app.
Progress bar
600ms ease-out
Transaction confirmation progress, onboarding step advance
Success flash
300ms / 2s hold
HMRC confirmed, CS01 filed — green flash then settle
Animate only opacity, transform, and color. Never animate layout properties. Always respect prefers-reduced-motion: reduce.
UK English always
"Recognise" not "recognize". "Organised" not "organized". "Colour" not "color". The product is UK-only.
Sentence case for all UI copy
"Submit to HMRC" not "Submit To HMRC". Exception: product names (HMRC, MTD, CS01, Companies House).
£ before numbers, no space
£9.99 · £1,200.00 · £29/year. Always include pence for prices. Commas for thousands.
Dates: D Month YYYY
5 August 2025 · 6 April 2026. Never 05/08/2025 or Aug 5. Always spell the month in UI copy.
Never claim to be an accountant
ClearFile is software. Never say "our accountants" or "we'll file your tax return". Say "we submit your MTD quarterly update".
Never give tax advice
Tax estimates must carry "Estimated — not tax advice." Never say "you owe £X". Say "estimated tax liability ~£X".
Never use passive voice for CTAs
"Your submission will be sent" → "Submit to HMRC". Active verbs only. The system does things.
Never abbreviate on first mention
Always write "Making Tax Digital" in full on first mention per page. MTD acceptable thereafter. Never "M.T.D." or "mtd".