Skip to main content

12 posts tagged with "invoice automation"

View all tags

Build a Custom AI Analyzer for Your Own Invoice Format in Power Automate: A 3-Step Dropbox Workflow

· 24 min read
SEO and Content Writer

A Custom AI Analyzer Template is a named JSON schema you define in the PDF4me dev portal that tells the AI which fields to extract from a specific document type. This walkthrough builds an Analyzer for PDF4me's own SaaS subscription invoices (33 fields: vendor address block, Swiss MWST rate, subscription Id, line items, discount details), then calls it from a 3-step Power Automate flow that reads a PDF from Dropbox and returns structured JSON.

The built-in default_invoice_extraction covers generic invoices, but real AP teams have vendor-specific layouts, custom line-item columns, jurisdiction-specific tax fields, and subscription metadata that the generic schema misses. Building a custom Analyzer once gets you exact-match extraction forever, no per-field prompting required, no follow-up logic to clean up the response.

The full workflow at a glance
Setup A. Log in to dev portal
dev.pdf4me.com login. Email plus password or any SSO provider (Microsoft, Google, Facebook, Apple, GitHub).
Setup B. Open AI Document Parser
Dashboard sidebar, AI Document Parser. Lists every Analyzer Template you have already created.
Setup C. Add a Parse Analyzer
Click Add, name it (e.g. Test Invoice), choose Type Parse. The Analyzer Id is what Power Automate references.
Setup D. Paste the JSON schema
Document Schema field. Each schema entry has fieldName, fieldType, fieldDescription. Save Changes.
Flow 1. Manually trigger a flow
Replace later with HTTP / SharePoint / Outlook trigger when ready for production.
Flow 2. Get file content (path)
Dropbox path /pdf4me.pdf, Infer Content Type Yes. Reads the source PDF into the flow.
Flow 3. AI - Document Parser
PDF4me action. File Content from step 2, File Name Test.pdf, Customisation Note Test Invoice (your Analyzer Id). Returns body JSON.

Create a ZUGFeRD Invoice in Power Automate from a Dropbox PDF + XML: A 5-Action Workflow

· 20 min read
SEO and Content Writer

Germany's Wachstumschancengesetz (Growth Opportunities Act) turned ZUGFeRD-style hybrid e-invoices from a "nice to have" into a B2B requirement. From 1 January 2025 every German business must be able to receive structured e-invoices, with full sending obligations phased in by 2028. The fastest path for any Microsoft 365 team is a five-action Power Automate flow: Manually trigger → Dropbox Get file content (PDF) → Dropbox Get file content (XML) → PDF4me Create ZUGFeRD Invoice → Dropbox Create file. The XML payload is embedded inside a PDF/A-3 archival shell, producing one file that humans open and accounting systems parse. This walkthrough uses the exact screenshots captured in the canvas: /pdf4metest/sample/10 page.pdf for the visual carrier and /pdf4metest/zugfred invoice/version2.xml for the structured data, with the hybrid output landing in /pdf4meoutput under a unique GUID-prefixed name. Production-ready in under 10 minutes.

The flow at a glance
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.

AI-Extract and Smart-Rename Any PDF in Make: A 4-Module Dropbox Workflow with PDF4me AI - Document Parser

· 21 min read
SEO and Content Writer

The hardest part of vendor-invoice automation has always been the file naming. A folder full of 2030703747 (1).pdf and Scan_2026-04-12_invoice.pdf is unsearchable, unsortable, and impossible to audit. PDF4me AI - Document Parser plus a Make Parse JSON module fix that in 4 modules, zero code: the AI extracts the vendor name from the PDF, and the same scenario re-uploads the file as Acme Industries.pdf. The screenshots below walk through the exact run captured in the canvas.

The scenario at a glance
1. Dropbox Download
Pulls /pdf4metest/sample/2030703747 (1).pdf. Scheduled trigger shown.
2. PDF4me AI - Document Parser
Runs the default_invoice_extraction Analyzer Template. Output: Doc Text JSON.
3. JSON Parse JSON
JSON string mapped to 3. Doc Text. Exposes vendorName, invoiceNumber, totalAmount, etc.
4. Dropbox Upload
Writes to /pdf4meoutput/ with File Name = 6. vendorName + .pdf. Smart-rename complete.

Add a Swiss QR Bill to Any Invoice PDF in Power Automate: A 4-Action Dropbox Workflow

· 20 min read
SEO and Content Writer

