{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api13.arm20.com/v1/schemas/pos.prro_retry_process_rows.json","title":"pos.prro_retry_process_rows","description":"Повертає чеки, які очікують повторної обробки ПРРО.","type":"object","required":["request","response"],"additionalProperties":false,"properties":{"request":{"oneOf":[{"type":"object","required":["method","params"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_retry_process_rows"},"params":{"type":"object","additionalProperties":false,"properties":{"kasm":{"type":"string","maxLength":512,"minLength":1,"title":"Номер каси","example":"Приклад","description":"Числовий номер каси, налаштований у Windows Касі.","x-api13-group":"Додаткові"},"numprro":{"type":"string","maxLength":4096,"default":"1","title":"Номер ПРРО","example":"4000000001","description":"Фіскальний номер ПРРО, налаштований для каси у Windows.","x-api13-group":"Фіскалізація"}},"required":["kasm"]},"id":{"type":["string","integer","null"]}}}]},"response":{"oneOf":[{"type":"object","required":["ok","data","request_id"],"additionalProperties":false,"properties":{"ok":{"const":true},"data":{"type":"object","required":["method","result","id"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_retry_process_rows"},"result":{"type":"object","required":["upstream","status","rows"],"additionalProperties":false,"properties":{"upstream":{"type":"object","required":["name","version","resource"],"additionalProperties":false,"properties":{"name":{"const":"UPMAPI"},"version":{"type":"string"},"resource":{"type":"string"}}},"status":{"type":"object","required":["code","operation","value"],"additionalProperties":false,"properties":{"code":{"const":"OK"},"operation":{"type":"string"},"value":{"type":"string"}}},"rows":{"type":"array","items":{"type":"object","required":["check_number","prro_number","payment_type","cash_received","round","total"],"additionalProperties":false,"properties":{"check_number":{"type":"string","title":"Номер чека","description":"Номер касового чека у базі поточного клієнта.","example":"Приклад"},"prro_number":{"type":"string","title":"Prro number","description":"Повернене значення «Prro number» відповідного запису, документа або підсумку ARM20.","example":"Приклад"},"payment_type":{"type":"string","title":"Payment type","description":"Повернене значення «Payment type» відповідного запису, документа або підсумку ARM20.","example":"Приклад"},"cash_received":{"type":"string","title":"Cash received","description":"Точне повернене значення «Cash received» як десятковий рядок із крапкою.","format":"decimal-string","example":"100.00","x-api13-unit":"currency-of-operation"},"round":{"type":"string","title":"Округлення","description":"Точне повернене значення «Округлення» як десятковий рядок із крапкою.","format":"decimal-string","example":"100.00","x-api13-unit":"currency-of-operation"},"total":{"type":"string","title":"Total","description":"Кількість рядків або об’єктів у результаті операції.","format":"decimal-string","example":"100.00","x-api13-unit":"currency-of-operation"}}}}}},"id":{"type":["string","integer","null"]}}},"request_id":{"type":"string"}}}]}},"x-api13-operation":{"description":"Повертає чеки, які очікують повторної обробки ПРРО.","scope":"pos.read","params":{"kasm":{"type":"string","max":512,"required":true,"title":"Номер каси","description":"Числовий номер каси, налаштований у Windows Касі.","group":"Додаткові","example":"Приклад"},"numprro":{"type":"string","max":4096,"default":"1","title":"Номер ПРРО","description":"Фіскальний номер ПРРО, налаштований для каси у Windows.","group":"Фіскалізація","example":"4000000001"}},"result":{"mode":"rows","columns":["check_number","prro_number","payment_type","cash_received","round","total"],"field_specs":{"check_number":{"title":"Номер чека","description":"Номер касового чека у базі поточного клієнта.","type":"string","example":"Приклад"},"prro_number":{"title":"Prro number","description":"Повернене значення «Prro number» відповідного запису, документа або підсумку ARM20.","type":"string","example":"Приклад"},"payment_type":{"title":"Payment type","description":"Повернене значення «Payment type» відповідного запису, документа або підсумку ARM20.","type":"string","example":"Приклад"},"cash_received":{"title":"Cash received","description":"Точне повернене значення «Cash received» як десятковий рядок із крапкою.","type":"string","format":"decimal-string","unit":"currency-of-operation","example":"100.00"},"round":{"title":"Округлення","description":"Точне повернене значення «Округлення» як десятковий рядок із крапкою.","type":"string","format":"decimal-string","unit":"currency-of-operation","example":"100.00"},"total":{"title":"Total","description":"Кількість рядків або об’єктів у результаті операції.","type":"string","format":"decimal-string","unit":"currency-of-operation","example":"100.00"}}},"mutating":false,"idempotency_required":false,"since":"0.4.0","stability":"stable","deprecated":false,"aliases":["pos","prro retry process rows","Повертає чеки, які очікують повторної обробки ПРРО.","Windows Каса"],"errors":[{"code":"INVALID_PARAMETER","http":422,"description":"Один із параметрів має неправильний тип, формат або значення.","retry":"Виправити запит; автоматично не повторювати."},{"code":"UPSTREAM_FAILURE","http":502,"description":"Сервер бізнес-операції недоступний або відхилив безпечний контракт.","retry":"Дозволений повтор із backoff."}],"related_methods":["pos.prro_fiscal_error_move_empty_order","pos.prro_fiscal_lookup","pos.prro_fiscal_order_tax_update","pos.prro_fiscal_restore_from_error"]}}