Extract and verify Japanese invoice
jp_invoice_extract_and_verifyOCR a Japanese billing invoice, validate it locally, and resolve the issuer against NTA registries. Use when: You need invoice OCR and issuer name/address comparison or completion using NTA public data. Returns: OCR values, registry values, resolved issuer values, validation, and an explicit review signal. Price: $0.05 USDC per successful call, paid with x402 on Base. / 日本語請求書をOCR・ローカル検証し、発行者を国税庁データと照合します。 用途: 請求書OCRに加えて、国税庁公開データで発行者名・住所・T番号を照合・補完したい場合。 返却: OCR値、登記値、採用した発行者値、検証結果、明示的な確認シグナルを返します。 料金: 成功した呼び出し1回あたり $0.05 USDC(Base上のx402決済)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Already available document text. Choose exactly one primary source: text, image_base64, or file_url. / 既に取得済みの文書テキスト。主入力としてtext、image_base64、file_urlのいずれか1つを指定します。 | |
| fields | No | Billing-invoice fields only; receipt_date, receipt_number, and transaction_time are rejected. / 請求書専用項目。receipt_date、receipt_number、transaction_timeは指定できません。 | |
| address | No | Optional issuer address supplied by the caller for registry comparison. / 法人データ照合用の発行者住所(任意)。 | |
| file_url | No | HTTPS URL for an image or document file. / 画像・文書ファイルのHTTPS URL。 | |
| max_pages | No | Maximum PDF pages to process (1-2). / 処理するPDF最大ページ数(1〜2)。 | |
| mime_type | No | Input MIME type; inferred when omitted. / 入力MIMEタイプ。未指定時は推定します。 | image/jpeg |
| image_base64 | No | Base64-encoded file, at most 5 MB decoded over MCP/A2A; use an HTTPS URL or the HTTP API for larger files. / Base64エンコードしたファイル(MCP/A2Aではデコード後5MBまで。大きいファイルはHTTPS URLまたはHTTP APIを使用)。 | |
| supplier_name | No | Optional issuer name supplied by the caller for registry comparison. / 法人データ照合用の発行者名(任意)。 | |
| response_language | No | Response presentation language: ja, en, or both. / レスポンス表示言語: ja、en、both。 | both |