Skip to main content

Добавляет новую асинхронную задачу на экспорт фискальных документов в csv.

POST 

/v5/orgs/:org_guid/async/exports/reportfiscals:new.csv

Добавляет новую асинхронную задачу на экспорт фискальных документов в csv.

Request

Path Parameters

    org_guid uuidrequired

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

Header Parameters

    Accept-Language stringrequired

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

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

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

    Example: 06341f67-dab0-4885-81e3-78488a651d24
    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

Параметры фильтрации и атрибуты

    attributes_for_export

    object

    include_cashier_name boolean
    include_customer_contacts boolean
    include_issued_at boolean
    include_fiscal_form boolean
    include_operation_type boolean
    include_positions boolean
    include_sum_by_prepayment boolean
    include_amount_otherwise boolean
    include_total_sum boolean
    include_serial_number boolean
    include_shift_number boolean
    include_receipt_number boolean
    include_number boolean
    include_registration_number boolean
    include_fiscal_drive_number boolean
    include_fiscal_sign boolean
    include_tax_system boolean
    include_fiscal_document_format boolean
    include_results_of_checking_marked_positions boolean

    filters_for_export

    object

    date_from date-timenullable
    date_to date-timenullable

Responses

Success

Schema

    mime_type stringnullable
    report_export_type ReportExportType (string)required

    Possible values: [RevenueByPeriodsExcel, RevenueByOutletsPeriodsExcel, RevenueByEmploeesPeriodsExcel, RevenueByPeriodsCSV, RevenueByOutletsPeriodsCSV, RevenueByEmploeesPeriodsCSV, ReportTransactionExcel, ReportTransactionCSV, ReportFiscalDocumentExcel, ReportFiscalDocumentCSV, ReportMoneyOperationExcel, ReportMoneyOperationCSV, ReportPaymentAndRefundExcel, ReportPaymentAndRefundCSV, ReportCombinedExcel, ReportCombinedCSV, ReportNomenclatureResultExcel, ReportNomenclatureResultCSV]

    parameters

    object

    attributes_for_export

    object

    filters_for_export

    object

    date_from date-timenullable
    date_to date-timenullable
    status AsyncTaskStatuses (string)

    Possible values: [InQueue, InProgress, WaitingForFeedback, Completed, Canceled]

    progress int32

    resolutions

    object[]

    nullable

  • Array [

  • message stringnullable
    type ResolutionTypes (string)

    Possible values: [Information, Warning, Error]

  • ]

  • organization

    object

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