# GET /invoices/subscription-preview

**Resource:** [Invoices](./invoices.md)  
**MCP tool:** `preview_invoice_subscription`  
**Scopes:** `invoices:read`  
**Write operation:** no

Agencies: what the customer’s TrustPager subscription on an invoice for this opportunity would be, before the invoice is made (the Send window shows the same). available true gives their workspace, the users (seats, their workspace’s current users), the price per user and the monthly total in cents, and pay_route: one_step (one checkout takes the invoice and the subscription), card (one Pay button: the card pays the subscription to TrustPager and the invoice to you), or separate (bank transfer or Xero: the invoice is paid your way, the subscription with its own button on the same pay card). available false gives the reason and a message, e.g. no_workspace when the customer has no TrustPager workspace yet (the invoice still carries it: paying keeps their card and it starts when their workspace is set up) or subscribed when they already pay for TrustPager (left off). create_invoice adds it when the opportunity has the TrustPager subscription line; its quantity is the users.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `opportunity_id` | query | string | yes | The opportunity the invoice is for. Its Company must be linked to the customer’s TrustPager workspace. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/invoices/subscription-preview"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`