← Market

Invoice · Extract

Use when an agent has the text of a Japanese invoice or receipt (e.g. OCR output) and needs exact amounts without LLM misreads. Returns registration number (T+13, check digit only, not an NTA registry lookup), total, subtotal, 8%/10% tax breakdown and issue/due dates (Reiwa to ISO). Deterministic rules; text only, no images/PDF. Errors before payment (no charge): 400 body not {text} or over 5000 chars, 413 over 32KB, 429 rate limit. 502 if payment is unavailable.

POST https://invoice-extract-jp.threads-cron.workers.dev/v1/invoice/extract

0.005 USDC on Base · payTo 0xb1d2447110efE7cbb280a7BA0AECb3b85EEc7f5D

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0xb1d2447110efE7cbb280a7BA0AECb3b85EEc7f5D · via cdp · settles direct
{
  "text": "請求書\n発行日 令和8年10月22日\n登録番号 T7000012050002\n小計 ¥10,000\n消費税 ¥1,000\nご請求金額 ¥11,000\nお支払期限 2026/11/30"
}
{
  "amounts": {
    "subtotal": {
      "raw": "¥10,000",
      "value": 10000
    },
    "tax": {
      "raw": "¥1,000",
      "value": 1000
    },
    "taxBreakdown": [],
    "total": {
      "raw": "¥11,000",
      "value": 11000
    }
  },
  "dates": {
    "allDates": [
      "2026-10-22",
      "2026-11-30"
    ],
    "dueDate": {
      "raw": "2026/11/30",
      "value": "2026-11-30"
    },
    "issueDate": {
      "raw": "令和8年10月22日",
      "value": "2026-10-22"
    }
  },
  "registrationNumbers": [
    {
      "checkDigit": "valid",
      "value": "T7000012050002"
    }
  ],
  "warnings": []
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score66 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency237 ms
Paid calls (30d, on-chain)1 calls · 1 buyers
Facilitator-reported (30d)9 calls · 7 payers (CDP Bazaar)

How to call

POST https://invoice-extract-jp.threads-cron.workers.dev/v1/invoice/extract · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 5000,
      "description": "Plain text of a Japanese invoice or receipt (OCR output is fine). Full-width characters are normalized."
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "registrationNumbers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "T + 13 digits"
          },
          "checkDigit": {
            "type": "string",
            "enum": [
              "valid",
              "invalid"
            ],
            "description": "Corporate-number check digit result; sole-proprietor numbers may show invalid"
          },
          "note": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "checkDigit"
        ]
      }
    },
    "amounts": {
      "type": "object",
      "properties": {
        "total": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "value": {
              "type": "integer",
              "description": "Amount in JPY (negative if marked with - or ▲)"
            },
            "raw": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "raw"
          ]
        },
        "subtotal": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "value": {
              "type": "integer",
              "description": "Amount in JPY (negative if marked with - or ▲)"
            },
            "raw": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "raw"
          ]
        },
        "tax": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "value": {
              "type": "integer",
              "description": "Amount in JPY (negative if marked with - or ▲)"
            },
            "raw": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "raw"
          ]
        },
        "taxBreakdown": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "rate": {
                "type": "integer",
                "enum": [
                  8,
                  10
                ]
              },
              "taxableAmount": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "value": {
                    "type": "integer",
                    "description": "Amount in JPY (negative if marked with - or ▲)"
                  },
                  "raw": {
                    "type": "string"
                  }
                },
                "required": [
                  "value",
                  "raw"
                ]
              },
              "tax": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "value": {
                    "type": "integer",
                    "description": "Amount in JPY (negative if marked with - or ▲)"
                  },
                  "raw": {
                    "type": "string"
                  }
                },
                "required": [
                  "value",
                  "raw"
                ]
              }
            },
            "required": [
              "rate"
            ]
          }
        }
      },
      "required": [
        "total",
        "subtotal",
        "tax",
        "taxBreakdown"
      ]
    },
    "dates": {
      "type": "object",
      "properties": {
        "issueDate": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "value": {
              "type": "string",
              "description": "ISO date YYYY-MM-DD"
            },
            "raw": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "raw"
          ]
        },
        "dueDate": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "value": {
              "type": "string",
              "description": "ISO date YYYY-MM-DD"
            },
            "raw": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "raw"
          ]
        },
        "allDates": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "issueDate",
        "dueDate",
        "allDates"
      ]
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "registrationNumbers",
    "amounts",
    "dates",
    "warnings"
  ]
}
curl -i -X POST 'https://invoice-extract-jp.threads-cron.workers.dev/v1/invoice/extract' \
  -H 'content-type: application/json' -d '{"text":"請求書\n発行日 令和8年10月22日\n登録番号 T7000012050002\n小計 ¥10,000\n消費税 ¥1,000\nご請求金額 ¥11,000\nお支払期限 2026/11/30"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)