メインコンテンツへスキップ

作成する ZUGFeRD 請求書 Make

作成する ZUGFeRD 請求書 は Make モジュール PDF4me ハイブリッドを生成する ZUGFeRD/Factur-X 電子請求書 CSV、 JSON、 または XML 請求書データ。これを使用して、 PDF/A-3 機械可読な文書 XML 内部に埋め込まれ、位置合わせされています EN 16931 欧州の電子請求書規格。購入者または顧客の要件に合わせて、適合レベルと仕様バージョンを選択してください。 ERP システム要件。

このモジュールの機能

PDF4me作成する ZUGFeRD 請求書 ハイブリッド電子請求書を社内で直接生成します Make シナリオ。請求書データを供給します CSV、 JSON、 または XMLモジュールは PDF/A-3 機械可読なドキュメント ZUGFeRD XML その中に埋め込まれたファイルまたは XML-出力のみ ERP 独自のレンダリングを処理するシステム。結果は、 EN 16931 欧州の電子請求書規格であり、 Factur-X フランスおよびEU市場全体で利用可能です。適合レベルと仕様バージョンは、購入者または公共部門の受領者のニーズに正確に合致するように設定できます。

関連ブログ記事(2)
MakeでZUGFeRD 2.0+電子請求書を作成する:4つのモジュールからなるDropboxワークフロー
4つのモジュールで構成された作成シナリオ:DropboxからPDFテンプレートとZUGFeRD 2.0+ XML請求書を取得し、PDF4meを使用してXMLをPDFに埋め込みます。ZUGFeRD請求書(EN16931準拠)を作成し、ハイブリッドPDF/A-3電子請求書をDropboxにアップロードします。実際のスクリーンショット、正確なフィールド値、ダウンロード可能なXML/JSON/CSVサンプルが含まれています。
投稿を読む →
ZUGFeRD Airtableベースからの電子請求書:PDF4meを使用してMakeでJSONを作成し、ハイブリッドPDFをメールで送信する
MakeにおけるZUGFeRD電子請求書の自動化。Airtableの行がEN 16931 JSONに変換され、レコード上にハイブリッドPDFとして返され、Gmail経由で購入者に送信されます。
投稿を読む →

認証 API リクエスト​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオが請求書生成サービスを安全に呼び出せるようにするためのキー。

見逃してはならない重要な事実​

XmlWithPdf は PDF/A-3 通常のファイルではない PDF

ハイブリッド出力は PDF/A-3 文書。 ZUGFeRD XML ファイル内に、準拠した添付ファイルとして埋め込まれています。 ERP システムは抽出します XML 自動的に; 人間は依然として開いて読むことができます PDF 標準ビューアで設定します。 請求書をPDF形式でレンダリングする 請求書の明細項目をページ上に視覚的に表示するには、「はい」を選択してください。

適合レベルは以下に依存します ZUGFeRD バージョン

バージョン1.0は以下をサポートします ベーシック、コンフォート、エクステンデッドバージョン2+では、 最低限、基本WL、基本、 EN16931、拡張、 XRECHNUNG。 XRECHNUNG そして EN16931 ドイツの公共部門における請求書発行には、これらのファイルが必要です。バージョンとレベルは、必ず購入者のシステムが想定しているものと一致させてください。

入力フォーマットは、どのデータフィールドが表示されるかを制御します。

選択 XML 表示 請求書XMLデータ 分野; JSON 請求書のJSONデータを表示します。 CSV 請求書のCSVデータを表示します。選択した形式に一致するフィールドのみを入力します。 XML フォーマットでは、モジュールは ファイル ラジオを引っ張って XML Dropboxから直接取得するか、前のモジュールからマッピングします。

どれの ZUGFeRD 使用すべきバージョンは?​

このモジュールは 2 つの仕様バージョンをサポートし、デフォルトは 2歳以上ほとんどの新規統合ではバージョン2以降を使用する必要があります。バージョン1.0はレガシーシステムとの相互運用性のために残されています。

