fiscal
Відкрити зміну
Завдання, режими доставки та Idempotency-Key — як у POST /v1/receipts.
post/v1/cash-registers/{id}/shifts
Request
- Base URL: https://prro.cloud (the document declares no server; this is the origin it was published from)
- URL: https://prro.cloud/v1/cash-registers/{id}/shifts
- Auth: HTTP bearer
Path parameters
idstring uuid required
Ідентифікатор каси — uuid із GET /v1/cash-registers.
Query parameters
mode'sync' | 'async'
Режим доставки результату; має перевагу над однойменним полем у тілі. sync (типовий) чекає на результат у межах синхронного очікування; async одразу віддає 202 і номер завдання.
Headers
Idempotency-Keystring required
Ключ операції, який обирає клієнт. Повтор запиту з тим самим ключем поверне початкове завдання, а не виконає фіскальну операцію вдруге.
Request body
Response
Зміну відкрито.
Example response
{
"result": {
"reconcile": {
"cash": {
"ours": "1500.00",
"dps": "1500.00"
},
"totals": {
"ours": {
"sales": "1500.00",
"returns": "1500.00",
"service_input": "1500.00",
"service_output": "1500.00"
},
"dps": {
"sales": "1500.00",
"returns": "1500.00",
"service_input": "1500.00",
"service_output": "1500.00"
}
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.