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

# Create vendor

> Create a new vendor by providing basic details like name and country.

Use this endpoint to create a new vendor record. At minimum, `name` and `country` are required.

You can also provide tax ID and exemption status, which are useful for compliance tracking.


## OpenAPI

````yaml POST /vendors
openapi: 3.0.1
info:
  title: Antei API Reference
  description: >-
    Programmatic access to Antei’s platform. Use this API to manage core objects
    and retrieve taxation insights.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Antei Developer Support
    email: support@antei.com
    url: https://antei.com
servers:
  - url: https://api.antei.com
security:
  - bearerAuth: []
paths:
  /vendors:
    post:
      tags:
        - Vendors
      summary: Create vendor
      description: Create a new vendor by providing required fields.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewVendor'
      responses:
        '201':
          description: Vendor created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Vendor'
components:
  schemas:
    NewVendor:
      type: object
      required:
        - name
        - country
      properties:
        name:
          type: string
        country:
          type: string
        tax_id:
          type: string
        exempt:
          type: boolean
        email:
          type: string
          format: email
    Vendor:
      type: object
      required:
        - id
        - name
        - country
      properties:
        id:
          type: string
          description: Unique identifier for the vendor
        name:
          type: string
          description: Vendor's legal or trading name
        country:
          type: string
          description: Country of vendor operation
        tax_id:
          type: string
          description: Vendor's tax identification number
        exempt:
          type: boolean
          description: Indicates whether the vendor is tax exempt
        email:
          type: string
          format: email
          description: Vendor's contact email
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````