Make 古いものもまだリストされています 作成する ZUGFeRD 請求書 [非推奨] モジュール。このページでは現在の 作成する ZUGFeRD 請求書 モジュールを作成し、それに基づいて新しいシナリオを構築します。

ZUGFeRD 2.0+ 推奨​

現在の仕様適合レベル: 最小、 ベーシックWL、 ベーシック、 EN16931 (コンフォート、ドイツの法的デフォルト) 拡張版、 XRECHARGE相互互換性あり Factur-Xと組み合わせる 2.0 XML サンプル、 2.0 EN16931 JSON サンプル、 または 2.0 CSV サンプル以下のスクリーンショットは、2.0以降のUIが現在どのように表示されるかを正確に示しています。

Make Create a ZUGFeRD invoice module 2.0+: Block 1: Connection, File (PDF template), Input Format, File (invoice data), Output Mode
Block 1: Connection, File (PDF template), Input Format, File (invoice data), Output Mode
Make Create a ZUGFeRD invoice module 2.0+: Block 2: ZUGFeRD Version, Conformance Level, Render Invoice on PDF, Language
Block 2: ZUGFeRD Version, Conformance Level, Render Invoice on PDF, Language

ZUGFeRD 1.0 遺産​

プレEN 16931 仕様適合レベル: ベーシック、 快適、 拡張版受取人が ERP または、購入者システムが明示的に 1.0 を要求する (2022 年以降はまれ)。 1.0 XML サンプル、 基本 JSON サンプルまたは 1.0 CSV サンプルその他のフィールドはすべて同じように機能します。変更されるのは適合レベルのドロップダウンメニューのみです。

PDF4me Dev で、接続、ファイル名、ドキュメントが前の手順でマッピングされ、入力形式が XML に設定された ZUGFeRD 請求書 (1.0) モジュールを作成します。

始めに 繋がり次に、基地をマッピングします。 PDF (ファイル名、 書類)そして設定する 入力形式 (ここ XML)

入力形式をXML、ファイルをマップに設定、請求書XMLデータを前のモジュールからマッピング、出力モードをXmlWithPdf、zugferdバージョン1.0でZUGFeRD請求書(1.0)を作成します。

と ファイル = 地図地図 請求書XMLデータ、 セット 出力モード (XmlWithPdf または XMLのみ)、次に選択 zugferd バージョン (ここ 1.0)

パラメータ​

