Receipt Extraction

com.acjlabs由 acjlabs.com 发布官方发布者v0.1.2更新于 Nov 2, 2026

AU GST/ABN receipt extraction — assigns entertainment/ITC tax codes per line, not just OCR.

发布方自己的服务:Catalog Attribute Normalizer

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

远程 MCP 服务器,把收据或发票的图片与 PDF 转成结构化 JSON,并做澳洲 ABN 与 GST 校验。

可以做什么
  • 从 base64 编码的图片或 PDF 中提取结构化收据,返回供应商、日期、明细行、合计与 schema 版本
  • 用 11 位 modulus-89 校验和验证供应商 ABN,并在明细行与合计之间交叉核对 GST
  • 为每条明细行标注澳洲税务代码,并附置信度与一行说明所适用规则的依据
  • 按行应用招待费用与进项税抵扣规则,包括差旅附带消费的例外情形
适用场景
适合需要读取澳洲收据或发票、并产出可直接入账且带 GST 与 ABN 校验的明细行的场景。适用于费用采集与税务代码复核流程,且每项分类都可追溯核查。
运行要求
通过 streamable HTTP 访问的远程 MCP 端点,无需本地安装包。调用提取工具需要 API 密钥,以 Authorization Bearer 请求头发送,密钥通过邮箱自助注册获取。工具发现无需密钥。免费额度为每月 20 份文档。
安装前请注意
API 密钥在注册时仅显示一次且无法找回,需立即保存。收据与发票图片会上传到第三方托管服务,且实现并非开源。GST 结果属于软件输出而非税务建议,准确率仅在四份测试文档上验证过。付费方案尚未上线。

AI 概览如何生成和校验

安装

在 SourceWeft 中

  1. 打开 控制台中的 Receipt Extraction,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.acjlabs%2Freceipt-extraction/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "receipt-extraction": {
      "type": "http",
      "url": "https://receipt-extraction.acjlabs.com/mcp"
    }
  }
}

README

Receipt Extraction

AU GST/ABN-aware receipt & invoice extraction — applies documented AU entertainment/ITC tax-code rules per line item, returning a tax_code, a confidence, and a one-line rationale for each, not just OCR text. You supply the document; get validated structured JSON: vendor, line items, tax, totals — with Australian GST and ABN checksum validation built in from day one. One API call, no hand-rolled vision-LLM prompts, no re-deriving ABN/GST rules from the ATO's own documentation.

What it does

  • Accepts a receipt/invoice image or PDF (base64), returns a clean, versioned Receipt JSON object.
  • Validates the vendor's ABN (11-digit modulus-89 checksum) and cross-checks GST across line items and totals, excluding non-creditable GST on entertainment-coded expenses per the documented rule set.
  • Each line item carries its tax_code plus a confidence (0–1) and a one-line rationale naming the actual rule applied (e.g. "entertainment ITC denied, no exception context", or the incidental-to-travel exception that flips a restaurant-style meal back to claimable) — so you can check the call, not just trust it.
  • Works as an MCP server (extract_receipt tool) or a plain HTTPS API — usable from Claude, Cursor, or any HTTP client.

GST handling reflects publicly documented Australian tax law and is provided as software output, not tax advice.

Example (MCP tool call)

{
  "tool": "extract_receipt",
  "input": { "document_base64": "<base64 image or PDF>", "mime_type": "image/jpeg" }
}
{
  "vendor": { "name": "Acme Pty Ltd", "abn": "51824753556", "abn_valid": true },
  "date": "2026-07-14",
  "line_items": [
    {
      "description": "Widget",
      "qty": 2,
      "unit_price": 12.5,
      "gst": 2.5,
      "tax_code": "taxable",
      "confidence": 0.95,
      "rationale": "Standard-rated retail good; 10% GST applies."
    }
  ],
  "totals": { "subtotal": 25.0, "gst": 2.5, "total": 27.5 },
  "schema_version": "1.0"
}

Pricing

The free tier is self-serve today; paid plans are opening soon.

  • Free — 20 documents/month, no card required. Self-serve today.
  • Pay-as-you-go (opening soon) — $0.02/document, no minimum.
  • Pro (opening soon) — $19/month for 1,500 documents (~$0.013/doc effective), with priority support.

Want a paid plan now? Register your interest and we'll set you up first.

Getting a key

The MCP server is live at https://receipt-extraction.acjlabs.com/mcp (the alternate https://acjlabs-receipt-extraction.acjlabs.workers.dev/mcp address reaches the same deployment and keeps working, so existing configurations need no change). Free-tier keys self-serve — POST /v1/signup with { "email": "[email protected]" } returns your key directly in the response, good for 20 documents/month, no card required. Store it immediately — it is shown once and cannot be recovered if lost (re-signup for a new one). Paid keys provision the same way via a one-time claim link once Pro/pay-as-you-go billing is live. See https://acjlabs-receipts.pages.dev for the same steps plus pricing and a comparison against alternatives.

Connecting it to an MCP client

With Claude Code:

claude mcp add --transport http receipt-extraction \
  https://receipt-extraction.acjlabs.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Any other MCP client that supports a remote HTTP server with a custom header (Cursor, Cline, VS Code, etc.) works the same way: point it at the URL above with an Authorization: Bearer YOUR_API_KEY header. A gateway or scanner that can only forward the raw key value (no Bearer prefix) also works — both forms authenticate. Tool discovery (initialize/tools/list) doesn't require a key at all; only calling extract_receipt does.

See docs/quickstart.md for a full copy-paste walkthrough (getting a key, per-client configs, confirming the connection with curl) if you'd rather follow one linear guide.

How accurate is it?

Validated 4/4 against hand-built (but genuinely readable) test documents covering net-priced, GST-inclusive-only, checksum-invalid-ABN, and unreadable-document cases. Real production accuracy across more document formats will be tracked once live traffic exists.

npm client

Prefer a typed function over hand-rolling MCP JSON-RPC calls? @acjlabs/receipt-extraction-client (live on npm) wraps the extract_receipt tool call:

npm install @acjlabs/receipt-extraction-client
import { createReceiptExtractionClient } from "@acjlabs/receipt-extraction-client";

const client = createReceiptExtractionClient({
  baseUrl: "https://receipt-extraction.acjlabs.com",
  apiKey: "...",
});
const receipt = await client.extractReceipt(base64EncodedImageOrPdf, "image/png");

Why not just use generic OCR?

Generic OCR extraction APIs return raw fields. None of them apply the AU layer on top: that an Australian ABN carries an 11-digit modulus-89 checksum, or that GST apportionment differs for entertainment-coded expenses. You'd build and maintain that yourself, against someone else's schema that can change under you. See the full comparison, or read why AU GST rules break most receipt-extraction tools (the ABN checksum, the three real GST cases, and how to test any tool against them).

Source availability & support

This repository hosts the documentation for the hosted service. The service implementation is not open source. Bug reports and feature requests are welcome in this repo's Issues; you can also reach us at [email protected].

来源:README.md,提交 ab30961

工具

1

extract_receipt

Extract Receipt

Extracts a structured Receipt (vendor, ABN-checked, GST-aware line items and totals) from a base64-encoded receipt or invoice image/PDF.

输入参数mime_type必填document_base64必填

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

这个评分如何计算

其他 Acjlabs 集成