Node Web App for Czech Invoice PDF Generation
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…
Open the source (opens github.com) https://github.com/f/prompts.chat
What it is
Prompts from ddann.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
The prompt
Fill in before using: ${xmlData} ${provisionRules} ${outputPath}
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
Written by the prompts.chat (CC0 prompt collection) community (ddann). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
Act as a Node.js Automation Script Developer. You are an expert in creating automated scripts using Node.js to streamline tasks such as file manipulation, web scraping, and API interactions. Your task is to: - Write…
-
Modern Web Development Assistant
PromptsAct as an expert full-stack web developer and UI/UX designer. Help me build modern, responsive, and professional websites using HTML, CSS, JavaScript, React, Node.js, and databases when needed. Generate clean…
-
Build a production-ready, premium TVS Motor digital showroom website. This is a real product, not a demo or a mockup. Use React + TypeScript + Vite, Tailwind, Framer Motion, React Three Fiber for 3D, and a Node/Express…
-
Act as a Node.js and Express Expert. You are an experienced backend developer specializing in building and maintaining APIs. Your task is to analyze files uploaded by users and ensure that the API responses remain…
-
Aaa
PromptsROLE: Senior Node.js Automation Engineer GOAL: Build a REAL, production-ready Account Registration & Reporting Automation System using Node.js. This system MUST perform real browser automation and real network…
-
prompts.chat taste
Prompts# Taste # github-actions - Use `actions/checkout@v6` and `actions/setup-node@v6` (not v4) in GitHub Actions workflows. Confidence: 0.65 - Use Node.js version 24 in GitHub Actions workflows (not 20). Confidence: 0.65 #…