必須: 繋がり、 入力形式、 出力モード、 ZUGFeRD バージョン請求書データフィールド(請求書XMLデータ、 請求書JSONデータ、 または 請求書のCSVデータ入力フォーマットの選択に基づいて動的に表示されます。該当するフィールドのみを入力すれば十分です。

なぜ ファイル 2.0以降のスクリーンショットに2回表示される? 入力フォーマットが XML そしてファイルは 地図モジュールは2つ目のファイルピッカーをレンダリングするので、(a)ベース PDF の ZUGFeRD 請求書は埋め込まれるべきであり、(b)ソース ZUGFeRD XML ファイル。両方のピッカーは同じラジオオプションを表示します。入力フォーマットが JSON または CSV 2 番目のピッカーは対応するものに置き換えられます 請求書JSONデータ または 請求書のCSVデータ テキストフィールド。

パラメータ必須その機能例/オプション
ConnectionRequiredPDF4me API connection used to authenticate invoice generation requests. Click Add and paste your API key if connecting for the first time.Your PDF4me connection
FileConditionalSource of the base PDF where the ZUGFeRD invoice will be embedded (when Output Mode is XmlWithPdf). Radio button with two options: Dropbox - Download a File (pulls directly from a Dropbox account without a prior download step) or Map (supplies the PDF from a prior module. Dropbox, Google Drive, OneDrive, HTTP, etc.). Choose Map for the most flexible workflow. When Map is selected, the two sub-fields below appear.Map
File → File NameOptionalSub-field of File (visible when Map is selected). Filename of the base PDF including the .pdf extension. Map from the prior module's filename output. for example, the File Name field of a Dropbox or Google Drive Download module.1. File Name
File → DocumentOptionalSub-field of File (visible when Map is selected). Binary PDF content where the ZUGFeRD XML will be embedded. Map from the prior module's binary data field. typically the Data field of Dropbox, Google Drive, or OneDrive download modules. Hint shown in module: "PDF file where Zugferd invoice should be added".1. Data
Input FormatRequiredFormat of the invoice data being supplied. Use XML for existing ZUGFeRD XML; JSON or CSV for structured data. Options: XML, JSON, CSV. Defaults to XML.XML sampleXML 2.0 sampleJSON 2.0 EN16931 sampleJSON (basic)CSV sampleCSV 2.0 sample
Invoice XML DataConditionalThe ZUGFeRD XML invoice content to embed. Appears when Input Format = XML and File = Map. Hint: "Use when inputFormat is XML, please refer to our Create a ZUGFeRD invoice for guidelines." Map from a prior Dropbox download or HTTP module output.XML sampleXML 2.0 sample3. Data (mapped)
Invoice JSON DataConditionalStructured invoice data in JSON format. Appears when Input Format = JSON. Map a JSON string from a Google Sheets, Airtable, or HTTP module. See sample JSON below.JSON 2.0 EN16931 sampleJSON (basic)(mapped JSON string)
Invoice CSV DataConditionalInvoice row data in CSV format. Appears when Input Format = CSV. Map a CSV row from an iterator, Google Sheets, or file download module. See sample CSV below.CSV sampleCSV 2.0 sample(mapped CSV row)
Output ModeRequiredXML With PDF (a.k.a XmlWithPdf in API requests) returns a PDF/A-3 file with the ZUGFeRD XML embedded inside, the standard hybrid e-invoice. XML Only (XmlOnly) returns just the XML invoice file without a PDF wrapper. Options: XML With PDF, XML Only. Defaults to XML With PDF.XML With PDF
ZUGFeRD VersionRequiredZUGFeRD specification version. Set to match what the recipient ERP or buyer system expects. Options: 1.0, 2+. The two have different conformance level sets (see table below). Defaults to 2+.2+
Conformance LevelConditionalZUGFeRD conformance profile, shown once a ZUGFeRD Version is chosen. Available levels differ by version: 1.0 offers BASIC, COMFORT, EXTENDED; 2+ offers MINIMUM, BASICWL, BASIC, EN16931, EXTENDED, XRECHNUNG. Use EN16931 for German legal e-invoicing compliance. See the Conformance Level Reference table below. Defaults to BASIC.EN16931
Render Invoice on PDFOptionalWhen set to Yes, invoice line items are drawn visually on the PDF pages. Applies only when Output Mode is XML With PDF. Options: Yes, No. Defaults to Yes.Yes
LanguageOptionalTwo-letter locale code for invoice label localisation. Supported: de, en, fr, it, es, nl, pl, pt, cs. Leave it empty and the module uses German (de), as the field hint states.de

適合レベル基準​

利用可能な適合レベルは、 ZUGFeRD バージョン常に購入者または顧客のニーズに合わせてレベルを調整してください。 ERP システム要件。

バージョン1.0
レベル使用する場合
BASICMandatory EN 16931 fields only. Widest compatibility, safe default.
COMFORTAdds optional fields for line-item detail and additional references.
EXTENDEDFull field set for complex B2B invoices with delivery, allowances, and charges.
バージョン2+(Factur-X)
レベル使用する場合
MINIMUMAbsolute minimum fields. Buyer reference and totals only.
BASICWLBASIC without line items. Header-level data only.
BASICMandatory EN 16931 fields. Recommended starting point.
EN16931Full EN 16931 compliance for cross-border and public sector.
EXTENDEDFull field set including German-specific extensions.
XRECHNUNGGerman public-sector e-invoice mandate (XRechnung profile).

サンプル請求書ファイル​

実際のデータソースを接続する前に、これらのサンプルファイルを使用して各入力形式でモジュールをテストしてください。ドイツのB2B生産ワークフローの場合は、まず sample-invoice-zugferd-2.0-en16931.json (ZUGFeRD 2.0、 EN16931 適合性)。

ZUGFeRD XML サンプル
ZUGFeRD 1.0 ベーシック XML. と一緒に使用してください 入力形式: XMLUN/CEFACT CrossIndustryDocument形式で、販売者/購入者データ、明細項目、VAT、および支払い参照情報が含まれています。
ZUGFeRD-invoice-sample.xml
ZUGFeRD 2.0
ZUGFeRD 2.0 XML サンプル(EN16931)
ZUGFeRD 2.0 EN16931 XML CrossIndustryInvoice形式で、売主/買主、明細項目、VAT、および金額合計を含む請求書を作成します。 入力形式: XML、 ZUGFeRD バージョン: 2.0、 適合規格:EN16931。
ZUGFeRD-invoice-sample-2.0.xml
推奨
JSON 2.0 EN16931 サンプル
完全な構造化請求書 ZUGFeRD 2.0 と EN16931 適合性。 入力形式: JSON、 ZUGFeRD バージョン: 2+、 適合レベル:EN16931。
sample-invoice-zugferd-2.0-en16931.json
JSON 請求書サンプル(基本)
よりシンプルに JSON 煙テスト用 ZUGFeRD 1.0 そして ベーシック 適合性。
sample-invoice.json
CSV 請求書サンプル
フラット CSV InvoiceId、SellerName、BuyerName、ProductName、Quantity、UnitPrice、TaxPercent を含む行、 IBAN、およびBIC列。 入力形式: CSV列の順序が期待どおりです PDF4me。
test-invoice.csv
ZUGFeRD 2.0
CSV 2.0 請求書サンプル
拡張22列 CSV: InvoiceId、IssueDate、seller/buyer address フィールド、SellerVatId、ProductId、Currency、PaymentReference、 IBANBIC。 入力形式: CSV、 ZUGFeRD 2.0。
zugferd-invoice-2.0.csv

CSV 列参照​

の CSV 入力は必ずこの列順序に従ってください。各行から1枚の請求書が生成されます。

カラム説明例
InvoiceIdUnique invoice identifierINV-2025-001
IssueDateInvoice issue date (YYYY-MM-DD)2025-01-15
SellerNameSeller company nameTest Company
SellerStreetSeller street address123 Main St
SellerCitySeller cityTest City
SellerPostalCodeSeller postal / ZIP code12345
SellerCountryISO 3166-1 alpha-2 country codeDE
SellerVatIdSeller VAT registration numberDE123456789
BuyerNameBuyer company or person nameCustomer Inc
BuyerStreetBuyer street address456 Oak Ave
BuyerCityBuyer cityCustomer City
BuyerPostalCodeBuyer postal / ZIP code67890
BuyerCountryISO 3166-1 alpha-2 country codeDE
ProductNameLine item product or service nameTest Product
QuantityQuantity of the line item10.0
UnitPriceNet unit price9.90
TaxPercentVAT / tax percentage19.0
CurrencyISO 4217 currency codeEUR
PaymentReferencePayment reference stringPAY-REF-001
IBANPayee IBAN for bank transferDE08700901001234567890
BICPayee bank BIC / SWIFT codeGENODEF1M04

JSON 請求書の構成​

使用する際 入力形式: JSONペイロードには、以下の最上位キーを含める必要があります。ネストされたオブジェクトと配列はすべて、サンプルファイルに示されている構造に従います。

鍵タイプ説明
InvoiceIdStringUnique invoice number, e.g. "471102"
IssueDateString (ISO 8601)Invoice date, e.g. "2013-03-05T00:00:00"
InvoiceTypeStringDocument type label, e.g. "RECHNUNG"
TypeCodeStringUN/EDIFACT document type code. 380 for standard invoice
IsTestBooleantrue for test runs, false / omit for production
NotesArray of stringsFree-text notes shown in the invoice header (payment terms, GLN, etc.)
SellerObjectSeller party: Name, Address (Street, City, PostalCode, Country), TaxId, VatId, GLN
BuyerObjectBuyer party: Name, Address (Street, City, PostalCode, Country, LineTwo), GLN
PaymentObjectPayment details: PaymentReference, Currency, IBAN, BIC
DeliveryDateString (ISO 8601)Actual delivery date, e.g. "2013-03-05T00:00:00"
LineItemsArray of objectsInvoice lines. each with Quantity, UnitCode, UnitPrice, LineTotal, ProductName, GTIN, SellerProductId
TotalsObjectMonetary totals: LineTotal, ChargeTotal, AllowanceTotal, TaxBasisTotal, TaxTotal, GrandTotal, TaxPercent, Currency

作成方法 ZUGFeRD 請求書 Make?​

  1. 追加 PDF4me → 作成する ZUGFeRD 請求書 あなたのシナリオに当てはめて。
  2. 選択 繋がり (またはクリック) 追加 あなたと一緒に作成する API 鍵)。
  3. 選ぶ 入力形式。 XML、 JSON、 または CSV表示されるデータフィールドは、この選択内容によって異なります。
  4. セット ファイル に 地図 そして、前のモジュールの出力から請求書データフィールド(請求書XMLデータ/JSONデータ/CSVデータ)を接続します。または、 Dropbox - ファイルをダウンロードする Dropboxからファイルを直接取得する。
  5. セット 出力モード に XMLとPDF (デフォルト)ハイブリッドの場合 PDF/A-3 請求書、または XMLのみ のために XML のみ。
  6. セット ZUGFeRD バージョン (1.0または2+、デフォルト) 2歳以上) 次に選択 適合レベル バージョンに応じたセットから始めます。 ベーシック。
  7. XMLとPDFを使用する場合: 請求書をPDF形式でレンダリングする で はい 項目を視覚的に描画し、設定する 言語 ターゲットのロケール (例: de、 en、 fr)
  8. 保存 そしてクリック 1回実行ルート 書類 Dropbox、Google Drive、および ERP ウェブフック、またはメールモジュール。

