Skip to main content

CreateDirectCorrectionSaleSession

POST 

/orgs/:org_guid/deals/sales/:deal_guid/sessions/direct-correction

CreateDirectCorrectionSaleSession

Request

Path Parameters

    org_guid uuidrequired
    deal_guid uuidrequired

Header Parameters

    X-LP-Client-Identifier stringrequired

    ClientIdentifier

    Example: ba922a94-7c4a-4d31-b108-d57c6e3ea0cd
    X-LP-Client-Type stringrequired

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

    ClientType

    Example: App
    X-LP-Client-Name string

    ClientName

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

    ClientOSName

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

    ClientOSVersion

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

    ClientScreenResolution

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

    ClientModel

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

    OrganizationAlias

    X-LP-Client-Extensions csv

    ClientExtensions

    Accept-Language stringrequired

    Language

    Example: en-US

Body

    correction_data

    object

    correction_type FECorrectionTypes (string)required

    Possible values: [SelfDriven, OnDemand]

    basis_for_correction

    object

    date date-timenullable

    date

    tax_service_doc_number stringnullable

    Possible values: <= 32 characters

    tax_service_doc_number

    type_of stringnullable

    type_of

    sale

    object

    guid uuid

    guid

    type_of string

    type_of

    actions

    object

    money_action

    object

    purposes

    object[]

    nullable

    purposes

  • Array [

  • amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    position

    object

    guid uuid

    guid

    type_of string

    type_of

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

  • ]

  • payment_parts

    object[]

    nullable

    payment_parts

  • Array [

  • anyOf

    podeli_details

    object

    order_id stringrequired

    Possible values: non-empty and <= 44 characters

    order_id

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    status PaymentPartStatuses (string)required

    Possible values: [Draft, Accepted, Refunded]

    primary_payment_part

    object

    guid uuid

    guid

    type_of string

    type_of

    primary_sale_session

    object

    guid uuid

    guid

    type_of string

    type_of

    guid uuid

    guid

  • ]

  • modified_at date-timenullable

    modified_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    non_purpose_money_action

    object

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    payment_parts

    object[]

    nullable

    payment_parts

  • Array [

  • amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    status PaymentPartStatuses (string)required

    Possible values: [Draft, Accepted, Refunded]

    primary_payment_part

    object

    guid uuid

    guid

    type_of string

    type_of

    primary_sale_session

    object

    guid uuid

    guid

    type_of string

    type_of

    guid uuid

    guid

    type_of string

    type_of

  • ]

  • modified_at date-timenullable

    modified_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    shipping_action

    object

    purposes

    object[]

    nullable

    purposes

  • Array [

  • quantity doublerequired

    quantity

    marking_attributes

    object

    is_part_of_package_of int32nullable

    Possible values: >= 2 and <= 99999999

    is_part_of_package_of

    marks

    object[]

    required

    Possible values: >= 1

    marks

  • Array [

  • marking_code stringnullable

    Possible values: <= 256 characters

    marking_code

    checking_result FEGoodDataCheckingResult (string)[]nullable

    Possible values: [KMChecked, KPKMCorrect, OISMStatusChecked, OISMStatusCorrect, KPKMCheckedAutonomously]

    checking_result

    for_quantity doublerequired

    for_quantity

  • ]

  • position

    object

    guid uuid

    guid

    type_of string

    type_of

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

  • ]

  • modified_at date-timenullable

    modified_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    fiscal_documents

    object[]

    nullable

    fiscal_documents

  • Array [

  • guid uuid

    guid

    type_of string

    type_of

  • ]

  • created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

Responses

Created

Schema

    type_of stringnullable

    type_of

    correction_data

    object

    correction_type FECorrectionTypes (string)required

    Possible values: [SelfDriven, OnDemand]

    basis_for_correction

    object

    date date-timenullable

    date

    tax_service_doc_number stringnullable

    Possible values: <= 32 characters

    tax_service_doc_number

    type_of stringnullable

    type_of

    sale

    object

    guid uuid

    guid

    type_of string

    type_of

    actions

    object

    money_action

    object

    purposes

    object[]

    nullable

    purposes

  • Array [

  • type_of stringnullable

    type_of

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    position

    object

    guid uuid

    guid

    type_of string

    type_of

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

  • ]

  • payment_parts

    object[]

    nullable

    payment_parts

  • Array [

  • anyOf

    podeli_details

    object

    order_id stringrequired

    Possible values: non-empty and <= 44 characters

    order_id

    type_of stringnullable

    type_of

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    status PaymentPartStatuses (string)required

    Possible values: [Draft, Accepted, Refunded]

    primary_payment_part

    object

    guid uuid

    guid

    type_of string

    type_of

    primary_sale_session

    object

    guid uuid

    guid

    type_of string

    type_of

    guid uuid

    guid

  • ]

  • type_of stringnullable

    type_of

    modified_at date-timenullable

    modified_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    non_purpose_money_action

    object

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    payment_parts

    object[]

    nullable

    payment_parts

  • Array [

  • amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    status PaymentPartStatuses (string)required

    Possible values: [Draft, Accepted, Refunded]

    primary_payment_part

    object

    guid uuid

    guid

    type_of string

    type_of

    primary_sale_session

    object

    guid uuid

    guid

    type_of string

    type_of

    guid uuid

    guid

    type_of string

    type_of

  • ]

  • type_of stringnullable

    type_of

    modified_at date-timenullable

    modified_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    shipping_action

    object

    purposes

    object[]

    nullable

    purposes

  • Array [

  • type_of stringnullable

    type_of

    quantity doublerequired

    quantity

    marking_attributes

    object

    is_part_of_package_of int32nullable

    Possible values: >= 2 and <= 99999999

    is_part_of_package_of

    marks

    object[]

    required

    Possible values: >= 1

    marks

  • Array [

  • marking_code stringnullable

    Possible values: <= 256 characters

    marking_code

    checking_result FEGoodDataCheckingResult (string)[]nullable

    Possible values: [KMChecked, KPKMCorrect, OISMStatusChecked, OISMStatusCorrect, KPKMCheckedAutonomously]

    checking_result

    for_quantity doublerequired

    for_quantity

  • ]

  • position

    object

    guid uuid

    guid

    type_of string

    type_of

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

  • ]

  • type_of stringnullable

    type_of

    modified_at date-timenullable

    modified_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    fiscal_documents

    object[]

    nullable

    fiscal_documents

  • Array [

  • guid uuid

    guid

    type_of string

    type_of

  • ]

  • created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

Loading...