> ## 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.

# /pbnalog/companies

> Look up a Russian legal entity or sole proprietor by its INN, OGRN or OGRNIP in the Federal Tax Service's «Прозрачный бизнес» (Transparent Business) service. Returns the full EGRUL/EGRIP card: registered names, status, registration dates, address, charter capital, main and additional activities (OKVED), tax authority, management and founders, SME category, and the full set of tax transparency markers — applied special tax regimes, paid taxes by budget classification, tax arrears with amounts, average headcount, tax offenses, revenue/expense financials, mass-address co-located companies and mass manager/founder flags.

**Price:** 1 credit

**⚠️ Common errors:** 412: No «Прозрачный бизнес» record matches this INN/OGRN/OGRNIP/token



## OpenAPI

````yaml /openapi/company-registries.json post /api/pbnalog/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/pbnalog/companies:
    post:
      tags:
        - /pbnalog
      summary: /pbnalog/companies
      description: >-
        Look up a Russian legal entity or sole proprietor by its INN, OGRN or
        OGRNIP in the Federal Tax Service's «Прозрачный бизнес» (Transparent
        Business) service. Returns the full EGRUL/EGRIP card: registered names,
        status, registration dates, address, charter capital, main and
        additional activities (OKVED), tax authority, management and founders,
        SME category, and the full set of tax transparency markers — applied
        special tax regimes, paid taxes by budget classification, tax arrears
        with amounts, average headcount, tax offenses, revenue/expense
        financials, mass-address co-located companies and mass manager/founder
        flags.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No «Прозрачный бизнес» record matches this
        INN/OGRN/OGRNIP/token
      operationId: __api_pbnalog_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PbnalogCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PbnalogCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PbnalogCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
      type: object
      required:
        - query
    PbnalogCompany:
      properties:
        '@type':
          type: string
          default: PbnalogCompany
        inn:
          type: string
        ogrn:
          anyOf:
            - type: string
            - type: 'null'
        kpp:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        name_short:
          anyOf:
            - type: string
            - type: 'null'
        np_type:
          type: string
        legal_form_code:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        ip_kind_code:
          anyOf:
            - type: string
            - type: 'null'
        ip_kind:
          anyOf:
            - type: string
            - type: 'null'
        citizenship_code:
          anyOf:
            - type: string
            - type: 'null'
        citizenship:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        status_code:
          anyOf:
            - type: string
            - type: 'null'
        is_invalid:
          type: boolean
          default: false
        is_foreign:
          type: boolean
          default: false
        liquidated:
          type: boolean
          default: false
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        ogrn_date:
          anyOf:
            - type: string
            - type: 'null'
        record_at:
          anyOf:
            - type: string
            - type: 'null'
        registry_account_at:
          anyOf:
            - type: string
            - type: 'null'
        excerpt_date:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        region_code:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        okved:
          anyOf:
            - type: string
            - type: 'null'
        okved_name:
          anyOf:
            - type: string
            - type: 'null'
        additional_activities:
          items:
            $ref: '#/components/schemas/PbnalogActivity'
          type: array
          default: []
        capital_amount:
          anyOf:
            - type: number
            - type: 'null'
        capital_type:
          anyOf:
            - type: string
            - type: 'null'
        tax_authority_code:
          anyOf:
            - type: string
            - type: 'null'
        tax_authority:
          anyOf:
            - type: string
            - type: 'null'
        registration_authority_code:
          anyOf:
            - type: string
            - type: 'null'
        registration_authority:
          anyOf:
            - type: string
            - type: 'null'
        msp_category:
          anyOf:
            - $ref: '#/components/schemas/PbnalogMspCategory'
            - type: 'null'
        msp_category_name:
          anyOf:
            - type: string
            - type: 'null'
        msp_registered_at:
          anyOf:
            - type: string
            - type: 'null'
        managers:
          items:
            $ref: '#/components/schemas/PbnalogManager'
          type: array
          default: []
        founders:
          items:
            $ref: '#/components/schemas/PbnalogFounder'
          type: array
          default: []
        has_special_tax_mode:
          type: boolean
          default: false
        has_paid_taxes:
          type: boolean
          default: false
        has_arrears:
          type: boolean
          default: false
        has_headcount:
          type: boolean
          default: false
        has_offenses:
          type: boolean
          default: false
        has_financials:
          type: boolean
          default: false
        is_non_reporting:
          type: boolean
          default: false
        has_tax_debt:
          type: boolean
          default: false
        is_mass_manager:
          type: boolean
          default: false
        is_mass_founder:
          type: boolean
          default: false
        current_tax_modes:
          items:
            type: string
          type: array
          default: []
        paid_tax_total:
          anyOf:
            - type: number
            - type: 'null'
        arrear_total:
          anyOf:
            - type: number
            - type: 'null'
        headcount:
          anyOf:
            - type: integer
            - type: 'null'
        revenue:
          anyOf:
            - type: number
            - type: 'null'
        expense:
          anyOf:
            - type: number
            - type: 'null'
        tax_payments:
          items:
            $ref: '#/components/schemas/PbnalogTaxPayment'
          type: array
          default: []
        arrears:
          items:
            $ref: '#/components/schemas/PbnalogArrear'
          type: array
          default: []
        headcounts:
          items:
            $ref: '#/components/schemas/PbnalogHeadcount'
          type: array
          default: []
        tax_mode_periods:
          items:
            $ref: '#/components/schemas/PbnalogTaxModePeriod'
          type: array
          default: []
        offenses:
          items:
            $ref: '#/components/schemas/PbnalogOffense'
          type: array
          default: []
        financials:
          items:
            $ref: '#/components/schemas/PbnalogFinancials'
          type: array
          default: []
        co_located:
          items:
            $ref: '#/components/schemas/PbnalogCoLocated'
          type: array
          default: []
        gazette_publications:
          items:
            $ref: '#/components/schemas/PbnalogGazettePublication'
          type: array
          default: []
        excerpt_url:
          anyOf:
            - type: string
            - type: 'null'
        founding_documents_url:
          anyOf:
            - type: string
            - type: 'null'
        accounting_report_url:
          anyOf:
            - type: string
            - type: 'null'
        sme_excerpt_url:
          anyOf:
            - type: string
            - type: 'null'
        rafp_report_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - inn
        - name
        - np_type
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PbnalogActivity:
      properties:
        '@type':
          type: string
          default: PbnalogActivity
        code:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - code
    PbnalogMspCategory:
      type: string
      enum:
        - '1'
        - '2'
        - '3'
    PbnalogManager:
      properties:
        '@type':
          type: string
          default: PbnalogManager
        name:
          type: string
        inn:
          anyOf:
            - type: string
            - type: 'null'
        position:
          anyOf:
            - type: string
            - type: 'null'
        mass_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_mass:
          type: boolean
          default: false
      type: object
      required:
        - name
    PbnalogFounder:
      properties:
        '@type':
          type: string
          default: PbnalogFounder
        name:
          type: string
        inn:
          anyOf:
            - type: string
            - type: 'null'
        mass_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_mass:
          type: boolean
          default: false
      type: object
      required:
        - name
    PbnalogTaxPayment:
      properties:
        '@type':
          type: string
          default: PbnalogTaxPayment
        year:
          type: integer
        kbk:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        amount:
          type: number
          default: 0
      type: object
      required:
        - year
    PbnalogArrear:
      properties:
        '@type':
          type: string
          default: PbnalogArrear
        year:
          type: integer
        period:
          anyOf:
            - type: integer
            - type: 'null'
        kbk:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        arrear_amount:
          type: number
          default: 0
        penalty_amount:
          type: number
          default: 0
        fine_amount:
          type: number
          default: 0
        total_amount:
          type: number
          default: 0
      type: object
      required:
        - year
    PbnalogHeadcount:
      properties:
        '@type':
          type: string
          default: PbnalogHeadcount
        year:
          type: integer
        count:
          type: integer
          default: 0
      type: object
      required:
        - year
    PbnalogTaxModePeriod:
      properties:
        '@type':
          type: string
          default: PbnalogTaxModePeriod
        year:
          type: integer
        period:
          anyOf:
            - type: integer
            - type: 'null'
        usn:
          type: boolean
          default: false
        eshn:
          type: boolean
          default: false
        envd:
          type: boolean
          default: false
        psn:
          type: boolean
          default: false
        npd:
          type: boolean
          default: false
        ausn:
          type: boolean
          default: false
      type: object
      required:
        - year
    PbnalogOffense:
      properties:
        '@type':
          type: string
          default: PbnalogOffense
        year:
          type: integer
      type: object
      required:
        - year
    PbnalogFinancials:
      properties:
        '@type':
          type: string
          default: PbnalogFinancials
        year:
          type: integer
        revenue:
          type: number
          default: 0
        expense:
          type: number
          default: 0
      type: object
      required:
        - year
    PbnalogCoLocated:
      properties:
        '@type':
          type: string
          default: PbnalogCoLocated
        inn:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        name_short:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - inn
    PbnalogGazettePublication:
      properties:
        '@type':
          type: string
          default: PbnalogGazettePublication
        code:
          anyOf:
            - type: integer
            - type: 'null'
        count:
          anyOf:
            - type: integer
            - type: 'null'
        url:
          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

````