出力フィールド​

PDF4me リクエストをバックグラウンドジョブとして処理し、 Make 次のモジュールを実行する前に、結果を待ちます。

分野タイプ内容物
NameFile nameFile name of the generated invoice file (PDF with embedded XML, or XML only). e.g. invoice-471102.pdf or invoice-471102.xml.
DocumentFile (binary data)Content (binary data) of the ZUGFeRD hybrid PDF/A-3 or XML file. Map into an upload, email attachment, or ERP HTTP module for the next step in your scenario.

ワークフローの例​

ワークフローの例Common Make scenario patterns using Create ZUGFeRD Invoice for automated e-invoicing.
注文データ(JSON形式)からハイブリッド請求書を生成する
  1. 注文は発送済みとしてマークされます ERP またはAirtable。シナリオがトリガーされます。
  2. 明細項目、価格、購入者の住所、および税金データが取得され、組み立てられます。 JSON ペイロード。
  3. 作成する ZUGFeRD 請求書 入力フォーマットで実行 JSON出力モード XmlWithPdfバージョン 2歳以上適合レベル ベーシック、 言語 の。
  4. ハイブリッド PDF 請求書はGmail経由で購入者にメールで送信され、コピーはGoogleドライブの請求書アーカイブにアップロードされます。
月次CSVエクスポートからの請求書の一括処理
  1. 会計は CSV 毎月の請求書のファイルをDropboxに保存する。
  2. ウォッチファイルトリガーが新しいファイルを検出し、イテレータが各行を処理します。
  3. 作成する ZUGFeRD 請求書 入力フォーマットで行ごとに実行 CSVハイブリッドを1つ生成 PDF 請求書1件につき。
  4. 全て PDFs ファイルは構造化されたアーカイブフォルダにアップロードされ、完了概要メールが財務チームに送信されます。
