> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.golf/llms.txt
> Use this file to discover all available pages before exploring further.

# Plan & Billing

> Start, change, and pay for your Agent Golf plan, and manage payment methods, the billing email, and invoices.

Your organization's plan, payment methods, and invoices are on **Settings > Organization > Billing** (`/settings/organization/billing`). Agent Golf uses Stripe to take payments.

## Before you begin

* **View Organization Billing** to open **Settings > Organization > Billing**.
* **Manage Organization Billing** to start, change, or cancel the plan, and to change the payment methods, the billing contact, and the budget.
* With [per-workspace invoices](#invoices-per-workspace), **Manage Billing** in a workspace to change, cancel, or resume that workspace's plan.

For the roles that include these permissions, see [Default roles](https://docs.agent.golf/account/users.md#default-roles) and [Organization roles](https://docs.agent.golf/account/users.md#organization-roles).

## How billing works

* Agent Golf bills each calendar month (UTC) after the month ends. Nothing is charged when you start, change, or cancel a plan.
* A month's invoice bills that month's active contributors, your plan's fixed fees and paid SSO connections, and the usage above your plan's allowance.
* Stripe charges the default payment method for each invoice.
* Agent Golf emails each invoice, with its PDF, to the [billing email](#billing-email). To ask about an invoice, reply to that email.

When billing starts after the first day of a month, that month bills the active contributors, the fixed fees, and the SSO connections only for the billed days. The billed days run from the day that the plan starts or the trial ends to the month end. The included allowances scale by the same days. The invoice line names the workspace and shows the days, for example `Acme - Active Contributors x 2 - 2030-01, 11 of 31 days from 2030-01-21`.

For the prices, see the [pricing page](https://agent.golf/pricing/). To see the usage and the projected invoice of the month, see [Usage & Budget](https://docs.agent.golf/account/usage.md).

### Active contributors

An active contributor is a user whose [publishing key](https://docs.agent.golf/harnesses/overview.md#publishing-keys) sends session data that Agent Golf stores in a calendar month (UTC).

* A user counts once in a month, even when their harnesses use several vendor accounts.
* A user still counts for the months of their sessions after they leave the workspace or lose the **Connect Your Harness** permission.
* A session without a valid publishing key makes no active contributor.
* A user who publishes no session is not an active contributor.

## Trial

A new organization starts with a trial and no plan. While the trial runs, the plan card shows **No Plan** and **Trial ends on** with the date.

* To keep processing new data after the trial, [start a plan](#start-a-plan) before the trial ends. The trial continues to its end, and billing for the plan starts then.
* If the trial ends without a plan, processing of new data stops, and **Billing** shows **Trial Ended**.
* The trial has a usage allowance. If the trial goes above it, processing of new data stops, and **Billing** shows **Trial Allowance Used**. This limit holds until the trial ends, even when you have a plan. Processing starts again at the trial end if you have a plan then.

Agent Golf emails the billing email before the trial ends:

* Without a plan: 3 days and 1 day before the trial ends, and when it ends and processing stops.
* With a plan: 7 days before the trial ends, to tell you that billing for the plan starts then. If you cancel the plan before then, this email does not come.

Agent Golf also emails when the trial uses 75% and 90% of an allowance, and when the trial goes above it. The **Dashboard** also shows a notice.

Each GitHub organization gets one trial. If another Agent Golf organization connected a GitHub organization first, you can connect it only after you start a plan.

## Plans

To compare the plans, select **All plans** on **Billing**. The plans follow the order of the [pricing page](https://agent.golf/pricing/):

* **Starter** and **Team** are self-serve plans, priced for each active contributor each month. Each plan sets how many active contributors it allows.
* **Enterprise** is priced by contract, with invoicing, SCIM, and audit logs. Select **Request a Demo**. An Enterprise agreement sets the organization's billing, so contact Agent Golf to change it.

Each plan card shows the price, the active contributors that the plan allows, the allowance that it includes, how long it keeps session detail and pull request history, and its SSO connections and paid add-ons.

## Start a plan

1. On **Billing**, under **Choose a Plan**, or on **All Plans**, select the **Start** button of a plan, for example **Start Team**. The checkout page opens.
2. Check the billing email and the billing address.
3. Save a card, Link, or a US bank account.
4. Accept the terms, then select **Confirm subscription**.

The plan starts when Stripe saves the payment method. During a trial, billing for the plan starts when the trial ends. The first invoice comes after the first month with billed days ends.

A paid plan needs a billing address, because the address sets the sales tax. A United States address needs the street, the city, the state, and the postal code. For other countries, the country is enough.

## Change the plan

The plan order is Starter, then Team. A change to a later plan is an upgrade, and it applies now. A change to an earlier plan is a downgrade, and it applies at the start of the next month. During the trial, both apply now and cost nothing.

* **Upgrade:** on Starter, select **Upgrade now** on the upgrade card, then select **Confirm change**. The current month bills the old plan's prices up to the day before the upgrade and the new plan's prices from the day of the upgrade.
* **Downgrade:** on **All Plans**, select **Switch to Starter**, then select **Confirm change**. To keep your current plan, select **Undo** before the next month starts.

The **Confirm Plan Changes** dialog shows the effective date, the active contributor price, and the estimated invoice of the first month on the new plan, with its estimated tax.

You cannot change to a plan that allows fewer active contributors than your organization has this month. While an invoice is overdue, you cannot change or start a plan. Pay the invoice first.

## Payment methods and billing details

**Payment Methods** lists each saved card, Link, and US bank account. The **Default** method pays the invoices.

* To add a method, select **Add payment method**. The new method becomes the default.
* To change the default, select **Make default** on another method.
* To remove a method, select **Remove**. While your organization has a plan this month, make another method the default before you remove the default one.

**Billing Details** shows the billing contact: the contact's first and last name, the [billing email](#billing-email), the billing address, and the tax ID. Select **Edit** to change them. Choose the tax ID type, for example **EU VAT number**, and enter the tax ID. Invoices that Agent Golf sends after you save it show the tax ID.

**Billing Details** also holds the **Monthly Budget** and the **Category Budgets**. See [Monthly budget](https://docs.agent.golf/account/usage.md#monthly-budget) and [Category budgets](https://docs.agent.golf/account/usage.md#category-budgets).

## Billing email

Each organization has one billing email. It gets every billing email of the organization: the invoices, the receipts, the payment and card notices, and the trial, allowance, budget, and history retention notices. With per-workspace invoices, it also gets the invoice of each workspace.

When a user creates an organization, the billing email is that user's email. To change it, select **Edit** on the billing contact under **Billing Details**, enter the new email, for example `finance@example.com`, and save. The next billing email goes to the new address.

The copy of a US bank debit authorization goes to the email that the account holder enters in the bank form.

## Invoices

**Invoices** lists every invoice, newest first, with the month that it bills. Open an invoice to pay or download it. An invoice that shows **Pending** or **Processing** is not ready to pay yet.

### Invoices per workspace

By default, your organization gets one invoice each month: one plan and one billing state cover every workspace. An organization with several workspaces can switch to one invoice for each workspace and one for the organization. Each workspace then has its own plan, billing state, and invoice. The organization keeps its plan, which bills each user and contributor once. It also keeps the payment methods, the billing contact, the tax ID, and the budget.

1. On **Billing**, under **Invoices**, select **Switch to Per-Workspace Invoices**.
2. Choose the plan of each workspace, then select **Confirm Switch**.

The switch applies today: each workspace plan starts today, and the organization plan continues. Nothing is charged today.

* **Per-Workspace Plans** on **Billing** shows each workspace with its plan and billing state. **Plan for New Workspaces** sets the plan that a new workspace starts on.
* On a workspace's **Settings > Billing**, a user with **Manage Billing** changes, cancels, or resumes that workspace's plan.
* A workspace's overdue invoice stops the processing of new data for that workspace only.

To switch back, select **Switch to One Invoice**, choose the organization plan, and select **Confirm Switch**. The organization is on that plan from today, and the workspace plans end. Pay any overdue invoice and resume any pending cancellation first.

## Payment problems

| Notice | What to do |
| - | - |
| **Payment Failed** | Select **Pay invoice** or **Update payment method**. If the invoice stays unpaid after a grace period, processing of new data stops. |
| **Invoice Unpaid** | The grace period ended, and processing of new data stopped. Select **Pay invoice** to start processing again. |
| **Subscription Canceled** | Choose a plan to start again. If an invoice is overdue, select **Pay invoice** first. |

If an invoice stays overdue, billing can end the plan at the end of the month. The plan card then says so. You cannot resume this cancellation, so pay the invoice before the month ends to keep the plan.

## Cancel

1. In **Cancel Subscription**, select **Cancel subscription**. The dialog shows the date when the plan ends: the end of the current month, or the trial end during the trial.
2. Select **Cancel subscription** again to confirm, or select **Keep plan**.

The plan stays active until that date, and the plan card shows **Ends on** with the date. The billed days until then are invoiced after the month ends. To keep the plan, select **Resume**, then **Resume subscription**.

After the plan ends, **Billing** shows **Subscription Canceled**, and processing of new data stops. A cancel during the trial ends the plan at the trial end, so nothing is invoiced. A new plan after that starts no new trial.

After a trial or a plan ends, Agent Golf deletes the usage data of your organization on the date that **Billing** shows. See [Data deletion after a plan ends](https://docs.agent.golf/account/data-retention.md#data-deletion-after-a-plan-ends).

For billing questions, email [billing@agent.golf](mailto:billing@agent.golf).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.