Skip to main content

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

POST 

/v5/orgs/:org_guid/fiscal-registrars/:registrar_guid/docs/fdr-closing-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: bc52291f-dc53-4707-8412-f02dc7bdf4bb
    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]

    shift_number int32nullable

    fiscal_drive_total_counters

    object

    total_count int32nullable

    inflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    inflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    correction_counters

    object

    total_count int32nullable

    inflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    inflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable
    type_of stringnullable
    type_of stringnullable
    additional_attribute stringnullable

    Possible values: <= 32 characters

    additional_data bytenullable

    Possible values: <= 32 characters

    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]

    shift_number int32nullable

    fiscal_drive_total_counters

    object

    total_count int32nullable

    inflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    inflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    correction_counters

    object

    total_count int32nullable

    inflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    inflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable

    outflow_refund_counters

    object

    total_sum_by_cash int64nullable
    total_sum_by_card int64nullable
    total_sum_by_prepayments int64nullable
    total_sum_by_postpayments int64nullable
    total_sum_by_considerations int64nullable
    total_sum int64nullable
    total_count int32nullable
    sum_of_vat_1102 int64nullable
    sum_of_vat_1103 int64nullable
    sum_of_vat_1106 int64nullable
    sum_of_vat_1107 int64nullable
    sum_of_vat_1104 int64nullable
    sum_of_vat_1105 int64nullable
    type_of stringnullable
    type_of stringnullable
    additional_attribute stringnullable

    Possible values: <= 32 characters

    additional_data bytenullable

    Possible values: <= 32 characters

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