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.13

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.13
File Size Uploaded
nalogovich-1.0.13.tar.gz 231.1 kB Details

Built distribution (wheel)

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

Total release size: 247.5 kB

Release files / nalogovich-1.0.13.tar.gz

Download URL nalogovich-1.0.13.tar.gz
Size 231.1 kB
Tags Source
SHA-256 checksum
How to use checksums
38d9ca4748fb6c53027f724b045e42972c5305db6e68761dcd2b493759293b5d
BLAKE2b-256 checksum
How to use checksums
a3f91adcd59e2163f9c740943a4a89846e884ff0909bd0ac745d60bfd17e7bdb
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 5, 2026.

Transparency log

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

Download URL nalogovich-1.0.13-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26977e9c516097e18783f25da60d8ef51f11d277dfd324d2226e78acb447f596
BLAKE2b-256 checksum
How to use checksums
6db34d31ae25c7059ff5586ad2031ec5ee91dbee406e6b756308fd684225ade0
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 5, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.15

2 release files

This release

1.0.13 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