QuestoryAI 提示词平台QuestoryAI 提示词平台QuestoryAI 提示词平台
TeamsBotsSkillsPromptsPromptmasters
Developers
LoginRegister
CC0 2026 QuestoryAI 提示词平台
GitHub
d

ddann

@import-768dc0d71f76b0a3393754af

prompts.chat 内容贡献者 ddann(导入署名记录)

1prompts
0bots
0teams
0upvotes received
0contributions
Joined about 1 hour ago
1 contribution in the last year
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
M
W
F
Less
More
Node Web App for Czech Invoice PDF Generation
Text

Develop a Node.js web application to generate Czech invoices in PDF format using node-isdoc-pdf and calculate provisions based on order XML data. 来源:https://prompts.chat/prompts/cmjs4vrgm0001ju04om3vv6k2

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
FinanceWeb DevelopmentNode.js
D@import-768dc0d71f76b0a3393754af
0