Облачная Касса: Отправка документа на фискализацию в процессинг
Версия от 18:00, 26 августа 2022; Merkulov (обсуждение | вклад)
Запрос регистрации чека | POST |
https://fp-test.bifit.com/processing-api/protected/documents/registration/receipts | https://fp-test.bifit.com/processing-api/protected/documents/registration/receipts |
Request Headers | |
|
authorization: "Bearer ero3UNcffhlKdn5e76i...edfr_JU"
idempotency-key: "sdftfc-KF784mkd-skdhkaasca_lf34hKxsf"
|
Request Body | JSON структура |
|
{
"type": "SALE",
"taxSystem": "COMMON",
"cashier": {
"name": "Иванов И.И."
},
"client": {
"address": "test@test.com"
},
"items": [
{
"calculationMethod": "FULL_PAY",
"paymentSubject": "SERVICE",
"name": "Услуга",
"price": 100.00,
"quantity": 1.500,
"vat": "VAT_20",
"total": 150.00
}
],
"total": 150.00,
"payments": {
"CASH": 150.00
}
}
|
Response | |
|
254934 |