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

> ## Agent Instructions
> Melso MCP: https://mcp.melso.ai/mcp (OAuth; one company per connection). Documentation-search MCP: https://docs.melso.ai/mcp; it does not act on customer accounts. Melso API: https://api.melso.ai/v1, invoicing only, with a company API key.
>
> Use the live tool list and respect company membership. Ask the person to approve the exact invoice or tax return version in the signed-in app. Melso's professionals prepare and file included returns after approval; an AI assistant does not file. A prepared file or an approval is not evidence of filing: only the AEAT's reference and receipt are. Keep credentials out of chat and logs.

# API de partners: crear una SL o un autónomo — Partner API

> Open companies in Melso for your customers: incorporate an S.L., register an autónomo, or get a ready-made S.L. in hours. Early access.

> [!NOTE]
>
> **Early access.** Partner keys are issued on request. Write to
> [hello@melso.ai](mailto:hello@melso.ai) with what you build and how many
> customers you serve.

The Partner API lets your platform open companies in Melso for your customers.
Melso's professionals do the paperwork; you follow the status.

| Endpoint | What it does |
| - | - |
| [Create a company](https://docs.melso.ai/api/partner/reference/create-company.md) | Incorporate an S.L., register an autónomo, or bring an existing company. |
| [Create a company express](https://docs.melso.ai/api/partner/reference/create-company-express.md) | Get an S.L. that Melso already incorporated, confirmed within a few business hours. |
| [Get a company](https://docs.melso.ai/api/partner/reference/get-company.md) | Follow it from `requested` to `ready`. |

## How it works

**1. You create the company**

Send the owner and what they need. Melso answers `202` with the company,
`requested`.

**2. Melso does the paperwork**

Melso's professionals incorporate the S.L. or register the autónomo. The owner
signs in to Melso to approve what needs a person.

**3. The company is ready**

It has its legal name and NIF. From then on, its owner can invoice from your
product with the [Melso API](https://docs.melso.ai/api/overview.md).

Partner keys use the same base URL, error format and `Idempotency-Key` as the
[Melso API](https://docs.melso.ai/api/conventions.md).


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