server-invoice-check
v1.0.0
Published
MCP server for invoice check
Readme
Invoice Check MCP Server
A Model Context Protocol (MCP) server implementation that verifies invoice authenticity and compliance through API integration.
Features
- Invoice Verification: Validate invoice data accuracy and legitimacy
- Comprehensive Details: Returns complete invoice information upon verification
- Easy Integration: Designed for use with Claude AI assistants
Tool
- invoice_verification
- Verify invoice authenticity and compliance
- Inputs:
invoiceNumber(string, required): The unique invoice number or identifierbillingDate(string, required): The issue date of the invoice in YYYY-MM-DD formatcheckCode(string, optional): A unique code used to verify the authenticityinvoiceCode(string, optional): A unique identifier assigned for trackingtotalAmount(string, optional): The total amount of the invoice
Configuration
API Key Setup
- Obtain your API key from the Baiwang service
- Set the
INVOICE_CHECK_API_KEYenvironment variable with your API key
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"invoice-check": {
"command": "npx",
"args": [
"-y",
"@baiwangmcp/server-invoice-check"
],
"env": {
"INVOICE_CHECK_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Installation
npm install @baiwangmcp/server-invoice-checkUsage
When configured properly with Claude, you can ask the assistant to verify an invoice by providing the required information:
Example prompt: "Can you verify this invoice for me? The invoice number is 12345678, dated 2023-05-15, with check code ABC123, invoice code XYZ789, and a total amount of 1250.00."
Response Format
The server returns comprehensive invoice details including:
- Basic invoice identifiers (number, code, type)
- Date information
- Purchaser and seller details
- Amount and tax information
- Verification status
Development
Build
npm run buildWatch mode for development
npm run watchLicense
This MCP server is licensed under the MIT License. See the LICENSE file for details.
About
Created by 百望数科 (Baiwang) - https://baiwang.com
