Extract Japanese invoice (OCR)
jp_invoice_extractOCR a Japanese billing invoice (text, HTTPS file URL, or small Base64) with local date, tax, arithmetic and T-number checks; no registry lookup. Use when: You need Japanese billing-invoice OCR and deterministic quality checks without registry lookup. Returns: OCR-derived invoice fields plus format, arithmetic, tax, completeness, and review status. Price: $0.01 USDC per successful call, paid with x402 on Base. / 日本語請求書をOCRし、日付・税額・金額・T番号をローカル検証します(法人照合なし)。 用途: 日本語の請求書をOCRし、法人照合なしで日付・金額・税額・T番号を検証したい場合。 返却: OCR請求書項目に加え、形式・金額計算・税額・必須項目・確認状態を返します。 料金: 成功した呼び出し1回あたり $0.01 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は指定できません。 | |
| 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を使用)。 | |
| response_language | No | Response presentation language: ja, en, or both. / レスポンス表示言語: ja、en、both。 | both |