Skip to main content

Добавить новый фискальный документ 'Отчет о регистрации'

POST 

/v5/orgs/:org_guid/fiscal-registrars/:registrar_guid/docs/registration-reports

Коды возможных ошибок:

[500]: "InternalServerError" - внутренняя ошибка сервера [429]: "TooManyRequests" - превышено ограничение на количество запросов в секунду [401]: "Unauthorized" - для выполнения операции требуется авторизация [403]: "NoPermissions" - нет прав на выполнение этой операции [422]: "RequestIsNotValid" - параметры запроса не прошли валидацию [404]: "NotFound" - запрашиваемый объект или его родительский объект не найдены [422]: "Duplicate" - дубликат (объект с таким уникальным идентификатором уже существует) [422]: "NotUnique" - одно или несколько полей не соответствуют требованию уникальности [422]: "NotAllowedForArchived" - операция не разрешена для объектов находящихся в архиве

Request

Path Parameters

    org_guid uuidrequired

    Уникальный идентификатор организации

    registrar_guid uuidrequired

    Уникальный идентификатор фискального регистратора

Query Parameters

    presentation PresentationModes

    Possible values: [compact, full]

Header Parameters

    Accept-Language stringrequired

    Язык используемый для ответов

    Example: ru-RU
    X-LP-Client-Identifier stringrequired

    Идентификатор клиента

    Example: cd68a13c-94c2-4c25-a8dd-ac22429aec0c
    X-LP-Client-Type stringrequired

    Possible values: [Unknown, App, WebApp, Service]

    Тип клиента

    Example: App
    X-LP-Client-Name string

    Имя клиента

    Example: Swagger
    X-LP-Client-OS-Name string

    ОС клиента

    Example: SwaggerDoc
    X-LP-Client-OS-Version string

    Версия ОС клиента

    Example: 1.0
    X-LP-Client-Screen-Resolution string

    Разрешение экрана ОС клиента

    Example: 1280x0900
    X-LP-Client-Model string

    Модель оборудования клиента

    Example: Chrome 75
    X-LP-Organization-Alias string

    Организация по умолчанию

    X-LP-Client-Extensions csv

    Поддерживаемые клиентом расширения моделей

Body

Данные нового фискального документа

    fiscal_form FiscalDocumentForms (string)required

    Possible values: [RegistrationReport, ShiftOpeningReport, Receipt, StrictForm, ShiftClosingReport, FiscalDriveClosingReport, OperatorConfirmation, ReRegistrationReport, SettlementReport, ReceiptOfCorrection, StrictFormOfCorrection]

    fiscal_drive_number stringrequired

    Possible values: <= 16 characters, Value must match regular expression ^\d+$

    number int32required
    cashier_name stringnullable

    Possible values: <= 64 characters

    issued_at date-timerequired

    fiscal_registrar

    object

    guid uuid
    type_of stringnullable

    sources

    object

    fiscal_document_form V5FEFiscalForms (string)

    Possible values: [RegistrationReport, ShiftOpeningReport, Receipt, StrictForm, ShiftClosingReport, FiscalDriveClosingReport, OperatorConfirmation, ReRegistrationReport, SettlementReport, ReceiptOfCorrection, StrictFormOfCorrection]

    tax_systems TaxSystems (string)[]nullable

    Possible values: [Osn, Usn, UsnMinus, Envd, Esn, Patent]

    used_in_autonomous_mode booleannullable
    uses_encryption booleannullable
    used_in_automatic_mode booleannullable
    machine_number stringnullable

    Possible values: <= 20 characters

    federal_tax_service_url stringnullable

    Possible values: <= 256 characters

    receipt_sender_email stringnullable

    Possible values: <= 64 characters

    ofd_inn stringnullable

    Possible values: <= 12 characters

    ofd_name stringnullable

    Possible values: <= 256 characters

    fiscal_registrar_version stringnullable

    Possible values: <= 3 characters

    fiscal_registrar_format V5FEFiscalFormats (string)

    Possible values: [Version1, Version2, Version3, Version4]

    fiscal_drive_format V5FEFiscalFormats (string)

    Possible values: [Version1, Version2, Version3, Version4]

    fiscal_sign_keys_resource int32nullable
    fiscal_registrar_using_conditions V5FEFiscalRegistrarUsingConditions (string)[]nullable

    Possible values: [UsedByMachine, UsedForStrictForms, UsedForInternetOnly, UsedForExcisableGoods, UsedForMarkedPositions, UsedForServiceClearing, UsedForGambling, UsedForLotteries, UsedForPawnshops, UsedForInsurance]

    additional_attribute stringnullable

    Possible values: <= 32 characters

    additional_data bytenullable
    fiscal_document_format V5FEFiscalFormats (string)

    Possible values: [Version1, Version2, Version3, Version4]

    organization_name stringnullable

    Possible values: <= 256 characters

    organization_inn stringnullable

    Possible values: <= 12 characters

    issued_at date-time
    fiscal_registrar_registration_number stringnullable

    Possible values: <= 20 characters

    fiscal_registrar_serial_number stringnullable
    cashier_name stringnullable

    Possible values: <= 64 characters

    cashier_inn stringnullable

    Possible values: <= 12 characters

    settlement_address stringnullable

    Possible values: <= 256 characters

    settlement_location stringnullable

    Possible values: <= 256 characters

    fiscal_document_number int32
    fiscal_drive_number stringnullable

    Possible values: <= 16 characters

    fiscal_sign int64nullable

    additional_attributes

    object[]

    nullable

  • Array [

  • name stringnullable

    Possible values: <= 128 characters

    value stringnullable

    Possible values: <= 1024 characters

  • ]

  • type_of stringnullable
    meta stringnullable

    Possible values: <= 128 characters

    meta_data

    object

    nullable

    property name* string
    guid uuid

