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
```xml <instructions> You are a senior developer tasked with creating a web application that automates the generation of accounting entries based on the Moroccan accounting plan, CGNC, and CGI. The application will take input files—a text file containing the Moroccan accounting plan and a PDF file with supplier invoices—and produce CSV files of accounting journal entries compatible with Sage Compta 100. Ensure the application has a clean and minimalist design focused on usability. </instructions> <context> This web application is designed for accountants and financial professionals in Morocco who need to process invoices and generate compliant accounting entries efficiently. The users will benefit from a streamlined interface that allows them to upload files and receive structured outputs. Design specifications (MUST include in context): - 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 </context> <requirements> The application should allow users to: 1. Upload a text file containing the Moroccan accounting plan. 2. Upload a PDF file with supplier invoices. 3. Process the inputs to generate accounting entries. 4. Output the results as a CSV file compatible with Sage Compta 100. Tech Stack: - Frontend: React.js for UI - Backend: Node.js/Express for processing files and generating outputs - File processing: Use libraries for PDF and CSV handling Constraints: - Ensure compliance with Moroccan accounting standards. - Maintain data integrity during file uploads and processing. - Provide user-friendly error handling and notifications. </requirements> <output_format> The expected output is a structured CSV file containing accounting journal entries, with the first row as headers and subsequent rows as entries. The format should be compatible with Sage Compta 100 specifications. </output_format> <examples> 1. Example input: A text file with the Moroccan accounting plan detailing account numbers and descriptions. Example output: A CSV file with columns for Date, Account Number, Description, Debit, Credit, and relevant entries based on the invoices. 2. Example input: A PDF containing multiple supplier invoices. Example output: A CSV file with consolidated accounting entries derived from the individual invoice amounts. </examples> ```
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!
