# cancel_sent_invoice

Cancel a sent invoice

Agent View of the PolicyLayer registry record for `cancel_sent_invoice`. HTML page: https://policylayer.com/tools/paypal/cancel-sent-invoice

## Facts

- Tool: `cancel_sent_invoice`
- Server: PayPal (`@modelcontextprotocol/server-paypal`) — https://policylayer.com/tools/paypal.md
- Install: `npx -y @modelcontextprotocol/server-paypal`
- Homepage: https://github.com/paypal/paypal-mcp-server
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity verified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cancel_sent_invoice",
    "arguments": {}
  }
}
```

## Why cancel_sent_invoice is rated Critical

Cancelling a sent invoice is an irreversible action that voids a financial document already delivered to a recipient. This cannot be undone (the invoice transitions to a cancelled state), making it Destructive. The financial dimension elevates severity, but since no money is directly moved, Destructive is the most appropriate category over Financial.

From the tool's own definition: "cancel_sent_invoice — 'Cancel a sent invoice'"

## Use case

AI agents call cancel_sent_invoice to permanently remove resources in PayPal, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches PayPal:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "cancel_sent_invoice"
  ]
}
```

## Other tools on PayPal (29)

- `accept_dispute_claim` — Financial — https://policylayer.com/tools/paypal/accept-dispute-claim.md
- `cancel_subscription` — Financial — https://policylayer.com/tools/paypal/cancel-subscription.md
- `create_invoice` — Financial — https://policylayer.com/tools/paypal/create-invoice.md
- `create_order` — Financial — https://policylayer.com/tools/paypal/create-order.md
- `create_refund` — Financial — https://policylayer.com/tools/paypal/create-refund.md
- `create_subscription` — Financial — https://policylayer.com/tools/paypal/create-subscription.md
- `pay_order` — Financial — https://policylayer.com/tools/paypal/pay-order.md
- `send_invoice` — Financial — https://policylayer.com/tools/paypal/send-invoice.md
- `generate_invoice_qr_code` — Read — https://policylayer.com/tools/paypal/generate-invoice-qr-code.md
- `get_dispute` — Read — https://policylayer.com/tools/paypal/get-dispute.md
- `get_invoice` — Read — https://policylayer.com/tools/paypal/get-invoice.md
- `get_order` — Read — https://policylayer.com/tools/paypal/get-order.md
- `get_refund` — Read — https://policylayer.com/tools/paypal/get-refund.md
- `get_shipment_tracking` — Read — https://policylayer.com/tools/paypal/get-shipment-tracking.md
- `list_disputes` — Read — https://policylayer.com/tools/paypal/list-disputes.md
- `list_invoices` — Read — https://policylayer.com/tools/paypal/list-invoices.md
- `list_products` — Read — https://policylayer.com/tools/paypal/list-products.md
- `list_subscription_plans` — Read — https://policylayer.com/tools/paypal/list-subscription-plans.md
- `list_transactions` — Read — https://policylayer.com/tools/paypal/list-transactions.md
- `show_product_details` — Read — https://policylayer.com/tools/paypal/show-product-details.md
- `show_subscription_details` — Read — https://policylayer.com/tools/paypal/show-subscription-details.md
- `show_subscription_plan_details` — Read — https://policylayer.com/tools/paypal/show-subscription-plan-details.md
- `create_product` — Write — https://policylayer.com/tools/paypal/create-product.md
- `create_shipment_tracking` — Write — https://policylayer.com/tools/paypal/create-shipment-tracking.md
- `create_subscription_plan` — Write — https://policylayer.com/tools/paypal/create-subscription-plan.md
- `send_invoice_reminder` — Write — https://policylayer.com/tools/paypal/send-invoice-reminder.md
- `update_plan` — Write — https://policylayer.com/tools/paypal/update-plan.md
- `update_product` — Write — https://policylayer.com/tools/paypal/update-product.md
- `update_subscription` — Write — https://policylayer.com/tools/paypal/update-subscription.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=paypal · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/paypal
