
Tax / self-employed
FnsNet.NpdStatus
.NET SDK to check self-employed status with the Russian tax service
net8.0net10.0
Features
- Self-employed status by INN on a date
- DI registration or a container-free factory
- Errors with the service code and IsTransient
- Raw body: always on error, opt-in on success
- Observability through the standard HttpClient
Installation
dotnet add package FnsNet.NpdStatusQuick start
using FnsNet.NpdStatus;
using Microsoft.Extensions.DependencyInjection;
services.AddNpdStatusClient();
// Without a DI container
using var client = NpdStatusClient.Create();
var status = await client.GetStatusAsync("525741209968", new DateOnly(2026, 10, 1));Key methods
GetStatusAsyncSelf-employed status on a dateAddNpdStatusClientDI registrationNpdStatusClient.CreateA client without DIREADMEgithub.com/ai-iskuzhin/FnsNet.NpdStatus
Loading README from the repository…