Responses

Created

Schema

    fiscal_form FiscalDocumentForms (string)required

    Possible values: [RegistrationReport, ShiftOpeningReport, Receipt, StrictForm, ShiftClosingReport, FiscalDriveClosingReport, OperatorConfirmation, ReRegistrationReport, SettlementReport, ReceiptOfCorrection, StrictFormOfCorrection]

    fiscal_drive_number stringrequired

    Possible values: <= 16 characters, Value must match regular expression ^\d+$

    number int32required
    cashier_name stringnullable

    Possible values: <= 64 characters

    issued_at date-timerequired

    fiscal_registrar

    object

    guid uuid
    type_of stringnullable

    sources

    object

    fiscal_document_name stringnullable
    fiscal_document_form V5FEFiscalForms (string)

    Possible values: [RegistrationReport, ShiftOpeningReport, Receipt, StrictForm, ShiftClosingReport, FiscalDriveClosingReport, OperatorConfirmation, ReRegistrationReport, SettlementReport, ReceiptOfCorrection, StrictFormOfCorrection]

    tax_systems TaxSystems (string)[]nullable

    Possible values: [Osn, Usn, UsnMinus, Envd, Esn, Patent]

    used_in_autonomous_mode booleannullable
    uses_encryption booleannullable
    used_in_automatic_mode booleannullable
    machine_number stringnullable

    Possible values: <= 20 characters

    federal_tax_service_url stringnullable

    Possible values: <= 256 characters

    receipt_sender_email stringnullable

    Possible values: <= 64 characters

    ofd_inn stringnullable

    Possible values: <= 12 characters

    ofd_name stringnullable

    Possible values: <= 256 characters

    fiscal_registrar_version stringnullable

    Possible values: <= 3 characters

    fiscal_registrar_format V5FEFiscalFormats (string)

    Possible values: [Version1, Version2, Version3, Version4]

    fiscal_drive_format V5FEFiscalFormats (string)

    Possible values: [Version1, Version2, Version3, Version4]

    fiscal_sign_keys_resource int32nullable
    fiscal_registrar_using_conditions V5FEFiscalRegistrarUsingConditions (string)[]nullable

    Possible values: [UsedByMachine, UsedForStrictForms, UsedForInternetOnly, UsedForExcisableGoods, UsedForMarkedPositions, UsedForServiceClearing, UsedForGambling, UsedForLotteries, UsedForPawnshops, UsedForInsurance]

    additional_attribute stringnullable

    Possible values: <= 32 characters

    additional_data bytenullable
    fiscal_document_format V5FEFiscalFormats (string)

    Possible values: [Version1, Version2, Version3, Version4]

    organization_name stringnullable

    Possible values: <= 256 characters

    organization_inn stringnullable

    Possible values: <= 12 characters

    issued_at date-time
    fiscal_registrar_registration_number stringnullable

    Possible values: <= 20 characters

    fiscal_registrar_serial_number stringnullable
    cashier_name stringnullable

    Possible values: <= 64 characters

    cashier_inn stringnullable

    Possible values: <= 12 characters

    settlement_address stringnullable

    Possible values: <= 256 characters

    settlement_location stringnullable

    Possible values: <= 256 characters

    fiscal_document_number int32
    fiscal_drive_number stringnullable

    Possible values: <= 16 characters

    fiscal_sign int64nullable

    additional_attributes

    object[]

    nullable

  • Array [

  • name stringnullable

    Possible values: <= 128 characters

    value stringnullable

    Possible values: <= 1024 characters

  • ]

  • type_of stringnullable
    created_at date-time
    updated_at date-time
    deleted_at date-timenullable
    meta stringnullable

    Possible values: <= 128 characters

    meta_data

    object

    nullable

    property name* string
    guid uuid
    type_of stringnullable
Loading...