---
title: "Create Party"
method: POST
path: "/erp/parties"
tags: ["erp-parties"]
---

# Create Party

`POST /erp/parties`

Create a party (vendor / customer / both). RUT + entity_id must be unique.

## Request body

- PartyCreate
  - `address` object, nullable
  - `country` string
  - `email` string, nullable
  - `entity_id` integer, required
  - `legal_name` string, nullable
  - `metadata` object
  - `name` string, required
  - `party_type` string
  - `phone` string, nullable
  - `tax_id` string, required
  - `tax_id_type` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/agents-squads/apis/squads-api.md) · [All operations](https://skmtc.dev/agents-squads/apis/squads-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agents-squads/squads-api/revisions/3812730a1cb4/schema)
