Russian Tax service provides mobile application "Проверка чека" to get receipt information online. ReceiptCollector uses nalog.ru api to collect purchase data.
sudo chmod +x ./build.sh
./build.sh
sudo chmod +x ./up.sh
./up.sh
sudo chmod +x ./down.sh
./down.sh
run angular app
cd ./webapp
npm run start
and build and run third-party components
cd ./docker/nginx
./build.sh
cd ../..
./up.dev.sh
//reset status to allow workers reprocess it.
db.getCollection('receipt_requests').updateMany({check_request_status: 'requested'}, {$set: {check_request_status: 'undefined'}})
//or
db.getCollection('receipt_requests').updateMany({check_request_status: 'error'}, {$set: {check_request_status: 'undefined'}})
//remove obsolete fields.
db.getCollection('receipt_requests').updateMany({}, {$unset: {odfs_request_status: '', odfs_requested: ''}})