Invoice Preflight

Reconciles UBL, PDF, and image invoices with purchase details and returns evidence.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
73%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~2,546トークン数(ツール定義)
~6.8 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.99%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "invoice-preflight": {
      "url": "https://mcp.dropenginehq.com/api/paid-mcp"
    }
  }
}

リモートエンドポイント

https://mcp.dropenginehq.com/api/paid-mcpstreamable-http
https://mcp.dropenginehq.com/api/invoice-mcpstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢invoice_preflight_quote(document_type, page_count, file_size_bytes)

FREE, no wallet or document upload: choose the lowest priced Invoice Preflight tool from document type, PDF page count, and optional byte size. Call this before a paid invoice tool when the tier is uncertain. It does not inspect or validate the document.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_type": {
      "type": "string",
      "enum": [
        "ubl_xml",
        "pdf",
        "image"
      ]
    },
    "page_count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "file_size_bytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "document_type"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ready",
        "needs_page_count",
        "unsupported",
        "temporarily_unavailable"
      ]
    },
    "recommended_tool": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "invoice_preflight",
            "invoice_preflight_10_pages",
            "invoice_preflight_50_pages"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "price_usdc": {
      "type": [
        "string",
        "null"
      ]
    },
    "network": {
      "type": "string",
      "enum": [
        "eip155:8453",
        "eip155:84532"
      ]
    },
    "reason": {
      "type": "string"
    },
    "no_payment_taken": {
      "type": "boolean",
      "const": true
    },
    "document_not_inspected": {
      "type": "boolean",
      "const": true
    },
    "final_validation_on_paid_call": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "status",
    "recommended_tool",
    "price_usdc",
    "network",
    "reason",
    "no_payment_taken",
    "document_not_inspected",
    "final_validation_on_paid_call"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢invoice_preflight(document_xml, document_url, document_base64, mime_type, expected)

Paid invoice check ($0.065 USDC on Base): UBL XML or complete PDF/image invoices up to 3 pages. Compares expected purchase fields and line items; returns evidence, amount checks and match/discrepancy/needs_review. No payment or bookkeeping action is taken.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_xml": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000000
    },
    "document_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "document_base64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13500000
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/png",
        "image/jpeg"
      ]
    },
    "expected": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "purchase_order": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "subtotal": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "tax": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "total": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "line_items": {
          "minItems": 1,
          "maxItems": 1000,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "amount": {
                "type": "string",
                "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "match",
        "discrepancy",
        "needs_review"
      ]
    },
    "invoice": {
      "type": "object",
      "properties": {
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "supplier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "purchase_order": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtotal": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": [
            "string",
            "null"
          ]
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": "string"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "number",
        "supplier_name",
        "purchase_order",
        "currency",
        "subtotal",
        "tax",
        "total",
        "line_items"
      ],
      "additionalProperties": false
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "match",
              "discrepancy",
              "needs_review"
            ]
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "calculated": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source",
          "text"
        ],
        "additionalProperties": false
      }
    },
    "source_sha256": {
      "type": "string"
    },
    "pages_processed": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "decision",
    "invoice",
    "checks",
    "evidence",
    "source_sha256",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪invoice_preflight_10_pages(document_url, document_base64, mime_type, expected)

Paid invoice OCR ($0.13 USDC on Base): process complete PDF/image invoices up to 10 pages. Oversized PDFs are rejected before OCR.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "document_base64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13500000
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/png",
        "image/jpeg"
      ]
    },
    "expected": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "purchase_order": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "subtotal": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "tax": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "total": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "line_items": {
          "minItems": 1,
          "maxItems": 1000,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "amount": {
                "type": "string",
                "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "match",
        "discrepancy",
        "needs_review"
      ]
    },
    "invoice": {
      "type": "object",
      "properties": {
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "supplier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "purchase_order": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtotal": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": [
            "string",
            "null"
          ]
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": "string"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "number",
        "supplier_name",
        "purchase_order",
        "currency",
        "subtotal",
        "tax",
        "total",
        "line_items"
      ],
      "additionalProperties": false
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "match",
              "discrepancy",
              "needs_review"
            ]
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "calculated": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source",
          "text"
        ],
        "additionalProperties": false
      }
    },
    "source_sha256": {
      "type": "string"
    },
    "pages_processed": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "decision",
    "invoice",
    "checks",
    "evidence",
    "source_sha256",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪invoice_preflight_50_pages(document_url, document_base64, mime_type, expected)

Paid invoice OCR ($0.475 USDC on Base): process complete PDF/image invoices up to 50 pages. Oversized PDFs are rejected before OCR.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "document_base64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13500000
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/png",
        "image/jpeg"
      ]
    },
    "expected": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "purchase_order": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "subtotal": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "tax": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "total": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "line_items": {
          "minItems": 1,
          "maxItems": 1000,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "amount": {
                "type": "string",
                "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "match",
        "discrepancy",
        "needs_review"
      ]
    },
    "invoice": {
      "type": "object",
      "properties": {
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "supplier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "purchase_order": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtotal": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": [
            "string",
            "null"
          ]
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": "string"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "number",
        "supplier_name",
        "purchase_order",
        "currency",
        "subtotal",
        "tax",
        "total",
        "line_items"
      ],
      "additionalProperties": false
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "match",
              "discrepancy",
              "needs_review"
            ]
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "calculated": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source",
          "text"
        ],
        "additionalProperties": false
      }
    },
    "source_sha256": {
      "type": "string"
    },
    "pages_processed": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "decision",
    "invoice",
    "checks",
    "evidence",
    "source_sha256",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 3 件