Skip to content
kazukinagata avatar

Reading Payment Statement

Reads Japanese payment statement images and PDFs, returning structured payer, amount, and withholding tax data.

CCM score
52 of 100
skills.sh installs
322
GitHub stars
373
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 報酬, 料金, 契約金, and 賞金 payment statements, with PDF text extraction falling back to image OCR when text is insufficient
  • Uses shinkoku pdf extract-text and shinkoku pdf to-image for PDF input, then Claude Vision for images
  • Runs dual independent reads in parallel and reconciles results, asking the user to resolve any mismatched fields
  • Designed for other skills to call, or for users to invoke directly on 支払調書 scans and PDFs

Install

$ npx -y skills add kazukinagata/shinkoku --skill reading-payment-statement -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

支払調書 画像読み取り

支払調書(報酬、料金、契約金及び賞金の支払調書)の画像を読み取り、構造化データとして返すスキル。

PDF ファイルの場合

ファイルが PDF(.pdf)の場合、画像 OCR の前にテキスト抽出を試みる。

  1. shinkoku pdf extract-text --file-path <path> を実行する
  2. 抽出テキストに必要な情報(支払金額・源泉徴収税額等)が含まれていれば、テキストから構造化データを生成する
  3. テキストが不十分(スキャン PDF 等)の場合は shinkoku pdf to-image --file-path <path> --output-dir <dir> で PNG に変換し、以下の画像読み取りフローに進む

画像読み取り方法

推奨: デュアル検証(並列2コンテキスト)

精度を高めるため、同じ画像を2つの独立したコンテキストで並列に読み取り、結果を照合する。

  1. 2つの独立した読み取りを実行する: サブエージェントが使える環境では、2つのサブエージェントを並列で起動し、それぞれ独立に画像を読み取る。 各サブエージェントには以下の「基本ルール」と「出力フォーマット」をプロンプトとして渡し、画像ファイルパスを指定する。

  2. 結果照合: 両方の読み取り結果から主要フィールド(金額等)を比較する。

  3. 一致の場合: そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告する。

  4. 不一致の場合: ユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう:

    • 差異のあるフィールドを明示する
    • A を採用 / B を採用 / 手動入力 の3択を提示する

フォールバック(サブエージェント非対応の場合)

サブエージェントが利用できない環境では、以下の手順で読み取る:

  1. 画像ファイルを直接 Read ツールで読み取る
  2. 以下の「基本ルール」と「出力フォーマット」に従ってデータを抽出する
  3. 抽出結果をユーザーに提示し、必ず目視確認を依頼する

⚠ デュアル検証が利用できないため、必ずユーザーに目視確認を依頼してください。

基本ルール

Details

Repository
github.com/kazukinagata/shinkoku
Categories
Finance & Trading, Office Files & Slides
License
MIT
First seen
Jun 3, 2026

Questions

What does the reading-payment-statement skill do?

reading-payment-statement reads images of payment statements (支払調書) for rewards, fees, contract money and prizes and returns structured data. It can be called by other skills or used directly, and it converts amounts to integer yen and dates to YYYY-MM-DD.

How do I install the reading-payment-statement skill?

Run npx -y skills add kazukinagata/shinkoku --skill reading-payment-statement -y in a project to install it. Once installed, reading-payment-statement can read a PDF by extracting its text first, or convert it to PNG for image reading.

Which skills lead the Finance & Trading category next to reading-payment-statement?

reading-payment-statement is listed in Finance & Trading on Claude Marketplaces, next to wind-mcp-skill, stripe-best-practices, wind-find-finance-skill, convex-billing and create-payment-credential. Its own focus is reading payment statement images into fields such as payer name, category, gross amount and withholding tax.

Does reading-payment-statement need a special tool to read PDFs?

reading-payment-statement uses the shinkoku command, which it runs as shinkoku pdf extract-text for PDFs and shinkoku pdf to-image for scanned files. Image reading relies on the Read tool and Claude Vision to recognize the statement.

More from kazukinagata/shinkoku

All 24

Similar to Reading Payment Statement

More Finance & Trading