Parameters for creating a receipt

The parameters for transmitting fiscal data are added to a usual payment form. They are mandatory for transmitting if you set up interaction with your online sales register via Yandex.Checkout (this requires adopting an online sales register of one of our partners and making the corresponding adjustments to the settings under your merchant dashboard; see Changes to protocol for working under Federal Law No.54).

One additional parameter, ym_merchant_receipt, is added to the form and contains all required data.

Additional parameter for the receipt




Details for creating a receipt in the JSON format.

Format of the details for the receipt

Details for the receipt are transmitted in the JSON format. The parameters customerContact and taxSystem (optional) are transmitted in the format "key"—"value". With these parameters, an array of products, which include products and their description, is transmitted, The product description is transmitted as one object; separate object is created for each product.

Example of details in the JSON format

    "customerContact": "+79001231212",
    "taxSystem": 1,
    "items": [{
        "quantity": 1.154,
        "price": {
            "amount": 300.23
        "tax": 3,
        "text": "Green tea \"Yun Vu\", kg"
    }, {
        "quantity": 2,
        "price": {
            "amount": 200.00
        "tax": 3,
        "text": "Tea cup, pcs., 10% discount"
    }, {
        "quantity": 0.3,
        "price": {
            "amount": 1000.00
        "tax": 3,
        "text": "30% payment in advance, tabletop game \"Tea Time\""

Parameters for the receipt



string, 64 characters


Buyer's phone number or email address.


  • phone number in the format +792100000000 or email address (we check it)
  • you should only transmit one piece of information: either email address or phone number
  • you should not transmit several email addresses or phone numbers.




Store's Tax System (STS). The parameters is only required if you user several tax systems. If not, the parameter is not transmitted.

Possible values—a number from 1 to 6:

1—general tax system

2—simplified tax system (income)

3—simplified tax system (income less expenses)

4—unified imputed income tax

5—unified agricultural tax

6—patent tax system.

Important: products with different taxSystem must be transmitted in different receipts.



Decimal accurate to the thousandth place


Product quantity. Defines the quantity of products in the order or quantity of products sold by weight.




Product price.


CurrencyAmount (decimal accurate to the hundredths place)


Price per unit.




Currency code: RUB (Russian ruble).




VAT rate. Possible values—a number from 1 to 6:

1—without VAT

2—VAT at the rate of 0%

3—VAT of the receipt at the rate of 10%

4—VAT of the receipt at the rate of 18%

5—VAT of the receipt at the applicable rate of 10/110

6—VAT of the receipt at the applicable rate of 18/118.


string, 128 characters

Cyrillic or Roman alphabet


Product name.


  • Special characters (for instance, quotes) should be introduced in accordance with the JSON data format. For instance: "text": "Green tea \ "Yun Vu\", kg"

Buyer's contact details

  • The customerContact field is mandatory. In this field, you need to transmit syntactically correct phone number or email address. If the field is empty or contains incorrect data, the payment won't come through.
  • Fiscal Data Operator (OFD) transmits the receipt to the buyer (conditions of this transmitting depend on your OFD). The receipts are sent to mobile phone numbers of Russian carriers (they all begin with +7). The receipt may fail to be delivered to a non-Russian mobile phone number.

Product quantity, weight, price

  • The amount field should contain a price for one piece of the product; the quantity field should contain the quantity of the products. If the amount field contains a price for one piece of the product, you need to transmit number of pieces (quantity=2, for instance, two pies of one kind). If the amount field contains a price for one kilogram of the product, you need to transmit the product's weight (quantity=1.253, for instance, a pie that weights 1 kg 253 g).
  • The specified price should be free of taxes.
  • Total amount you transmit to ym_merchant_receipt, should match the sum. If they do not match, the receipt won't be created, and the payment might fail.
  • You can transmit up to 100 products to ym_merchant_receipt. This means not more than 100 such blocks : {"quantity": 1.154,"price": {"amount": 300.23},"tax": 3,"text": "Product A"}
  • You can add information about a discount or payment in advance to the product's name. For instance: "text": "30% advance payment, tabletop game \"Tea Time\""}

Example of a payment form with parameters for the receipt

<form action="" method="post">
    <input name="shopId" value="1234" type="hidden"/>
    <input name="scid" value="4321" type="hidden"/>
    <input name="sum" value="746.47" type="hidden">
    <input name="customerNumber" value="abc000" type="hidden"/>
    <input name="paymentType" value="AC" type="hidden"/>
    <input name="orderNumber" value="abc1111111" type="hidden"/>
    <input name="cps_phone" value="+79123456543" type="hidden"/>
    <input name="cps_email" value="" type="hidden"/>
    <input name="ym_merchant_receipt" value='{"customerContact": "+79001231212","taxSystem": 1, "items":[{"quantity": 1.154, "price": {"amount": 300.23},  "tax": 3,"text": "Green tea \"Yun Vu\", kg"},{"quantity": 2,     "price": {"amount": 200.00},  "tax": 3,"text": "Tea cup, pcs, 10% discount"},{"quantity": 0.3,   "price": {"amount": 1000.00}, "tax": 3,"text": "30% advance payment, tabletop game \"Tea Time\""}]}'
    <input type="submit" value="Pay"/>

See also

Changes in the protocol for working under Federal Law No.54 (54-FZ)

Sending data for receipts