Parameters for receipts
According to requirement 54-FZ, it is necessary to send receipts to the buyer and the Federal Tax Service of the Russian Federation.
If you have connected an online cash desk then when creating a payment, you must send the following parameters:
Value
Description
customerEmail
line
Payer's email
customerPhone
number
Payer's phone number in international format without "+"
cashItems
line
Order items: name - item name, count - quantity, price - price, type - item type from the table Types of online cash register receipt items, if not specified, then it is commodity. The value of this parameter should be translated to json and encoded using base64. Format of the parameter items: base64_encode(json_encode([["name" => "1 month hosting", "count" => 1, "price" => 10.00, "type" => "commodity"]]));
Last updated