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

AIプロセス受信 n8n

AI処理による領収書 は n8n ノードによる PDF4me レシートから加盟店情報、取引データ、明細項目、合計金額を抽出する PDFs および画像 AI11種類の専門的な領収書カテゴリにわたって、経費の記録、領収書のデジタル化、経費報告書のデータ入力を、手作業による入力なしで自動化するために使用できます。

このノードの機能

PDF4meAI処理レシート レシートを解析する PDF または画像を取得し、構造化された加盟店情報、取引日時、明細項目、財務合計、さらにホテル、燃料およびエネルギー、トレーニング、医療領収書のカテゴリ固有のフィールドを返します。バイナリデータによる入力を受け付けます。 Base64 文字列、または URL経費自動化、支出分析、領収書のデジタル化ワークフローに最適です。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証 API リクエスト​

毎 PDF4me ノード n8n 有効な 接続するための認証情報. 作成または選択して、 PDF4me API ワークフローが認証できるようにするためのキー AI 抽出要求を安全に処理します。

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

レシート名がフォーマット検出の基準となる
多くのものとは異なり PDF4me アクション、レシート名は入力タイプに関係なく必須です。ファイル拡張子(.pdf、.png、.jpg、.jpeg)は、 AI エンジンが最適な精度でファイルをデコードする方法。
レシートの種類はヒントであり、厳密なフィルターではありません。
レシートの種類をホテル、燃料・エネルギー、トレーニング、またはヘルスケアに設定すると、そのカテゴリの専用フィールド(部屋番号、燃料数量、コース名、患者名)の精度が向上しますが、汎用のままにしておくと、ノードは標準フィールドを返します。
これは抽出であり、簿記ではない。
ノードはレシート画像から構造化データを返します。 PDF; それ自体は会計システムにエントリを転記したり、予算と照合したりしません。出力を経費または ERP 下流のツール。

AI処理による領収書にはどのようなパラメータが必要ですか?​

