/FNS_check_receipt_API_kotlin

Use API from the federal tax service

Primary LanguageKotlin

FNS_check_receipt_API_kotlin

Idea: https://github.com/dmitriybobrovskiy/CheckReceiptSDK

this code is an interpretation of a project from https://github.com/DmitriyBobrovskiy implemented in kotlin.

python version: https://github.com/Lms-media/FNS_check_receipt_API

there is 5 actions:

sign up,

login,

restore password,

check receipt,

receipt info.

to work correctly, you must install the khttp library

in maven:

<dependency>
    <groupId>khttp</groupId>
    <artifactId>khttp</artifactId>
    <version>0.1.0</version>
</dependency>

and

<repository>
    <id>central</id>
    <url>http://jcenter.bintray.com</url>
</repository>