---
title: "Preview the billing effect of a target total seat count"
method: POST
path: "/subscriptions/licenses/preview"
tags: ["Subscriptions"]
---

# Preview the billing effect of a target total seat count

`POST /subscriptions/licenses/preview`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/subscriptions/licenses/preview`
- Auth: HTTP bearer

Company-admin only, no side effect. AF-57 (billing v2). An increase previews the immediate Stripe proration charge; a reduction previews the scheduled change with nothing due today.

## Request body

- object
  - `quantity` integer, required: Target TOTAL seat count.

## Response `200`

- object
  - `currentQuantity` integer
  - `newQuantity` integer
  - `deltaQuantity` integer
  - `immediate` boolean
  - `dueTodayCents` integer
  - `currency` string
  - `nextInvoiceAmountCents` integer
  - `nextInvoiceDate` string, date-time
  - `effectiveAt` string, date-time: Same value as nextInvoiceDate — meaningful (non-immediate) for a reduction.
  - `unitAmountCents` integer

## Other responses

- `400`: quantity must be a positive integer / NO_CHANGE
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `403`: The caller does not have the required role/permission.
- `404`: No company / No active subscription
- `500`: Stripe subscription has no line items

---

[API](https://skmtc.dev/atako/apis/atako-api.md) · [All operations](https://skmtc.dev/atako/apis/atako-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atako/apis/atako-api/revisions/aa555c56fbd7?raw)
