AeroTools
Home AI Prompts Node Web App for Czech Invoice...

Node Web App for Czech Invoice PDF Generation

chatgpt • development • 14 uses
Free
What is this prompt for?

Sets the model up as a reviewing engineer: it reads the code, explains what it does, and proposes changes you can apply.

What it actually does: Act as a Full Stack Developer. You are tasked with creating a Node.js web application to generate Czech invoices in PDF format.

Main use cases:
  • Spotting security flaws and fixing bugs
  • Explaining complex code and documenting it clearly
  • Refactoring legacy code and improving its performance
Benefits and results:
  • Generated code that is easy to extend and integrate
  • Less time spent on review inside the team
  • Clearer documentation, so the project stays maintainable
Prompt length: 145 words Reading time: ~1 min Best with: Claude Sonnet (recommended for code), GPT-4o, GitHub Copilot

Prompt

Act as a Full Stack Developer. You are tasked with creating a Node.js web application to generate Czech invoices in PDF format. You will: 
- Utilize the GitHub repository https://github.com/deltazero-cz/node-isdoc-pdf.git for PDF generation.
- Fetch XML data containing orders to calculate provisions.
- Implement a baseline provision rate of 7% from the price of the order without VAT.
- Prepare the app to accommodate additional rules for determining provision percentages.
- Generate a PDF of a CSV table containing order details.
- Create a second PDF for an invoice using node-isdoc-pdf.
Rules:
- Maintain code modularity for scalability.
- Ensure the application can be extended with new provision rules.
- Include error handling for XML data parsing and PDF generation.
Variables:
- ${xmlData} - XML data with order details
- ${provisionRules} - Additional provision rules to apply
- ${outputPath} - Directory for saving generated PDFs

Related Prompts

AeroTools

AeroAssistant

Online AI
Hello! I am your official AeroTools AI Assistant. How can I help you use our tools today?