XRECHNUNG XML ドイツの公共部門の請求書作成について
  1. 政府契約の請求書は、Airtableのレコードから発行されます。
  2. 作成する ZUGFeRD 請求書 入力フォーマットで実行 JSON出力モード XMLのみバージョン 2歳以上適合レベル XRECHARGE。
  3. の XML ファイルは購入者のPeppol互換デバイスに直接POSTされます ERP API 経由 HTTP モジュール。
  4. 成功またはエラーの応答は、財務チームが確認できるようGoogleスプレッドシートに記録されます。

よくある質問​

What is ZUGFeRD and why does it use a PDF?+
ZUGFeRD is a German and EU e-invoicing standard that combines a visually readable PDF/A-3 document with a machine-readable XML file embedded inside it. Humans can open the PDF in any viewer; ERP and accounting systems extract the XML automatically for processing. no manual data entry needed. The same format is called Factur-X in France and other EU markets, and both align to the EN 16931 European e-invoicing standard maintained by <a href="https://www.ferd-net.de/" target="_blank" rel="noopener">FeRD, the Forum elektronische Rechnung Deutschland</a>.
What is the difference between XmlWithPdf and XmlOnly output mode?+
XmlWithPdf produces a PDF/A-3 hybrid document with ZUGFeRD XML embedded as an attachment. this is the standard e-invoice format readable by both humans and ERPs. XmlOnly returns just the XML invoice file without any PDF wrapper, useful when the receiving system only needs the structured data and generates its own document view. Use XmlOnly with the XRECHNUNG conformance level for German public-sector submissions that require pure XML delivery.
Which Conformance Level and ZUGFeRD Version should I use?+
The available conformance levels depend on which ZUGFeRD Version you select. Version 1.0 supports BASIC, COMFORT, and EXTENDED. Version 2+ offers MINIMUM, BASICWL, BASIC, EN16931, EXTENDED, and XRECHNUNG. Start with BASIC for the broadest buyer compatibility. it covers all mandatory EN 16931 fields. Move to EN16931 for cross-border EU compliance, or XRECHNUNG when submitting invoices to German federal and state government buyers who are legally required to accept the XRechnung profile.
Is ZUGFeRD the same as Factur-X?+
They are the same technical format under different names. ZUGFeRD is the German designation; Factur-X is the French equivalent. Both align to EN 16931 and are cross-compatible. a ZUGFeRD 2.x invoice is accepted by systems expecting Factur-X and vice versa. Version 1.0 is a German-only older specification; version 2.x is the aligned EU standard.
Can I only supply one input format per scenario run?+
Yes. Selecting XML shows the Invoice XML Data field, selecting JSON shows Invoice JSON Data, and selecting CSV shows Invoice CSV Data. Only fill in the field matching your chosen format in a given run. do not populate multiple data fields in the same execution. If you need to process different formats, split them into separate scenario branches with a Router module that filters by source type.
What does the Render Invoice on PDF option do?+
When Render Invoice on PDF is set to Yes, the module draws the invoice line items, totals, seller/buyer details, and payment information visually on the PDF pages. When set to No, the output is a PDF/A-3 container with the ZUGFeRD XML embedded but minimal or no visual rendering on the page. the PDF may appear nearly blank to a human reader. This option only applies when Output Mode is XmlWithPdf; it has no effect when using XmlOnly.

関連モジュール​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​