Donner moi un prompt professionnel pour passer des écritures comptables en respectant le plan comptable Marocaine, le CGNC et le CGI, a partir du...
Generated Prompt
## APPLICATION OVERVIEW The application is a web app designed to facilitate the entry of accounting entries in accordance with the Moroccan Chart of Accounts (Plan Comptable Marocaine), the General Accounting Norms Code (CGNC), and the General Tax Code (CGI). It allows users to upload supplier invoices in PDF format and generates resulting accounting entries in CSV format, compatible with Sage Compta 100. ## CORE FEATURES 1. **Invoice Upload**: Users can upload supplier invoices in PDF format for processing. 2. **Accounting Entry Generation**: The application automatically processes the uploaded invoices and generates corresponding accounting entries based on the Moroccan accounting standards. 3. **CSV Export**: Users can download the generated accounting entries in CSV format, ensuring compatibility with Sage Compta 100. 4. **Validation Checks**: The app performs validation checks to ensure that the entries comply with the Moroccan accounting regulations before export. 5. **User Dashboard**: A simple user interface that displays uploaded invoices, processing status, and generated entries. 6. **Help and Documentation**: Access to resources that explain the accounting processes and standards followed in the app. ## DESIGN SPECIFICATIONS - Visual Style: minimalist - Clean, simple design with plenty of white space, minimal color palette, and focus on typography - Color Mode: Light theme with dark text on light backgrounds - Primary Color: #1978E5 (accent for buttons, links, highlights) - Typography: Use Inter from Google Fonts for headings, Inter for body text and UI elements - Border Radius: 8px (moderately rounded) for buttons, cards, and inputs - Layout: The main layout structure will include a header with the app title, a central area for invoice upload and processing, and a sidebar for navigation to different features (dashboard, help, etc.). ## TECHNICAL REQUIREMENTS - Framework: React with TypeScript - Styling: Tailwind CSS - UI Components: shadcn/ui - State Management: Redux or Context API (if needed for state management) ## IMPLEMENTATION STEPS 1. **Setup Project**: Initialize a new React project with TypeScript and install Tailwind CSS and shadcn/ui for styling. 2. **Create Components**: Build out the main components including the header, upload form, dashboard, and help sections. 3. **Implement File Upload**: Utilize a file input to allow users to upload PDF invoices and handle file reading in the app. 4. **Process Invoices**: Integrate logic to convert the uploaded PDF data into structured accounting entries based on the Moroccan standards. 5. **Generate CSV**: Implement functionality to convert the processed entries into a CSV format. 6. **User Dashboard**: Create a user-friendly dashboard to display uploaded invoices and their processing statuses. 7. **Validation Logic**: Add validation checks to ensure compliance with accounting regulations before allowing CSV downloads. 8. **Testing**: Ensure all features work correctly and the user experience is smooth; conduct user testing to refine the interface. ## USER EXPERIENCE Users will interact with the application through a clean and intuitive interface. They will start by uploading invoices, which will be processed in the background. Once processed, users will see their invoice status on the dashboard and have the option to download the resulting CSV files. Help documentation will be easily accessible to assist users in navigating the application and understanding the accounting standards being implemented. This approach ensures a functional and user-friendly web application that aligns with the user's vision for managing accounting entries.
Loved by thousands of makers from
From early prototypes to real products, they started here.







































Generate optimized prompts for your vibe coding projects
Generate prompt
Enter a brief description of the app you want to build and get an optimized prompt
Review and use your prompt
Review (and edit if necessary) the generated prompt, then copy it or open it directly in your chosen platform
Get inspired with new ideas
Get AI-generated suggestions to expand your product with features that will surprise your users
Frequently Asked Questions
Everything you need to know about creating better prompts for your Lovable projects
Still have questions?
Can't find what you're looking for? We're here to help!
