> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contafy.com.mx/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Contafy

> Streamline your Mexican CFDI invoice management with automated processing, multi-profile support, and powerful financial reporting

<div className="relative bg-[#0a0a0a] dark:bg-[#0a0a0a] overflow-hidden">
  <div className="relative py-20 px-4 sm:px-6 lg:px-8">
    <div className="max-w-7xl mx-auto">
      <div className="grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-center">
        {/* Left Column - Content */}

        <div className="lg:col-span-7">
          <h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold text-white dark:text-white mb-6">
            Simplify your CFDI invoice management
          </h1>

          <p className="text-base sm:text-lg lg:text-xl text-gray-400 dark:text-gray-400 max-w-2xl mb-8">
            Contafy is a powerful SaaS platform designed for Mexican businesses and accountants. Manage multiple RFCs from a single account, automate XML processing, track expenses, and generate professional financial reports with ease.
          </p>

          <div className="flex flex-col sm:flex-row gap-4 flex-wrap">
            <a href="/quickstart" className="inline-flex items-center justify-center px-6 py-3 text-base font-semibold text-white bg-[#048c3c] rounded-lg hover:bg-[#037530] transition-colors">
              Get Started
            </a>

            <a href="/features/dashboard" className="inline-flex items-center justify-center px-6 py-3 text-base font-semibold text-[#048c3c] bg-transparent border border-[#048c3c] rounded-lg hover:bg-[#048c3c]/10 transition-colors">
              Explore Features
            </a>
          </div>
        </div>

        {/* Right Column - Visual */}

        <div className="lg:col-span-5 hidden lg:block">
          <div className="relative">
            <div className="absolute inset-0 bg-gradient-to-r from-[#048c3c]/20 to-transparent blur-3xl" />

            <div className="relative bg-[#1a1d27] dark:bg-[#1a1d27] border border-[#27272a] dark:border-[#27272a] rounded-2xl p-6">
              <div className="space-y-4">
                <div className="flex items-center gap-3">
                  <div className="w-12 h-12 bg-[#048c3c]/20 rounded-lg flex items-center justify-center">
                    <svg className="w-6 h-6 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                      <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
                    </svg>
                  </div>

                  <div>
                    <div className="text-sm font-semibold text-white dark:text-white">CFDI Processing</div>
                    <div className="text-xs text-gray-400 dark:text-gray-400">Automated XML validation</div>
                  </div>
                </div>

                <div className="flex items-center gap-3">
                  <div className="w-12 h-12 bg-[#048c3c]/20 rounded-lg flex items-center justify-center">
                    <svg className="w-6 h-6 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                      <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
                    </svg>
                  </div>

                  <div>
                    <div className="text-sm font-semibold text-white dark:text-white">Multi-Profile</div>
                    <div className="text-xs text-gray-400 dark:text-gray-400">Manage multiple RFCs</div>
                  </div>
                </div>

                <div className="flex items-center gap-3">
                  <div className="w-12 h-12 bg-[#048c3c]/20 rounded-lg flex items-center justify-center">
                    <svg className="w-6 h-6 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                      <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
                    </svg>
                  </div>

                  <div>
                    <div className="text-sm font-semibold text-white dark:text-white">Analytics</div>
                    <div className="text-xs text-gray-400 dark:text-gray-400">Real-time insights</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <h2 className="text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white mb-4">
    Quick Start
  </h2>

  <p className="text-base text-gray-600 dark:text-gray-400 mb-8">
    Get up and running with Contafy in minutes
  </p>

  <Steps>
    <Step title="Create your account">
      Sign up for a free Contafy account at the registration page. Verify your email address to activate your account and access the dashboard.

      <Note>
        All new accounts start with a free trial period to explore the platform features.
      </Note>
    </Step>

    <Step title="Set up your first profile">
      Add your business RFC (Registro Federal de Contribuyentes) to create your first profile. You can manage multiple RFCs from a single account, perfect for accountants managing multiple clients.

      ```json Example Profile theme={null}
      {
        "nombre": "Mi Empresa SA de CV",
        "rfc": "EMP123456ABC",
        "regimen_fiscal": "601"
      }
      ```
    </Step>

    <Step title="Upload your first invoice">
      Drag and drop your CFDI XML files into the invoice upload area. Contafy automatically validates, processes, and categorizes your invoices based on RFC matching.

      <Accordion title="Supported invoice types">
        * **PUE (Pago en Una Exhibición)**: Single payment invoices
        * **PPD (Pago en Parcialidades o Diferido)**: Partial payment invoices
        * **Complemento de Pago**: Payment complement invoices
      </Accordion>
    </Step>

    <Step title="View your financial dashboard">
      Access real-time metrics, interactive charts, and financial trends. Export reports to PDF or Excel for accounting purposes.

      Your dashboard displays:

      * Total invoiced and collected amounts
      * Expense tracking and payment status
      * Monthly trends and comparisons
      * Payment status breakdown (paid, partial, pending)
    </Step>
  </Steps>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <h2 className="text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white mb-4">
    Explore by topic
  </h2>

  <p className="text-base text-gray-600 dark:text-gray-400 mb-8">
    Discover what Contafy can do for your business
  </p>

  <CardGroup cols={3}>
    <Card title="Interactive Dashboard" icon="chart-line" href="/features/dashboard">
      Real-time financial metrics, interactive charts, and trend analysis for informed decision-making.
    </Card>

    <Card title="Invoice Management" icon="file-invoice" href="/features/invoice-management">
      Automated CFDI XML processing with fiscal validation and duplicate detection.
    </Card>

    <Card title="Expense Tracking" icon="wallet" href="/features/expense-tracking">
      Track business expenses, monitor payment status, and categorize costs by tax regime.
    </Card>

    <Card title="Multi-Profile Support" icon="users" href="/features/multi-profile">
      Manage multiple RFCs from a single account—ideal for accountants with multiple clients.
    </Card>

    <Card title="Reports & Analytics" icon="chart-bar" href="/features/reports-analytics">
      Generate professional PDF and Excel reports with comprehensive financial breakdowns.
    </Card>

    <Card title="SAT Search" icon="magnifying-glass" href="/features/sat-search">
      Validate RFCs, search tax regimes, and verify business information directly with SAT.
    </Card>
  </CardGroup>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <h2 className="text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white mb-4">
    Resources
  </h2>

  <p className="text-base text-gray-600 dark:text-gray-400 mb-8">
    Everything you need to master Contafy
  </p>

  <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
    <a href="/guides/authentication" className="group block rounded-2xl border border-gray-200 dark:border-[#27272a] hover:border-[#048c3c] dark:hover:border-[#048c3c] overflow-hidden transition-colors no-underline bg-white dark:bg-[#1a1d27]">
      <div className="h-32 bg-gradient-to-br from-[#048c3c]/20 to-[#048c3c]/5 flex items-center justify-center overflow-hidden">
        <svg className="w-16 h-16 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" />
        </svg>
      </div>

      <div className="p-5">
        <h3 className="text-base font-semibold text-gray-900 dark:text-white mb-2">User Guides</h3>
        <p className="text-sm text-gray-600 dark:text-gray-400 mb-3">Step-by-step tutorials for authentication, profile setup, and invoice management.</p>

        <div className="flex items-center text-sm font-medium text-[#048c3c] group-hover:text-[#037530]">
          <span>Browse guides</span>

          <svg className="ml-1 w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
          </svg>
        </div>
      </div>
    </a>

    <a href="/api/auth/register" className="group block rounded-2xl border border-gray-200 dark:border-[#27272a] hover:border-[#048c3c] dark:hover:border-[#048c3c] overflow-hidden transition-colors no-underline bg-white dark:bg-[#1a1d27]">
      <div className="h-32 bg-gradient-to-br from-[#048c3c]/20 to-[#048c3c]/5 flex items-center justify-center overflow-hidden">
        <svg className="w-16 h-16 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
        </svg>
      </div>

      <div className="p-5">
        <h3 className="text-base font-semibold text-gray-900 dark:text-white mb-2">API Reference</h3>
        <p className="text-sm text-gray-600 dark:text-gray-400 mb-3">Complete API documentation with request/response schemas and authentication details.</p>

        <div className="flex items-center text-sm font-medium text-[#048c3c] group-hover:text-[#037530]">
          <span>Explore API</span>

          <svg className="ml-1 w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
          </svg>
        </div>
      </div>
    </a>

    <a href="/subscription/plans-pricing" className="group block rounded-2xl border border-gray-200 dark:border-[#27272a] hover:border-[#048c3c] dark:hover:border-[#048c3c] overflow-hidden transition-colors no-underline bg-white dark:bg-[#1a1d27]">
      <div className="h-32 bg-gradient-to-br from-[#048c3c]/20 to-[#048c3c]/5 flex items-center justify-center overflow-hidden">
        <svg className="w-16 h-16 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
        </svg>
      </div>

      <div className="p-5">
        <h3 className="text-base font-semibold text-gray-900 dark:text-white mb-2">Plans & Pricing</h3>
        <p className="text-sm text-gray-600 dark:text-gray-400 mb-3">Flexible subscription plans with usage limits tailored to your business needs.</p>

        <div className="flex items-center text-sm font-medium text-[#048c3c] group-hover:text-[#037530]">
          <span>View plans</span>

          <svg className="ml-1 w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
          </svg>
        </div>
      </div>
    </a>

    <a href="/development/architecture" className="group block rounded-2xl border border-gray-200 dark:border-[#27272a] hover:border-[#048c3c] dark:hover:border-[#048c3c] overflow-hidden transition-colors no-underline bg-white dark:bg-[#1a1d27]">
      <div className="h-32 bg-gradient-to-br from-[#048c3c]/20 to-[#048c3c]/5 flex items-center justify-center overflow-hidden">
        <svg className="w-16 h-16 text-[#048c3c]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
        </svg>
      </div>

      <div className="p-5">
        <h3 className="text-base font-semibold text-gray-900 dark:text-white mb-2">Development</h3>
        <p className="text-sm text-gray-600 dark:text-gray-400 mb-3">Architecture overview, tech stack details, and contribution guidelines for developers.</p>

        <div className="flex items-center text-sm font-medium text-[#048c3c] group-hover:text-[#037530]">
          <span>Learn more</span>

          <svg className="ml-1 w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
          </svg>
        </div>
      </div>
    </a>
  </div>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="bg-gradient-to-r from-[#048c3c]/10 to-[#048c3c]/5 border border-[#048c3c]/20 dark:border-[#048c3c]/20 rounded-2xl p-8 sm:p-12 text-center">
    <h2 className="text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white mb-4">
      Ready to streamline your invoice management?
    </h2>

    <p className="text-base text-gray-600 dark:text-gray-400 max-w-2xl mx-auto mb-8">
      Start managing your CFDI invoices, tracking expenses, and generating professional reports today. No credit card required for the trial period.
    </p>

    <a href="/quickstart" className="inline-flex items-center justify-center px-8 py-3 text-base font-semibold text-white bg-[#048c3c] rounded-lg hover:bg-[#037530] transition-colors">
      Get Started Now
    </a>
  </div>
</div>
