International.EInvoicing.Validation.En16931 1.1.0

dotnet add package International.EInvoicing.Validation.En16931 --version 1.1.0
                    
NuGet\Install-Package International.EInvoicing.Validation.En16931 -Version 1.1.0
                    
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="International.EInvoicing.Validation.En16931" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="International.EInvoicing.Validation.En16931" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="International.EInvoicing.Validation.En16931" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add International.EInvoicing.Validation.En16931 --version 1.1.0
                    
#r "nuget: International.EInvoicing.Validation.En16931, 1.1.0"
                    
#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.
#:package International.EInvoicing.Validation.En16931@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=International.EInvoicing.Validation.En16931&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=International.EInvoicing.Validation.En16931&version=1.1.0
                    
Install as a Cake Tool

International.EInvoicing.Validation.En16931

The EN 16931 Schematron rules for UBL and CII, embedded and ready to run.

ValidationReport report = En16931Rules.For(DocumentSyntax.Ubl).Validate(invoiceXml);

if (!report.IsConforming)
{
    foreach (ValidationMessage message in report.OfAtLeast(RuleSeverity.Error))
    {
        Console.WriteLine(message);   // BR-CO-14  Error  … at /Invoice/TaxTotal
    }
}

The artefacts are redistributed verbatim under their own licence, EUPL-1.2, which ships with the package as EN16931-LICENSE.txt. They are executed as data, not translated into code, so replacing the file replaces the rules.

Full documentation: https://github.com/Epic-Dice-Studio/International.EInvoicing

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on International.EInvoicing.Validation.En16931:

Package Downloads
International.EInvoicing

Electronic invoicing for .NET, in one package: hand it a stream and get back an invoice, a credit note or a lifecycle status, whatever syntax it arrived in. Includes UBL 2.1, UN/CEFACT CII, Factur-X, lifecycle messages and EN 16931 validation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 458 9/7/2026
1.0.1-alpha.0.3 170 9/7/2026
1.0.1-alpha.0.2 170 9/7/2026
1.0.1-alpha.0.1 162 9/7/2026
1.0.0 424 9/5/2026
0.1.0-preview.1.107 149 9/5/2026
0.1.0-preview.1.106 150 9/4/2026
0.1.0-preview.1.105 149 9/4/2026
0.1.0-preview.1.104 147 9/4/2026
0.1.0-preview.1.103 148 9/4/2026
0.1.0-preview.1.102 160 9/3/2026
0.1.0-preview.1.101 152 9/3/2026
0.1.0-preview.1.96 175 9/3/2026
0.1.0-preview.1.95 153 9/3/2026
0.1.0-preview.1.94 149 9/3/2026
0.1.0-preview.1.93 146 9/3/2026
0.1.0-preview.1.92 161 9/3/2026
0.1.0-preview.1.91 143 9/3/2026
0.1.0-preview.1.90 154 9/3/2026
0.1.0-preview.1.89 152 9/3/2026
Loading failed