TL;DR
Invoice Auto-Documentation is a finance workflow that chains Stripe + Notion to automate a common task. Every Stripe invoice is automatically documented in a Notion database with amount, customer, and payment status. Once configured, it runs through Claude Code, Cursor, Windsurf or any MCP-compatible AI agent.
Invoice Auto-Documentation
Every Stripe invoice is automatically documented in a Notion database with amount, customer, and payment status.
How it works
Run with MCPizy
NewExecute this recipe in your browser — no local install, no Claude Code. Streams results live.
Why this combo?
Stripe holds the ground truth of your revenue; Notion is where your team does financial planning. Connecting them means your finance database updates itself in real time — no copy-pasting from Stripe dashboards into spreadsheets at month end.
Without this workflow
Download CSV from Stripe, paste into Notion manually at month end, fix formatting, realize you missed some invoices, redo it.
With MCPizy
Every paid invoice creates a Notion entry automatically. Month-end review is just reading a page that wrote itself.
Business value
Concrete ROI — not marketing fluff.
Time saved
- Eliminates human copy-paste errors in revenue reporting — investors get accurate numbers, not rounded estimates
- Non-technical stakeholders (ops, sales) self-serve revenue data in Notion without learning Stripe dashboard
- Historical invoice audit trail lives in your shared workspace — critical for due diligence and SOC2
Workflow steps
- 1Stripe webhook fires on invoice.paid
- 2Extract customer and amount from event
- 3Create Notion database entry
- 4Tag with month, plan, and customer tier
- 5Update monthly revenue aggregation page
Use cases
- Auto-log every paid invoice into a Notion revenue tracker
- Tag invoices by plan tier for MRR segmentation reports
- Build a live customer payment history page in Notion
- Track failed payments and churn signals in a shared Notion board
Agent prompt (copy into Claude Code)
This prompt is the workflow. Paste into Claude Code, Cursor, or Windsurf.
You are an invoice-documentation agent. Runs on Stripe webhook events. On invoice.paid: 1. Call stripe.retrieve_invoice(id) to get amount_paid, currency, customer, lines[] 2. Call stripe.retrieve_customer(customer_id) to get email, name, metadata.plan, metadata.tier 3. Call notion.notion-create-pages in database REVENUE_DB_ID with properties: - Invoice: invoice.number - Amount: amount_paid / 100 - Currency: currency - Customer: customer.email - Plan: metadata.plan - Tier: metadata.tier - Date: created (ISO) - Status: "Paid" 4. Call notion.notion-update-page on the monthly rollup page (property: MRR += amount) On invoice.payment_failed: same but Status="Failed" + tag with retry count.
Trigger & credentials
How this workflow fires and what env vars you need.
POST /webhook/stripe (Stripe Dashboard → Developers → Webhooks, events: invoice.paid, invoice.payment_failed)
NOTION_REVENUE_DB_IDDatabase ID for invoice log (32-char UUID)
e.g. a1b2c3d4e5f67890a1b2c3d4e5f67890
NOTION_MRR_PAGE_IDPage ID for monthly MRR rollup
e.g. a1b2c3d4e5f67890a1b2c3d4e5f67890
One-command deploy
Install everything — MCPs, prompt, env template — in a single call.
$ mcpizy recipe install stripe-notion-invoice-docs ✓ Installs all 2 MCP servers ✓ Writes prompt to ~/.mcpizy/prompts/stripe-notion-invoice-docs.md ✓ Generates .env.example in current directory ✓ Ready to paste into Claude Code
Requires mcpizy CLI v1.1+ — install via npm i -g mcpizy.
Quick install (MCPs only)
$ mcpizy install stripe && mcpizy install notionMore Finance recipes
Frequently asked questions
What is this workflow?
Invoice Auto-Documentation is a finance automation that uses Stripe + Notion together via the Model Context Protocol. Every Stripe invoice is automatically documented in a Notion database with amount, customer, and payment status.
How long does setup take?
Setup takes around 8 min setup, continuous documentation. You install the required MCP servers with `mcpizy install stripe && mcpizy install notion`, connect your accounts, and the workflow is ready to run.
What does this workflow change in practice?
Eliminates human copy-paste errors in revenue reporting — investors get accurate numbers, not rounded estimates; Non-technical stakeholders (ops, sales) self-serve revenue data in Notion without learning Stripe dashboard.
Which MCP servers do I need for this?
You need 2 MCP servers: Stripe (mcpizy install stripe), Notion (mcpizy install notion). All are installable in one command via the MCPizy CLI and configured in your `.claude.json` or `.cursor/mcp.json`.
Does this work with Claude Code, Cursor, and Windsurf?
Yes. The workflow runs with any MCP-compatible AI agent — Claude Code, Claude Desktop, Cursor, Windsurf, VS Code with Copilot, and custom agents built on the MCP SDK. The MCP servers are identical across clients; only the config file path (`.claude.json` vs `.cursor/mcp.json`) changes.
Start building this workflow
Install the required MCPs from the directory and automate this in 8 min setup.
$ mcpizy install stripe && mcpizy install notion
Free to install. Connect your accounts and this workflow runs itself.