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

# Create currency

> Create a new currency



## OpenAPI

````yaml /api-reference/openapi.json post /admin/api/v1/support/currencies
openapi: 3.0.3
info:
  title: ARUKZ ERP API
  version: v1
  description: >-
    The REST API of ARUKZ ERP: sales, purchases, inventory, products, partners,
    accounts, projects and reference data. Every call acts as the user whose
    token it carries and sees only that user's company.
servers:
  - url: https://erp.arukz.com
    description: ARUKZ ERP (hosted)
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Sign in for a token and sign out.
  - name: Sales
    description: Quotations, sales orders and their lines, deliveries and invoices.
  - name: Purchases
    description: Purchase orders, receipts, bills, agreements and vendor price lists.
  - name: Inventory
    description: >-
      Warehouses, locations, lots, stock quantities, receipts, deliveries,
      transfers and scrap.
  - name: Products
    description: 'The product catalogue: categories, attributes, variants and packaging.'
  - name: Partners
    description: Customers, vendors, contacts, addresses and bank accounts.
  - name: Accounts
    description: >-
      Invoices, bills, credit notes, refunds, taxes, journals and the chart of
      accounts.
  - name: Projects
    description: Projects, tasks, stages and milestones.
  - name: Reference data
    description: Currencies and rates, banks, countries, states and units of measure.
paths:
  /admin/api/v1/support/currencies:
    post:
      tags:
        - Reference data
      summary: Create currency
      description: Create a new currency
      operationId: reference-data-currencies-create-currency
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: >-
                    Currency name (max 255 characters). Must not be greater than
                    255 characters.
                  example: USD
                symbol:
                  type: string
                  description: >-
                    Currency symbol (max 10 characters). Must not be greater
                    than 10 characters.
                  example: $
                iso_numeric:
                  type: string
                  description: >-
                    ISO numeric code (max 3 characters). Must not be greater
                    than 3 characters.
                  nullable: true
                  example: '840'
                decimal_places:
                  type: integer
                  description: >-
                    Number of decimal places (0-10). Must be at least 0. Must
                    not be greater than 10.
                  example: 2
                full_name:
                  type: string
                  description: >-
                    Full currency name (max 255 characters). Must not be greater
                    than 255 characters.
                  nullable: true
                  example: United States Dollar
                rounding:
                  type: number
                  description: Rounding precision (minimum 0). Must be at least 0.
                  nullable: true
                  example: 0.01
                active:
                  type: boolean
                  description: Whether the currency is active.
                  example: false
              required:
                - active
                - decimal_places
                - name
                - symbol
      responses:
        '201':
          description: Created
          content:
            application/json:
              example:
                data:
                  id: 1
                  name: USD
                  symbol: $
                  iso_numeric: 840
                  decimal_places: 2
                  full_name: United States dollar
                  rounding: '0.01'
                  active: true
                  created_at: '2025-04-07T12:34:34.000000Z'
                  updated_at: '2025-04-07T12:34:34.000000Z'
                message: Currency created successfully.
        '401':
          description: Unauthenticated
          content:
            application/json:
              example:
                message: Unauthenticated.
        '422':
          description: Validation error
          content:
            application/json:
              example:
                message: The given data was invalid.
                errors:
                  name:
                    - The name field is required.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API token from [Sign in](/api-reference/authentication), sent as
        `Authorization: Bearer <token>`. Tokens last 30 days.

````

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