跳到主要内容

1 篇博文 含有标签「PDF-A-3」

查看所有标签

使用 Power Automate 从 Dropbox PDF + XML 创建 ZUGFeRD 发票:5 个步骤的工作流程

· 阅读需 21 分钟
SEO and Content Writer

德国的 《增长机会法案》 将 ZUGFeRD 式混合电子发票从“锦上添花”变成了 B2B 的必备功能。 2025年1月1日 所有德国企业都必须能够接收结构化的电子发票,完整的发送义务将分阶段实施。 2028对于任何 Microsoft 365 团队来说,最快的路径是包含五个步骤的 Power Automate 流程: 手动触发 → Dropbox 获取文件内容(PDF) → Dropbox 获取文件内容(XML) → PDF4me 创建 ZUGFeRD 发票 → Dropbox 创建文件XML有效负载嵌入在 PDF/A-3 归档外壳,生成一个供人打开并由会计系统解析的文件。本教程使用画布中捕获的原始屏幕截图: /pdf4metest/sample/10 page.pdf 对于视觉载体和 /pdf4metest/zugfred invoice/version2.xml 对于结构化数据,混合输出结果将落在 /pdf4meoutput 使用唯一的 GUID 前缀名称。10 分钟内即可投入生产环境。

流程概览
1. Manually trigger a flow
Manual trigger for testing. Swap for SharePoint When a file is created, Dropbox When a file is created, or any storage trigger in production.
2. Dropbox Get file content (PDF)
Reads the visual carrier from /pdf4metest/sample/10 page.pdf with Infer Content Type Yes. This is the PDF the recipient sees.
3. Dropbox Get file content (XML)
Reads the structured ZUGFeRD XML from /pdf4metest/zugfred invoice/version2.xml with Infer Content Type Yes. This is what accounting systems parse.
4. PDF4me Create ZUGFeRD Invoice
Combines both inputs as 2.0-XML format, XmlWithPdf output mode, BASIC conformance, Render Invoice on PDF Yes, Language de. Embeds the XML inside a PDF/A-3.
5. Dropbox Create file
Writes the hybrid file to /pdf4meoutput with guid()+headers/FileName so reruns never collide.