Every Swiss invoice must carry a Swiss QR Bill so banks and accounting software can scan and process the payment automatically. With Power Automate and PDF4me the addition is a four-action flow: Manually trigger, Dropbox Get file content, PDF4me Barcode - Create SwissQR Bill, Dropbox Create file. The screenshots below walk through the exact run captured in the canvas. A 10-page invoice in /pdf4metest/sample becomes a Swiss-compliant invoice with the payment slip appended and uploaded to /pdf4meoutput with a unique file name. Production-ready in under 10 minutes.

The flow at a glance
1. Manually trigger a flow
Manual trigger for testing. Swap for SharePoint When a file is created or any storage trigger in production.
2. Dropbox Get file content
Reads the 10-page invoice from /pdf4metest/sample/10 page.pdf with Infer Content Type Yes.
3. PDF4me Barcode - Create SwissQR Bill
Appends the QR payment slip with CHF, QRR reference, English labels, custom Paging Options to land on page 3.
4. Dropbox Create file
Writes the populated PDF to /pdf4meoutput with a unique guid()+headers/FileName so re-runs do not collide.

Add a Swiss QR Bill to Any Invoice PDF in Zapier: A 4-Step Dropbox Workflow

· 21 min read
SEO and Content Writer

Every Swiss invoice must carry a Swiss QR Bill so banks and accounting software can scan and process the payment automatically. With Zapier and PDF4me the addition is a four-step Zap: Dropbox New File in Folder, Dropbox Find File, PDF4me Create Swiss QR Bill, Dropbox Upload File. The screenshots below walk through the exact run captured in the canvas: a 10-page invoice in /pdf4metest/Swiss-RP becomes a Swiss-compliant invoice with the payment slip appended and saved to /pdf4meoutput. Production-ready in under 10 minutes.

The Zap at a glance
1. Dropbox New File in Folder
Watches /pdf4metest/Swiss-RP every 2 minutes. Trigger fires when a new invoice PDF lands.
2. Dropbox Find File
Resolves the file by name (10 page.pdf) and pulls the binary, ready for the next step.
3. PDF4me Create Swiss QR Bill
Appends the QR payment slip with all required SPS fields: CHF, QRR reference, English, Line with Scissor separator.
4. Dropbox Upload File
Writes the populated PDF to /pdf4meoutput. File Name and File Extension carried from the PDF4me output.

Insert a Swiss QR Bill on a Custom Page Number in Power Automate (4-Action Dropbox Flow with PDF4me)

· 21 min read
SEO and Content Writer

Most Swiss QR-bill tutorials put the payment slip on page 1 (or append it to the end). Real invoices often need it somewhere in the middle: a 10-page contract pack where the QR-bill belongs right after the summary, or a quarterly statement where the slip should follow the cover page. The PDF4me Power Automate connector handles that in one action via Paging Options = custom plus a Page Number field. This guide walks through the exact run captured in the canvas: /pdf4metest/sample/10 page.pdf becomes a Swiss-compliant file with the QR-bill inserted as page 3, then uploaded to /pdf4meoutput with a guid-prefixed name so re-runs do not collide. 4 actions, zero code, runs in seconds.

The flow at a glance
1. Manually trigger a flow
Manual trigger for testing. Swap for any storage trigger in production.
2. Dropbox Get file content
Reads /pdf4metest/sample/10 page.pdf with Infer Content Type Yes.
3. PDF4me Barcode - Create SwissQR Bill
Output Format Type PNG (try PDF for hybrid). Paging Options custom, Page Number 3. All payment fields filled.
4. Dropbox Create file
Writes to /pdf4meoutput. File Name built from guid() plus headers/FileName so every run lands as a unique file.

Add a Swiss QR Bill to Any Invoice PDF in Make: A 3-Module Dropbox Workflow

· 20 min read
SEO and Content Writer

Every Swiss invoice must carry a Swiss QR Bill so banks and accounting software can scan and process the payment automatically. With Make and PDF4me, the addition is a three-module scenario: Dropbox Download a File, PDF4me Create Swiss QR-bill, Dropbox Upload a File. The screenshots below walk through the exact run shown in the canvas: a 10-page invoice at /pdf4metest/Files/10 page.pdf becomes a Swiss-compliant invoice with the payment slip appended and saved to /pdf4meoutput/. Production-ready in under 10 minutes.

