Skip to content

TimNekk/nalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nalog

Moy Nalog API

PyPI Python 3.6, 3.4, 3.8

nalog - this module is a Python client library for Moy Nalog API

Installation

Install the current version with PyPI:

pip install nalog

Usage

You need next data from lkfl2.nalog.ru to autharize:

  • Email
  • INN (Taxpayer Identification Number)
  • Password
from nalog import NalogAPI

api = NalogAPI(
  email="example@email.com",
  inn="123456789012",
  password="my_secret_password"
)

receipt_id = api.create_receipt(name="Flower pot", price=199)
url = api.get_url(receipt_id)

print(url)

Contributing

Bug reports and/or pull requests are welcome

License

The module is available as open source under the terms of the Apache License, Version 2.0