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

# /onrc/companies

> Get Romanian company identity and VAT/fiscal record by fiscal code (CUI)

**Price:** 20 credits

**⚠️ Common errors:** 412: No Romanian company found for the given CUI



## OpenAPI

````yaml /openapi/company-registries.json post /api/onrc/companies
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/onrc/companies:
    post:
      tags:
        - /onrc
      summary: /onrc/companies
      description: |-
        Get Romanian company identity and VAT/fiscal record by fiscal code (CUI)

        **Price:** 20 credits

        **⚠️ Common errors:** 412: No Romanian company found for the given CUI
      operationId: __api_onrc_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnrcCompanyPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OnrcCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OnrcCompanyPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        cui:
          type: integer
      type: object
      required:
        - cui
    OnrcCompany:
      properties:
        '@type':
          type: string
          default: OnrcCompany
        cui:
          type: integer
        name:
          type: string
        reg_com_number:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        caen:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        organization_form:
          anyOf:
            - type: string
            - type: 'null'
        ownership_form:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        fax:
          anyOf:
            - type: string
            - type: 'null'
        fiscal_authority:
          anyOf:
            - type: string
            - type: 'null'
        registered_office_address:
          anyOf:
            - $ref: '#/components/schemas/OnrcAddress'
            - type: 'null'
        fiscal_address:
          anyOf:
            - $ref: '#/components/schemas/OnrcAddress'
            - type: 'null'
        is_vat_registered:
          type: boolean
          default: false
        vat_periods:
          items:
            $ref: '#/components/schemas/OnrcVatPeriod'
          type: array
        is_vat_on_collection:
          type: boolean
          default: false
        is_split_vat:
          type: boolean
          default: false
        is_inactive:
          type: boolean
          default: false
        inactivated_at:
          anyOf:
            - type: string
            - type: 'null'
        reactivated_at:
          anyOf:
            - type: string
            - type: 'null'
        is_e_factura:
          type: boolean
          default: false
      type: object
      required:
        - cui
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OnrcAddress:
      properties:
        '@type':
          type: string
          default: OnrcAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        street_number:
          anyOf:
            - type: string
            - type: 'null'
        locality:
          anyOf:
            - type: string
            - type: 'null'
        county:
          anyOf:
            - type: string
            - type: 'null'
        county_code:
          anyOf:
            - type: string
            - type: 'null'
        county_plate:
          anyOf:
            - type: string
            - type: 'null'
        details:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    OnrcVatPeriod:
      properties:
        '@type':
          type: string
          default: OnrcVatPeriod
        start_date:
          anyOf:
            - type: string
            - type: 'null'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
        message:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````