/install bw-invoice-verification-service
说明:本技能固定使用
http://asset-check-innovate-service-http.default.yf-bw-test-2.test.51baiwang.com作为 API base URL,config set --api-base-url不可用。
Invoice Verification Service
Use this skill when the user wants to:
- Query remaining invoice verification quota
- Show recharge packages
- Verify invoice text
- Verify a local invoice image
- Batch-verify invoice images in a local folder
- Create or query a recharge order
Script
Always run:
node "{baseDir}/scripts/invoice_service.js" \x3Caction> ...
First-Time Setup
The skill always uses the built-in API base URL https://test.51yzt.cn/assetInnovate. There is no config set --api-base-url option.
Initialize the app key once:
node "{baseDir}/scripts/invoice_service.js" init-key
Common Commands
Show current config:
node "{baseDir}/scripts/invoice_service.js" config show
Query packages:
node "{baseDir}/scripts/invoice_service.js" packages
Query remaining quota:
node "{baseDir}/scripts/invoice_service.js" quota
Query ledger:
node "{baseDir}/scripts/invoice_service.js" ledger --page 1 --page-size 20
Verify invoice text:
node "{baseDir}/scripts/invoice_service.js" verify --text "\x3Cinvoice text>" --format json
Verify a local image:
node "{baseDir}/scripts/invoice_service.js" verify-image --image-file C:\path\invoice.png --format json
Verify an uploaded image payload (base64/data-url):
node "{baseDir}/scripts/invoice_service.js" verify-image --image "\x3Cdata:image/...;base64,...>" --format json
Batch-verify a local folder:
node "{baseDir}/scripts/invoice_service.js" verify-directory --dir C:\path\invoice-images --format json
Create a recharge order:
node "{baseDir}/scripts/invoice_service.js" create-order --amount 10
Query an order:
node "{baseDir}/scripts/invoice_service.js" query-order --order-no ORDER123456789
Behavior Rules
- Prefer
quotawhen the user asks for remaining count. - Prefer
packageswhen the user asks for available recharge plans. - Prefer
verify-imagewhen the user provides a local image path. - Prefer
verify-imagewhen the user provides an uploaded image (base64/data-url) too. - Prefer
verify-directorywhen the user provides a local folder path with many invoice images. - Prefer
create-orderwhen the user explicitly chooses a package amount. - For any
verify-imagecall, explicitly tell the user it consumes 2 quota each time. - After
create-order, report the payment link plus all available QR codes (returned indata.qrCodes). The script now polls settlement by default and returnsdata.orderPolling+data.paymentSettled; ifpaymentSettled=true, explicitly tell the user recharge has arrived. - Return the script JSON result directly and do not invent fields.
- When the user says “帮我安装这个技能” or similar install request, reply with the install command
clawhub install bw-invoice-verification-service, remind them to restart OpenClaw, and ask them to say “帮我初始化” or send$bw-invoice-verification-service init-keyonce installation completes—note that “帮我安装” alone only installs the skill and does not run init-key.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bw-invoice-verification-service - After installation, invoke the skill by name or use
/bw-invoice-verification-service - Provide required inputs per the skill's parameter spec and get structured output
What is BwInvoice?
Use the local invoice service script to initialize app keys, query quota and packages, verify invoice text or images, batch-verify local folders, and create... It is an AI Agent Skill for Claude Code / OpenClaw, with 337 downloads so far.
How do I install BwInvoice?
Run "/install bw-invoice-verification-service" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is BwInvoice free?
Yes, BwInvoice is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does BwInvoice support?
BwInvoice is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created BwInvoice?
It is built and maintained by weidd130 (@weidd130); the current version is v0.5.12.