Counterfoil
Read stored EU e-invoice rule notes and the invoice field map. Not a validator.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"counterfoil": {
"url": "https://einvoicegoblin.com/mcp"
}
}
}원격 엔드포인트
https://einvoicegoblin.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
🟢get_rule(id)
Read one stored EU e-invoice rule by id. Returns the stored statement, context, test, plain reading, fix, and source URL. Does not check an invoice.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A stored rule id, such as BR-01 or BR-IC-05.",
"pattern": "^[A-Za-z0-9-]+$",
"maxLength": 40
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢search_rules(query, bt, group)
Find stored rules by words, a BT code, or a group. Each hit returns the stored statement, plain reading, fix, and source URL. At most 100 hits. Does not check an invoice.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words matched against the id, statement, reading, fix, context, and test. Every word must match. Case-insensitive.",
"maxLength": 200
},
"bt": {
"type": "string",
"description": "A business term code such as BT-24, matched as a whole token.",
"pattern": "^BT-\\d+$"
},
"group": {
"type": "string",
"description": "One stored group.",
"enum": [
"xrechnung",
"payment",
"totals",
"standard-rated",
"zero-rated",
"export",
"intra-community",
"reverse-charge",
"exemption",
"not-subject",
"igic",
"ipsi",
"split-payment",
"code-list",
"decimal",
"excluded",
"document",
"syntax",
"datatype"
]
}
},
"additionalProperties": false
}🟢explain_error(text)
Read a stored rule named in a rule id or a validator message. Returns the stored statement, plain reading, fix, and source URL when a stored rule matches. Does not check an invoice.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "A rule id such as BR-01, or a validator message that quotes one.",
"minLength": 1,
"maxLength": 8000
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢check_invoice(xml)
Read a UBL Invoice XML slice of at most 60000 characters. Returns the business terms that slice writes, the field-map gaps, and one stored note when BR-DE-15 finds no non-empty buyer reference (BT-10). evaluation is false: no Schematron runs. The result does not say the invoice passed. The XML is not stored. A larger file is the raw body of POST /v1/invoices/check, up to 1048576 bytes.
입력 스키마
{
"type": "object",
"properties": {
"xml": {
"type": "string",
"description": "UBL Invoice XML. At most 60000 characters.",
"maxLength": 60000
}
},
"required": [
"xml"
],
"additionalProperties": false
}커뮤니티
증거