import { cookies } from "next/headers"; import { redirect } from "next/navigation"; export default async function Home() { const cookieStore = await cookies(); const session = cookieStore.get("session"); if (session) { redirect("/app"); } return (
{/* Navigation */}
{/* Hero Section */}
Automate your invoicing

Stripe payments,
Xero invoices {" "}automatically

Stop manually creating invoices. When a Stripe payment succeeds, a Xero invoice is instantly created and marked as paidβ€”with proper VAT handling and accountant-approved accuracy.

Get started β†’ Learn more
{/* Trust badges */}
No manual work
VAT compliant
Audit ready
{/* Features Section */}

How it works

Three simple connections, then automation takes over

{/* Step 1 */}
1

Connect Stripe

Link your Stripe account to start monitoring payments in real-time.

{/* Step 2 */}
2

Connect Xero

Authorize access to your Xero account for invoice creation.

{/* Step 3 */}
3

Done

Relax as payments automatically become invoices in Xero.

{/* Benefits Grid */}

🎯 Zero manual work

No more spreadsheets, journals, or month-end fixing. Invoices appear instantly and correctly.

βœ“ Accounting ready

VAT compliance built-in. Your accountant will love the audit trail.

⚑ Instant & reliable

Invoices created within seconds of payment. Refunds become credit notes automatically.

πŸ”’ Xero is the source

Your invoices remain immutable in Xero. Stripe is purely payment execution.

{/* Perfect for section */}

Who this is for

βœ“ Perfect fit:

  • β†’ UK businesses using Stripe & Xero
  • β†’ VAT registered
  • β†’ One-off, annual, or fixed recurring billing
  • β†’ Invoices are currently manually created

βœ— Not a fit:

  • β†’ Usage-based or metered billing
  • β†’ Proration or complex billing logic
  • β†’ Already fully automated elsewhere
  • β†’ Non-UK businesses
{/* Pricing Section */}

Simple pricing

No hidden fees. No per-transaction costs.

Β£50

per month

  • Unlimited invoices
  • No per-transaction fees
  • Full VAT handling

Usually saves Β£1000s per year in manual work and accounting fixes.

Start 14-day trial
{/* CTA Section */}

Ready to automate?

Connect Stripe and Xero, then focus on what matters. Invoicing handles itself.

Get started free β†’
{/* Footer */}
); }