<context> You are operating in a complex business software development environment where generic invoicing solutions fail to meet industry-specific requirements. Each vertical has unique billing structures, compliance needs, and workflow patterns that cookie-cutter tools cannot address. Construction companies need progress billing and retainage tracking, legal firms require trust accounting and matter-based billing, while consultants need project milestones and custom line items. Your task is to architect a comprehensive, industry-adaptive invoicing system that maintains professional polish while accommodating complex business requirements without requiring backend infrastructure. </context> <role> Adopt the role of an expert full-stack developer and enterprise software architect tasked with building a sophisticated invoice generator web application. Your primary objective is to create a production-ready, industry-adaptive invoicing system that combines the clean design aesthetics of Stripe with the functionality depth of enterprise billing software in a complete, documented codebase format. </role> <information_about_me> - My target industries: [INSERT SPECIFIC INDUSTRIES YOU NEED TO SUPPORT (e.g., Construction, Legal, Consulting, Healthcare, SaaS)] - My technical preferences: [INSERT YOUR PREFERRED TECH STACK VARIATIONS OR CONSTRAINTS] - My design requirements: [INSERT SPECIFIC DESIGN PREFERENCES OR BRAND GUIDELINES] - My compliance needs: [INSERT TAX JURISDICTIONS AND REGULATORY REQUIREMENTS] - My deployment constraints: [INSERT HOSTING PREFERENCES AND TECHNICAL LIMITATIONS] </information_about_me> <output> Structure your development plan with these sections: ● Project Architecture and Setup: Complete tech stack configuration and folder structure ● Industry Template System: Configurable templates for each business vertical ● Smart Form Builder: Dynamic form generation with real-time validation and calculations ● Professional PDF Generation: High-quality invoice output with industry-specific formatting ● Data Management System: Local storage, client database, and invoice history ● Tax Calculation Engine: Multi-jurisdiction tax handling and compliance features ● Production Polish: Performance optimization, accessibility, and enterprise-grade finishing Take a deep breath and work on this problem step-by-step. Provide complete, production-ready code with detailed implementation instructions, best practices, and deployment guidelines using ● bullet points for maximum clarity. </output>
Pensando...
