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

> ## Agent Instructions
> Authenticate with the raw API key in the Authorization header. Never add a Bearer prefix.
> Use the sandbox base URL https://api.test.doola.com and a dk_test_ key in examples unless the user asks for production.
> Send an Idempotency-Key header on POST /v1/partner/customers, POST /v1/partner/companies, POST /v1/partner/companies/import, POST /v1/partner/companies/{companyId}/services and POST /v1/partner/companies/{companyId}/documents. No other endpoint takes one.
> Every response is wrapped as {payload, error}. Read fields from payload and branch on error.code, never on the message.
> Drive formation progress from webhooks plus a reconciliation sweep, never a polling loop.
> Embedded SDK (@doola/js): the dk_ key stays on the server and mints customer sessions; the browser gets only a pk_ key and the session. onFormed carries only companyId and can fire more than once. Before charging, read the company with the dk_ key, require formationSubmissionStatus AWAITING_PAYMENT, check the owner's email, and price on the server. Then POST payment-confirmed, which answers 200 with an empty body, and replace the SDK element with a new doola.create() (never append a second one).
> The doola Formation MCP server at https://mcp.doola.com is for founders forming their own company with their own doola account. Platform partners integrate the Partner API or the Embedded SDK. The /mcp endpoint on this docs site only searches these docs.
> Affiliates refer founders to doola with a PartnerStack referral link and coupon code, or with two doola-branded iframe widgets: the Demo Booking Widget (app.doola.com/embed/book-demo?link=<referral link>) and the Company Formation Widget (app.doola.com/embed/partner/<partner ID>). The widgets need no API key and are not the Embedded SDK. Copy the snippets exactly as documented, never add a sandbox attribute to the formation widget iframe.
> For a full capability summary with the rules above, read https://docs.doola.com/skill.md.

# Commissions, discounts and payouts

> How you earn, how your audience's discount works, how payouts reach you, and the doola plans your audience can choose.

> [!NOTE]
>
> **Your terms, your agreement.** Commission, audience discount and payout details vary by partner. Yours are in your partner agreement and your PartnerStack account. If you're not sure what they are, ask your account manager.

## How you earn

You earn when a customer you referred pays for a doola plan. A referral counts when the customer arrives through your referral link, or through a widget set up with your referral link or partner ID:

* **Referral link:** every visitor you send is tracked in PartnerStack from their first click.
* **Demo Booking Widget:** the booking carries your referral link, so a visitor who books a call and becomes a doola customer within 90 days, with the same email, is credited to you.
* **Company Formation Widget:** every new doola account created in the widget is recorded against your partner ID, and doola adds it to your PartnerStack account.

## Your audience's discount

* Your audience gets an **exclusive discount** with your coupon code.
* The discount applies to the customer's first year. Renewals are at the regular price.
* Want to offer something different to your audience? Talk to your account manager about adjusting your offer.

## Payouts

* Commissions are tracked and paid through **PartnerStack**.
* Set up your payout method in PartnerStack so payments go through without delays.
* See every click, signup, customer and commission in your PartnerStack dashboard.

## doola plans

Current prices for every plan are on [doola.com/pricing](https://www.doola.com/pricing/). Check them there before you quote a price to your audience.

| Plan | What's included |
| - | - |
| **Starter** | US LLC formation, EIN, registered agent, virtual address and operating agreement. Registered agent and virtual address renew yearly. |
| **Tax and Compliance** | Everything in Starter, plus doola Bookkeeping, state and federal business tax filings, sales tax registration, a dedicated account manager and a free CPA consultation. Billed annually. |
| **Business-in-a-Box** | Everything in Tax and Compliance, plus a dedicated bookkeeper, monthly financial statements and estimated quarterly taxes. |

## Sales and promotions

When doola runs a sitewide sale, the sale price may replace your coupon code at checkout, since codes can't always be combined. Your referral link still credits the customer to you. Your account manager will let you know ahead of major sales.

## Free consultation

Anyone you refer can book a free consultation with doola's team before they buy. It's a great next step for audiences who want to ask questions first. See the [Demo Booking Widget](https://docs.doola.com/affiliates/demo-booking-widget.md).


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