Cashbox check information


 

This method is used to get information about a cashbox check for an order or for a selected day.

Request for Cashbox check information

In order to use this process, a GET request should be sent to URL:

Environment

URL

testing

https://api.edu.cdek.ru/v2/check

production

https://api.cdek.ru/v2/check

Request Parameters

The following parameters are supported:

No.Field nameDescriptionField type

Mandatory

(yes/no)

1

order_uuid

Order identifier in CDEK information system for which the information about a cashbox check is requested

UUID 

yes, if other parameters are not transferred

2

cdek_number

CDEK order number for which the information about a cashbox check is requested

long 

yes, if other parameters are not transferred

3

date

Date for which the information about a cashbox check is requested

date

yes, if other parameters are not transferred

Response to the Request for Cashbox check information

The response body is returned in the JSON format:

No.Field nameDescriptionField type

Mandatory

(yes/no)

1

check_info

Information about the cashbox check

[ ]

no

1.1

order_uuid

Order identifier in CDEK information system for which the cashbox check was created

UUID

yes

1.2

cdek_number

CDEK order number for which the cashbox check was created

long

yes

1.3

date

Cashbox check date and time

datetime

yes

1.4

fiscal_storage_number

Fiscal storage number

string()

yes

1.5

document_number

Fiscal storage counting number

string()

yes

1.6

fiscal_sign

Fiscal attribute of the document

long

yes

1.7

type

Cashbox check type. Possible values:
CASH_RECEIPT_IN – cash cashbox check
CASH_RECEIPT_REFUND – cashbox check on refund

string()

yes

1.8

payment_info

Information about the cashbox check’s sum

[ ]

yes

1.8.1

sum

Cashbox check’s sum

float

yes

1.8.2

type

Type of payment:
CARD - card
CASH - cash

string(4)

yes

2

errors

List of errors

error[ ]

no

2.1

code

Error code

string()

yes

2.2

message

Error description

string()

yes


https://api.cdek.ru/v2/passport?order_uuid=72753031-e460-49ab-add6-030ddba1bc94


{
    "check_info": [
        {
            "order_uuid": "72753031-329a-4552-96d8-6619e0a695bb",
            "cdek_number": 1106014915,
            "date": "2020-12-23T12:16:00",
            "fiscal_storage_number": "9999078902006263",
            "document_number": "917",
            "fiscal_sign": 2405333328,
            "type": "CASH_RECEIPT_IN",
            "payment_info": [
                {
                    "sum": 500,
                    "type": "CASH"
                },
                {
                    "sum": 200,
                    "type": "CARD"
                }
            ]
        }
    ]
}


 

© 2000—2024, Курьерская компания СДЭК