Luilliarcec.Identification.Ecuador
1.0.1
dotnet add package Luilliarcec.Identification.Ecuador --version 1.0.1
NuGet\Install-Package Luilliarcec.Identification.Ecuador -Version 1.0.1
<PackageReference Include="Luilliarcec.Identification.Ecuador" Version="1.0.1" />
paket add Luilliarcec.Identification.Ecuador --version 1.0.1
#r "nuget: Luilliarcec.Identification.Ecuador, 1.0.1"
// Install Luilliarcec.Identification.Ecuador as a Cake Addin #addin nuget:?package=Luilliarcec.Identification.Ecuador&version=1.0.1 // Install Luilliarcec.Identification.Ecuador as a Cake Tool #tool nuget:?package=Luilliarcec.Identification.Ecuador&version=1.0.1
Net Framework Ecuador Identification
Validations for identifications of people and companies of Ecuador, an important requirement for electronic invoicing.
Installation
You can install the package via nuget:
dotnet add package Luilliarcec.Identification.Ecuador
Usage
You can use it by following this example
using Luilliarcec.Identification.Ecuador;
// ...
namespace Test
{
public class Foo
{
public void Save(string identification_number)
{
string code;
if ((code = Identification.ValidateAllTypeIdentification(identification_number)) != null)
{
Console.WriteLine(code);
}
}
}
}
The static class exposes the following methods.:
Methods | Return | Description |
---|---|---|
ValidateFinalCustomer | string or null |
Validates the Ecuadorian Final Consumer |
ValidatePersonalIdentification | string or null |
Validates the Ecuadorian Identification Card |
ValidateNaturalRuc | string or null |
Validates the Ecuadorian RUC of Natural Person |
ValidatePublicRuc | string or null |
Validates the Ecuadorian RUC of Public Companies |
ValidatePrivateRuc | string or null |
Validates the Ecuadorian RUC of Private Companies |
ValidateRuc | string or null |
Validates the Ecuadorian RUC |
ValidateIsNaturalPerson | string or null |
Validate that the number belongs to natural persons |
ValidateIsJuridicalPerson | string or null |
Validate that the number belongs to juridical persons |
ValidateAllTypeIdentification | string or null |
Validate the number with all types of documents |
Follow these tips and have a happy code.
Security
If you discover any security related issues, please email luilliarcec@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Validations Ruc and Personal identifications.