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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Luilliarcec.Identification.Ecuador" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Luilliarcec.Identification.Ecuador --version 1.0.1
#r "nuget: Luilliarcec.Identification.Ecuador, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

latest version Azure DevOps tests (branch) downloads GitHub license

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.1 627 4/13/2020
1.0.0 565 4/8/2020

Validations Ruc and Personal identifications.