International.EInvoicing.Countries.Sweden 1.1.0

dotnet add package International.EInvoicing.Countries.Sweden --version 1.1.0
                    
NuGet\Install-Package International.EInvoicing.Countries.Sweden -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.Countries.Sweden" 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.Countries.Sweden" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="International.EInvoicing.Countries.Sweden" />
                    
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.Countries.Sweden --version 1.1.0
                    
#r "nuget: International.EInvoicing.Countries.Sweden, 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.Countries.Sweden@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.Countries.Sweden&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=International.EInvoicing.Countries.Sweden&version=1.1.0
                    
Install as a Cake Tool

International.EInvoicing.Countries.Sweden

What Swedish electronic invoicing adds on top of the norms.

Sweden exchanges Peppol BIS Billing itself rather than a national format; what it adds is a set of national rules that travel inside the Peppol rule set. So this package builds on International.EInvoicing.Peppol, and what lives here is genuinely national: the organisationsnummer with the Luhn check Peppol enforces on scheme 0007.

SwedishEInvoicing sverige = SwedishEInvoicing.Create();

EInvoice invoice = sverige.Invoice()                     // Peppol BIS Billing, UBL, SEK
    .WithNumber("2026-0001")
    .IssuedOn(new DateOnly(2026, 9, 1))
    .WithBuyerReference("REF-2026-0001")                 // BT-10: Peppol requires it, EN 16931 does not
    .From(seller => sverige.Describe(seller, "556000-0009", "Leverantör AB"))
    .To(buyer => buyer.Named("Kund AB"))
    .AddLine(line => line.WithItem("Rådgivning").WithNetAmount(3000m).WithVat("S", 25m))
    .WithComputedVatBreakdown()
    .WithComputedTotals()
    .Build();

Describe checks the organisation number before writing it, and puts it in the scheme Peppol reserves for it. The Swedish rules travel inside the Peppol rule set, so AddPeppolRulesFrom(directory) brings both.

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

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.1.0 99 9/7/2026
1.0.1-alpha.0.3 62 9/7/2026
1.0.1-alpha.0.2 58 9/7/2026
1.0.1-alpha.0.1 66 9/7/2026
1.0.0 100 9/5/2026
0.1.0-preview.1.107 54 9/5/2026
0.1.0-preview.1.106 58 9/4/2026
0.1.0-preview.1.105 59 9/4/2026
0.1.0-preview.1.104 56 9/4/2026
0.1.0-preview.1.103 59 9/4/2026
0.1.0-preview.1.102 62 9/3/2026
0.1.0-preview.1.101 67 9/3/2026
0.1.0-preview.1.96 91 9/3/2026
0.1.0-preview.1.95 69 9/3/2026
0.1.0-preview.1.94 67 9/3/2026
0.1.0-preview.1.93 58 9/3/2026
0.1.0-preview.1.92 64 9/3/2026
0.1.0-preview.1.91 61 9/3/2026
0.1.0-preview.1.90 66 9/3/2026
0.1.0-preview.1.89 57 9/3/2026
Loading failed