必須: 入力データタイプと領収書名、および選択した入力タイプに一致するフィールド(入力バイナリフィールド、 Base64 レシートの内容、またはレシート URLレシートの種類、アイテムの分析、加盟店情報の抽出、合計の計算、カスタムフィールドキーはすべてオプションです。ワークフローに必要な機能のみを有効にしてください。

パラメータ必須その機能例
Input Data TypeRequiredChoose how to provide the receipt document to process. Options: Base64 String, Binary Data, URL. Default is `Binary Data`.Binary Data
Base64 Document ContentConditionalBase64 encoded receipt document content. The node accepts only PDF content here: it fails unless the text starts with the PDF header `JVBERi0x`. A `data:...;base64,` prefix is removed. Shown when Input Data Type is Base64 String.JVBERi0x
Input Binary FieldConditionalName of the binary property that contains the receipt file (usually "data" for file uploads). Shown when Input Data Type is Binary Data. Default is `data`.data
Document URLConditionalURL to the receipt document file to process. Shown when Input Data Type is URL.
Document NameRequiredName of the receipt document file for reference. Default is `receipt.pdf`.receipt.pdf
Receipt TypeOptionalOptional receipt type for improved parsing accuracy. Options: Communication, Entertainment, Fuel and Energy, Generic, Healthcare, Hotel, Meal, None, Subscriptions, Supplies, Training, Transportation.Communication
Analyze ItemsOptionalWhether to analyze individual items on the receipt. Default is `Yes`.Yes
Extract Merchant InfoOptionalWhether to extract merchant information. Default is `Yes`.Yes
Calculate TotalsOptionalWhether to calculate totals and subtotals. Default is `Yes`.Yes
Custom Field KeysOptionalComma-separated list of custom field keys to extract (e.g., "field1,field2,field3").["loyaltyPoints"]
Advanced OptionsOptionalOptional settings, collapsed behind Add Option.Add Option
Custom ProfilesOptionalUse 'JSON' to adjust custom properties. Review Profiles at https://developer.pdf4me.com/api/profiles/index.html to set extra options for API calls.

出力​

ノードが返すフィールド。

分野タイプ内容物
_metadataStringObject added by the node: success (always true), message (`Receipt processed successfully using AI`), processingTimestamp (time the node received the result, ISO 8601), sourceFileName (the input file's name for Binary Data, the last part of the URL for URL, and Document Name for Base64) and operation (`processReceipt`).

すべての分野 PDF4me 応答はアイテムにコピーされます: 領収書の詳細が読み取られます AI販売者、日付と時刻、商品、合計、支払い方法、領収書タイプ固有のデータ(ホテル、燃料、トレーニング、医療の詳細など)、カスタムフィールドの値など。正確なフィールドは、 PDF4me 応答。

すべての分野の PDF4meの応答はアイテムにコピーされます: によって読み取られた領収書の詳細 AI販売者、日付と時刻、商品、合計、支払い方法、領収書タイプ固有のデータ(ホテル、燃料、トレーニング、医療の詳細など)、カスタムフィールドの値など。正確なフィールドは、 PDF4meの返答。

AIプロセスレシートの設定方法 n8n?​

  1. 追加 PDF4me あなたの n8n ワークフローを選択し、 AI処理による領収書 アクション。
  2. で 接続するための認証情報選択してください PDF4me 認証情報またはクリック 新しい認証情報を作成する そしてあなたの API 鍵。
  3. セット 入力データタイプ に バイナリデータ (デフォルト)、 Base64 弦、 または URL そして、対応するソースフィールドを指定します。
  4. セット 領収書名 正しい拡張子付き(.pdf、 .png、 .jpg、 .jpeg)
  5. オプションで設定可能 領収書の種類 ホテル、燃料・エネルギー、研修、医療費の領収書について、より正確な情報を得るために特定のカテゴリに分類する。
  6. 有効にする 分析項目、 販売者情報の抽出、 そして 合計を計算する 必要に応じて追加し、 カスタムフィールドキー 標準フィールド以外のものすべてに適用されます。
  7. ノードを実行し、抽出したフィールドを経費管理ツール、スプレッドシート、または会計システムにマッピングしてください。

典型的な構成​

ワークフローの例Common n8n workflow patterns using AI-Process Receipt.
メールの領収書を経費シートに取り込む
  1. Gmailのトリガーは、領収書が添付されたメールに対して作動します。
  2. PDF4me AI処理レシートは、「加盟店情報の抽出」と「合計金額の計算」が有効になっている状態で実行されます。
  3. 商人名、合計金額、取引日付がGoogleスプレッドシートの経費ログに追加されます。
車両追跡用の燃料およびエネルギーの明細付き領収書
  1. モバイルアップロード用のウェブフックは、ドライバーから撮影された燃料レシートを受信します。
  2. PDF4me AI処理レシートは、燃料とエネルギーのレシートタイプで実行され、fuelQuantity、fuelUnit、およびvehicleNumberを抽出します。
  3. 記録は、車両番号をキーとする車両管理データベースに書き込まれます。
出張経費報告書のためのホテル明細書の解析
  1. 旅行者がホテルの明細書をアップロードする PDF フォームを通して。
  2. PDF4me AI処理レシートは、レシートタイプがホテルの場合に実行され、標準の合計金額に加えて、部屋番号、チェックイン日、チェックアウト日を抽出します。
  3. 解析されたデータは、会社の出張経費精算ワークフローに流れ込む。
バッチ領収書アップロードからの明細項目別支出分析
  1. 「アイテムのループ」ノードは、共有ドライブフォルダから領収書ファイルのバッチを反復処理します。
  2. PDF4me AI処理レシートは、個々の明細項目を分解するために「項目分析」を有効にして実行されます。
  3. analyzeItemsはフラット化され、カテゴリレベルの支出分析のためにBigQueryテーブルに追加されます。

実践的なヒント​

Set Receipt Name even with Binary Data
The extension drives format detection regardless of input type; a mismatched or missing extension can reduce accuracy.
Only enable the toggles you need
Analyze Items, Extract Merchant Info, and Calculate Totals each add processing and payload size; skip any your downstream workflow does not consume.
Check warnings and fallbackUsed
Route items with a non-empty warnings array or fallbackUsed true to a manual-review queue instead of trusting the extraction blindly.
Match Receipt Type to unlock specialized fields
roomNumber, fuelQuantity, courseName, and patientName only populate when Receipt Type matches the corresponding category.
Custom Field Keys is additive, not a filter
It adds extra fields to additionalInfo; it does not restrict or replace the standard merchant, item, or financial fields.
This is extraction, not reconciliation
Pair the output with your accounting or expense system for matching against budgets, policies, or approvals.

チートシート​

分野価値
ActionAI-Process Receipt
Input Data TypeBinary Data
Input Binary Fielddata
Receipt Namereceipt.pdf
Receipt Typegeneric (or a specific category)
Analyze Itemstrue
Extract Merchant Infotrue
Calculate Totalstrue
Custom Field Keys[] (optional)
CredentialsPDF4me API credential

よくある質問​

Which fields are required for AI-Process Receipt?+
Four: the receipt input (via Input Data Type), Receipt Name, and the field matching your chosen input type. Receipt Type, Analyze Items, Extract Merchant Info, Calculate Totals, and Custom Field Keys are all optional.
What receipt types does this node support?+
Eleven categories: meal, supplies, hotel, fuel and energy, transportation, communication, subscriptions, entertainment, training, healthcare, and generic. Setting Receipt Type helps the AI engine target the right fields, such as room number for hotel or fuel quantity for fuel and energy.
Can I extract custom fields beyond the standard receipt data?+
Yes. Custom Field Keys accepts an array of additional field names the AI should look for beyond the standard merchant, line-item, and financial fields, returned in the additionalInfo object.
Does the output tell me if extraction was uncertain?+
Yes. The warnings array flags data-quality issues, and fallbackUsed indicates whether a fallback extraction method was needed, useful for routing low-confidence results to manual review, similar in spirit to the confidence-scoring approach described in Microsoft's Document Intelligence receipt model documentation.
Can I process image receipts, not just PDFs?+
Yes. The node accepts .pdf, .png, .jpg, and .jpeg receipt files. Set Receipt Name with the matching extension so the AI engine can apply the correct format handling.
Is this a bookkeeping or reconciliation tool?+
No, it extracts structured data from the receipt; matching that data against a budget, policy, or ledger is a separate step in your expense or accounting system, the same division of labor described in general receipt-automation guides such as DocuClipper's receipt data extraction overview.

関連アクション​

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

ヘルプが必要な場合​