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

# Invoicing & payments

> Create and fund milestones, approve completed work, download invoices, and track employer payment history.

OpenTrain AI uses a milestone-based payment model. As an employer, you fund work in stages, review completed milestones, and approve payment release when the work is ready.

Hiring an AI trainer creates the contract and the first milestone. After that, the contract tab is where you manage funded work, add future milestones, approve completed work, and keep payment history tied to the job.

## Employer milestone workflow

Milestones are discrete units of funded work tied to a contract. They live in the **Contract** tab for each hired AI trainer.

<Frame caption="The Milestone Timeline inside an employer Contract tab. Active & Funded milestones show the current payment action, Not Funded milestones remain listed until they are funded, and paid milestones show the approved amount.">
  <img src="https://mintcdn.com/opentrainai/HyBm-2LMZnEub-L_/images/screenshots/payments/milestones-contract-tab-employer-desktop.png?fit=max&auto=format&n=HyBm-2LMZnEub-L_&q=85&s=40a5863444f5f48176cd3957cf08972c" alt="Employer Contract tab showing the Milestone Timeline with Paid, Active & Funded, and Not Funded milestone rows, dollar amounts, and milestone actions." width="1280" height="800" data-path="images/screenshots/payments/milestones-contract-tab-employer-desktop.png" />
</Frame>

### Creating the first milestone

The first milestone is created during the hire flow. The amount and description you enter while hiring become the initial funded milestone for that AI trainer.

### Adding later milestones

For subsequent work, go to the **Contract** tab of the job details view and add a new milestone from there.

Each milestone requires:

* A description of the deliverable
* An amount (in USD)
* An optional due date

<Frame caption="The Add Milestone modal is where you define the next funded work unit before payment is collected.">
  <img src="https://mintcdn.com/opentrainai/HyBm-2LMZnEub-L_/images/screenshots/payments/add-milestone-modal-employer-desktop.png?fit=max&auto=format&n=HyBm-2LMZnEub-L_&q=85&s=d227ac78dbc6617dfd58de49a5241cec" alt="Employer Add Milestone modal with fields for milestone name, description, amount, and due date." width="1280" height="800" data-path="images/screenshots/payments/add-milestone-modal-employer-desktop.png" />
</Frame>

### Funding a milestone

The first milestone is funded during the hire flow. Later milestones can be created before they are funded; they remain **Not Funded** until payment is collected.

When you fund a milestone, OpenTrain AI charges your payment method through Stripe and marks the milestone as funded on the contract. The AI trainer sees the milestone as **Active & Funded** and can begin work.

Milestones in **Not Funded** or **Active & Funded** status are shown in the **Contract** tab. Jobs with unresolved milestones cannot be archived.

### Approving a milestone

Once the AI trainer marks a milestone as complete, you receive a notification to review and approve. After you approve:

1. OpenTrain starts payout to the AI trainer's connected payout method
2. The milestone status updates to **Paid**
3. A payout notification is sent to the AI trainer

If the AI trainer still needs to finish payout setup, or if Stripe reports a retryable transfer condition, OpenTrain keeps the payout pending and prompts the AI trainer to complete setup from **Settings -> Payouts** before the payout can finish.

<Warning>
  Approve milestones only after you have verified the delivered work. Released funds are not self-serve reversible in the platform; contact support if you need help with a payment dispute or mistaken approval.
</Warning>

<Frame caption="Use Approve & Release Payment from the Active & Funded milestone action state when work is ready to be approved.">
  <img src="https://mintcdn.com/opentrainai/HyBm-2LMZnEub-L_/images/screenshots/payments/milestones-approve-release-employer-desktop.png?fit=max&auto=format&n=HyBm-2LMZnEub-L_&q=85&s=0ea8d4292cb5dafc6c24a497b3777fb9" alt="Employer Contract tab showing the Approve & Release Payment action for an Active & Funded milestone in the Milestone Timeline." width="1280" height="800" data-path="images/screenshots/payments/milestones-approve-release-employer-desktop.png" />
</Frame>

## Invoices

To view and download employer invoices, open **Reports** from the employer dashboard.

<Frame caption="The Reports page lists invoice rows with project, billing type, payment status, and download actions. Paid rows show the charged amount; pending rows may show a dash until the amount is available.">
  <img src="https://mintcdn.com/opentrainai/HyBm-2LMZnEub-L_/images/screenshots/employers/reports-invoices-desktop.png?fit=max&auto=format&n=HyBm-2LMZnEub-L_&q=85&s=aa922580be7bef274c2d53079c07197c" alt="Employer Reports page showing an Invoices table with project names, billing type, amounts or dashes, payment statuses, and Download buttons for invoice PDFs." width="1280" height="800" data-path="images/screenshots/employers/reports-invoices-desktop.png" />
</Frame>

### Employer funding invoice

Every time you fund a milestone, OpenTrain AI generates an employer invoice. You can view or download this invoice from the **Reports** section of your dashboard. The invoice includes:

* Project name and milestone description
* Billing type and amount
* Payment status

### AI trainer payout invoice

When a milestone is approved and payout starts, the AI trainer receives a payout invoice. As an employer, you may need to reference this invoice when reconciling payments with clients.

## Stripe billing setup

OpenTrain AI processes all employer payments through Stripe. Before you can fund your first milestone, you need a valid payment method attached to your account.

<Steps>
  <Step title="Go to billing settings">
    Navigate to **Employer Settings → Billing** (or your agency plan settings if you are on an agency plan).
  </Step>

  <Step title="Add a payment method">
    Enter your card or bank details. OpenTrain AI uses Stripe for secure payment processing — your payment information is stored by Stripe, not by OpenTrain AI.
  </Step>

  <Step title="Subscribe to a plan (if required)">
    Agency and recruiting-configured accounts may require a subscription plan. Select the appropriate plan and confirm billing. Subscription billing is separate from individual milestone charges.
  </Step>
</Steps>

## Payment history

To view past payments, go to the **Contract** tab for any job. Each approved milestone shows the amount, date, and payment status. For a printable record, use the invoice links in the **Reports** section of your dashboard, or share the AI trainer's payout invoice with your client.