The scenario at a glance
1. Dropbox Download a File
Reads /pdf4metest/Files/10 page.pdf. Scheduled trigger (clock badge) is shown but any trigger works.
2. PDF4me Create Swiss QR-bill
Appends the QR payment slip to the source PDF. Currency, IBAN, creditor + debtor blocks, reference filled out.
3. Dropbox Upload a File
Writes the populated PDF to /pdf4meoutput/. File Name and Data mapped from the prior step.

Populate an Excel Template from JSON in Power Automate: A 4-Step Dropbox Workflow with Aspose Smart Markers

· 17 min read
SEO and Content Writer

Drop an Excel template that uses Aspose Smart Markers (cells written like &=RootData.Items.ItemName) into Dropbox, paste a matching JSON payload into a Power Automate flow, and the populated workbook lands back in Dropbox with totals already calculated. This guide walks through the exact four-action flow shown in the screenshots: Manual trigger, Dropbox Get file content using path, PDF4me Excel - Populate, and Dropbox Create file. Every field value comes from a real run; the input template, JSON payload, and output workbook are all linked at the end.

The flow at a glance
1. Manual trigger
Manually trigger a flow. Replace with any trigger later.
2. Get file content (path)
Dropbox path: /pdf4metest/excel/populate excel/aspose template.xlsx
3. Excel - Populate
PDF4me action. JSON Data with RootData.Items array. Worksheet Indexes: 1 (Invoice sheet).
4. Create file
Dropbox /pdf4metest/excel/populate excel/output, name Excel_populate.xlsx.

How to Create a ZUGFeRD Invoice in Zapier with Dropbox and XML (Step by Step)

· 21 min read
SEO and Content Writer

If you sell into Germany, Austria, or any EU buyer that requires structured electronic invoicing under EN 16931, you have probably been asked to send a ZUGFeRD (or Factur-X) invoice. That is a single PDF that is both human-readable and machine-readable, thanks to XML embedded inside the PDF.

This guide shows the full Zapier workflow that watches a Dropbox folder for new uploads, pulls a base PDF and an invoice XML payload, runs PDF4me Create ZUGFeRD Invoice, and writes the finished hybrid file back to Dropbox. Five Zap steps. No code. Reproducible end to end.

The screenshots use these sample paths:

  • Trigger folder: /Blog Data/Zugferd Invoice
  • Base PDF: /pdf4metest/sample/10 page.pdf
  • Invoice XML: /pdf4metest/Zugfred Invoice/version2.xml
  • Output folder: /pdf4meoutput

How Do You Create a ZUGFeRD Invoice in n8n? A Dropbox + JSON Workflow, Step by Step!

· 11 min read
SEO and Content Writer

This guide builds an n8n workflow that takes invoice data as JSON, creates a ZUGFeRD/Factur‑X invoice with PDF4me, and uploads the final PDF to Dropbox.

You will wire three core parts:

  1. push invoice JSON into PDF4me (so you get a stable document URL),
  2. generate the ZUGFeRD invoice from that input,
  3. upload the output PDF to Dropbox as a binary file.

How Do You Create a ZUGFeRD Invoice in Power Automate? A Dropbox + JSON Step-by-Step Workflow.

· 15 min read
SEO and Content Writer

This guide shows a full Power Automate workflow that reads a base PDF and invoice JSON from Dropbox, generates a ZUGFeRD/Factur-X invoice using PDF4me Create ZUGFeRD Invoice, and writes the final file back to Dropbox.

The screenshot sequence uses these sample paths:

  • Base PDF: /blog data/zugferd invoice/simplepdf.pdf
  • JSON: /blog data/zugferd invoice/sample-invoice.json
  • Output folder: /blog data/zugferd invoice/output

How Do You Merge a Swiss QR-Bill onto a Base PDF in Zapier? A Seven-Step Dropbox Pattern.

· 20 min read
SEO and Content Writer

Picture this: you already have a multi-page base PDF (your invoice layout, letterhead, whatever lives in demo_5_page.pdf). You also work from a Word file that you want turned into a proper Swiss QR-bill and stamped on top of that base. Copy-pasting PDFs between tools gets old fast.

Here is a Zap that does the boring work: Dropbox wakes up when something new lands, PDF4me converts your Word doc, builds the SwissQR slip, overlays it on the base file, and drops the finished PDF back in a folder you choose. The screenshots below use real paths and names from a test workspace (/pdf4metest/TestRP, 3Page.docx, and so on). Swap them for yours and you are set.