Skip to main content

Nalogovich Logo

Nalogovich

Асинхронная Python библиотека (SDK) для API "Мой Налог" (ЛК НПД)

PyPI version Python versions License: MIT CodeFactor Documentation

Nalogovich - библиотека для интеграции с сервисом "Мой Налог". Идеально подходит для автоматизации отчетности самозанятых, создания платежных ботов в Telegram или CRM-систем.

Документация | Сообщить об ошибке


Установка

pip install nalogovich

Или через менеджер пакетов uv:

uv add nalogovich

Быстрый старт

Создание чека:

import asyncio
from nalogovich.lknpd import NpdClient

async def main():
    async with NpdClient(inn="123456789012", password="your_password") as client:
        await client.auth()
        
        # Создаем новый чек
        receipt = await client.create_check(
            name="Консультационные услуги",
            amount=1500,
        )
        
        checks = await client.get_checks(limit=5)
        print(f"Последние операции: {len(checks.content)}")

if __name__ == "__main__":
    asyncio.run(main())

С остальными примерами и методами можно ознакомиться в документации

Как получить пароль для использования Nalogovich

Если вы не знаете свой пароль или он у вас не установлен, то его можно установить вручную (даже не зная его):

  1. Перейдите в Личный кабинет налогоплательщика ФЛ.
  2. Авторизуйтесь через Госуслуги (ЕСИА) или любым удобным способом, который вам подходит.
  3. Зайдите в Настройки профиля → Безопасность → Изменить пароль.
  4. Установите новый пароль.

Установленный пароль станет единым для входа в кабинет Физлица и в сервис «Мой налог». Используйте его вместе с вашим ИНН для авторизации в библиотеке.

Release files for nalogovich 1.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nalogovich 1.0.15
File Size Uploaded
nalogovich-1.0.15.tar.gz 266.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nalogovich 1.0.15
File Interpreter ABI Platform
nalogovich-1.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 288.1 kB

Release files / nalogovich-1.0.15.tar.gz

Download URL nalogovich-1.0.15.tar.gz
Size 266.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0fb6fa06c3e932ce7c403885801fa8b76e56fdfa0129c8a933efe70e49fe0aee
BLAKE2b-256 checksum
How to use checksums
c0eca5d3ab553863191f774f688bb88f9b37237835cc305adeb3d5070dd64541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / nalogovich-1.0.15-py3-none-any.whl

Download URL nalogovich-1.0.15-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
122561a66ef8fe4295ee5ec6ddc77b78c3d35da41e714d3ac80f39d9490949e6
BLAKE2b-256 checksum
How to use checksums
1b11e0de6c4f057434af5a2ba6f5fffea1c33d1dab6ccca30baba385c19d95aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.15 This release

2 release files

1.0.11

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page