Reading Invoice
Reads invoice images and PDFs into structured data, with dual-context verification and tax-rate handling.
- CCM score
- 52 of 100
- skills.sh installs
- 387
- GitHub stars
- 373
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers PDF text extraction first, falling back to PNG conversion via
shinkoku pdffor scanned files - Includes a dual-read workflow where two independent contexts read the same image and their results are compared
- Enforces integer yen amounts, YYYY-MM-DD dates, Western-calendar conversion of Japanese eras, and UNKNOWN or 0 for unreadable fields
- Designed for invoice processing that other skills call or users invoke directly, with user confirmation required when reads disagree
Install
$ npx -y skills add kazukinagata/shinkoku --skill reading-invoice -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
請求書 画像読み取り
請求書の画像を読み取り、構造化データとして返すスキル。
PDF ファイルの場合
ファイルが PDF(.pdf)の場合、画像 OCR の前にテキスト抽出を試みる。
shinkoku pdf extract-text --file-path <path>を実行する- 抽出テキストに必要な情報(金額・日付・請求元等)が含まれていれば、テキストから構造化データを生成する
- テキストが不十分(スキャン PDF 等)の場合は
shinkoku pdf to-image --file-path <path> --output-dir <dir>で PNG に変換し、以下の画像読み取りフローに進む
画像読み取り方法
推奨: デュアル検証(並列2コンテキスト)
精度を高めるため、同じ画像を2つの独立したコンテキストで並列に読み取り、結果を照合する。
-
2つの独立した読み取りを実行する: サブエージェントが使える環境では、2つのサブエージェントを並列で起動し、それぞれ独立に画像を読み取る。 各サブエージェントには以下の「基本ルール」と「出力フォーマット」をプロンプトとして渡し、画像ファイルパスを指定する。
-
結果照合: 両方の読み取り結果から主要フィールド(金額等)を比較する。
-
一致の場合: そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告する。
-
不一致の場合: ユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう:
- 差異のあるフィールドを明示する
- A を採用 / B を採用 / 手動入力 の3択を提示する
フォールバック(サブエージェント非対応の場合)
サブエージェントが利用できない環境では、以下の手順で読み取る:
- 画像ファイルを直接 Read ツールで読み取る
- 以下の「基本ルール」と「出力フォーマット」に従ってデータを抽出する
- 抽出結果をユーザーに提示し、必ず目視確認を依頼する
⚠ デュアル検証が利用できないため、必ずユーザーに目視確認を依頼してください。
基本ルール
Details
- Repository
- github.com/kazukinagata/shinkoku
- Categories
- Finance & Trading, Office Files & Slides
- License
- MIT
- First seen
- Jun 3, 2026
Questions
What does the reading-invoice skill do?
The reading-invoice skill reads an invoice image and returns structured data such as vendor name, invoice number, registration number, date, total and tax amounts, and line items. It can also process PDF files by first trying text extraction and falling back to image reading for scanned PDFs.
How do I install the reading-invoice skill?
Run npx -y skills add kazukinagata/shinkoku --skill reading-invoice -y in your project. Once installed, the agent can read invoice images and return the extracted invoice data.
Is the reading-invoice skill part of the Finance & Trading category?
Yes, reading-invoice is listed in Claude Marketplaces' Finance & Trading category. It can be called by other skills or directly by a user who wants invoice data extracted from an image or PDF.
What does reading-invoice need to work?
It needs an agent that can read image files, since it uses the Read tool and Claude Vision to recognize invoice images. For PDFs it also uses the shinkoku CLI commands pdf extract-text and pdf to-image.
More from kazukinagata/shinkoku
All 24- Journal346
- E Tax345
- Income Tax344
- Assess342
- Gather338
- Reading Withholding335
- Reading Receipt332
- Consumption Tax330
- Settlement330
- Submit329
- Setup328
- Invoice System323
- Reading Deduction Cert323
- Reading Payment Statement322
- Incorporation320
- Furusato318
- Capabilities317
- E Bookkeeping Compliance283
- Tax Legal Context208
- Tax Housing Loan Context196
- Tax Ebookkeeping Context195
- Tax Invoice Credit Context192
- Tax Advisor461
Similar to Reading Invoice
More Finance & Tradingreading-payment-statementSkillkazukinagata/shinkoku322 installsReads Japanese payment statement images and PDFs, returning structured payer, amount, and withholding tax data.
reading-withholdingSkillkazukinagata/shinkoku335 installsReads Japanese withholding tax slips (源泉徴収票) from images or PDFs and returns structured tax data.
invoice-templateSkillclaude-office-skills/skills4.9K installsProfessional PDF invoice generation from structured data, with ReportLab and HTML template approaches.
InvoicesMCP serverantondrakon1 starReads supplier invoices in PDF, photo, and XML form, returning extracted fields and accounting export files.