Облачная Касса: Отправка документа на фискализацию в процессинг
Версия от 11:58, 26 августа 2022; Merkulov (обсуждение | вклад) (Новая страница: «{{ProductTable-2 |title-left='''Запрос регистрации чека''' |title-right='''POST''' |content-left= https://fp-test.bifit.com/processing-api/protected/documents/registration/receipts |content-right= <syntaxhighlight> https://fp-test.bifit.com/processing-api/protected/documents/registration/receipts </syntaxhighlight> |}}<br>  {{ProductTable-2 |title-left= Request Headers |title-right= |content-left=  * '''authorization''': перем...»)
| Запрос регистрации чека | 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 |