This is the official repository for NIP24 Client for C/C++
This library contains validators for common Polish tax numbers like NIP, REGON and KRS. Validators for EU VAT ID and IBAN are also included. After registration at NIP24 Portal this library could be used for various on-line validations of Polish and EU companies. Please, visit our web page for more details.
The documentation and samples are available here.
Microsoft Visual Studio 2022 is required to build this library. Simply open the solution file (nip24Library.sln) in the IDE and build the Release version. You can also build it from the Developer Command Prompt for Visual Studio:
git clone https://github.com/nip24pl/nip24-c-client.git
cd nip24-c-client
msbuild nip24Library.sln /t:Rebuild /p:Configuration=Release /p:Platform=x86
msbuild nip24Library.sln /t:Rebuild /p:Configuration=Release /p:Platform=x64All required header files are in nip24-c-client/include. Add this path to your project's include directories. Then include nip24.h in your source code — it provides all API definitions.
#include "nip24.h"The compiled and built libraries are located in two separate directories:
- nip24-c-client/lib - contains the library built for 32-bit architecture (x86),
- nip24-c-client/lib64 - contains the library built for 64-bit architecture (x64).
This project is delivered under Apache License, Version 2.0: