---
title: "Crear proveedor"
method: POST
path: "/api/v1/suppliers"
tags: ["API"]
---

# Crear proveedor

`POST /api/v1/suppliers`

Crea un proveedor para usarlo en compras, cuentas corrientes y reportes.

## Headers

- `Idempotency-Key` string, required

## Request body

- ApiSupplierMutationRequest
  - `name` string, required
  - `company_name` string, nullable
  - `description` string, nullable
  - `email` string, email, nullable
  - `phone` string, nullable
  - `tax_id` string, nullable
  - `tax_id_type` 'CUIL/CUIT' | 'DNI'
  - `tax_category` 'registered_vat_taxpayer' | 'final_consumer' | 'monotributo_taxpayer' | 'vat_exempt' | 'vat_not_applicable'
  - `country` string
  - `province` string
  - `city` string, nullable
  - `address` string, nullable
  - `apartment` string, nullable
  - `postal_code` string, nullable
  - `payment_term_id` string, nullable
  - `payment_term_days` integer, nullable — Cantidad de días hasta el vencimiento. Usá 0 para Contado. Se prefiere sobre paymentTermId.
  - `is_active` boolean

## Response `200`

Proveedor creado exitosamente

- ApiSupplierCreateResponse
  - `request_id` string, required
  - `data` object, required
    - `supplier` ApiSharedObject7034e0d593, required
      - `object` 'supplier', required
      - `id` string, uuid, required
      - `name` string, required
      - `company_name` string, nullable, required
      - `description` string, nullable, required
      - `email` string, nullable, required
      - `phone` string, nullable, required
      - `tax_id` string, nullable, required
      - `tax_id_type` string, nullable, required
      - `tax_category` string, nullable, required
      - `payment_term_id` string, nullable, required
      - `payment_term_days` integer, nullable, required — Cantidad de días hasta el vencimiento. Usá 0 para Contado. Se prefiere sobre paymentTermId.
      - `is_active` boolean, nullable, required
      - `country` string, nullable, required
      - `province_id` string, nullable, required
      - `city` string, nullable, required
      - `address` string, nullable, required
      - `apartment` string, nullable, required
      - `postal_code` string, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `idempotent_replay` boolean, required
  - `warnings` unknown[], required
    - unknown

## Other responses

- `400` — Solicitud inválida
- `401` — API key faltante o inválida
- `403` — Scopes insuficientes
- `429` — Límite de solicitudes excedido para la organización
- `500` — Error interno del servidor

---

[API](https://skmtc.net/lapyme/apis/la-pyme-api.md) · [All operations](https://skmtc.net/lapyme/apis/la-pyme-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lapyme/la-pyme-api/versions/414f57f28498/schema)
