International.EInvoicing.Countries.Croatia 1.1.0

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

International.EInvoicing.Countries.Croatia

What Croatian electronic invoicing adds on top of the norms.

Croatia's Fiskalizacija 2.0 mandate has been live for domestic B2B since 1 January 2026. Invoices are UBL 2.1 exchanged over a five-corner Peppol-style network, so this package builds on International.EInvoicing.Peppol. What lives here is the thing a Croatian invoice cannot be written without: the OIB of both parties.

CroatianEInvoicing hrvatska = CroatianEInvoicing.Create();

EInvoice invoice = hrvatska.Invoice()
    .WithNumber("2026-0001")
    .IssuedOn(new DateOnly(2026, 9, 1))
    .WithBuyerReference("REF-2026-0001")
    .From(seller => hrvatska.Describe(seller, "69435151530", "Dobavljač d.o.o."))
    .To(buyer => hrvatska.Describe(buyer, "12345678903", "Kupac d.o.o."))
    .AddLine(line => line.WithItem("Savjetovanje").WithNetAmount(3000m).WithVat("S", 25m))
    .WithComputedVatBreakdown()
    .WithComputedTotals()
    .Build();

Describe checks the OIB against ISO/IEC 7064 MOD 11,10 before writing it, derives the VAT number from it, and puts it where both the legal registration and the electronic address are read from.

What this package does not do, and cannot:

  • The advanced electronic seal. Every Croatian invoice must carry one, backed by an OIB-linked certificate from an approved Croatian trust service provider. Signing is not in this library's scope.
  • The fiscalisation messages. Issuer and recipient each report to the tax administration in near real time. That is transport, which is permanently out of scope.
  • The KPD classification code every line must carry. Set it on Item.ClassificationCodes under list CG; the rules carry all 3 359 permitted codes, so a plausible one that is not among them is refused.

CIUS-HR 2025 is carried, profile and rules both. Its 74 assertions are not redistributable, so they are fetched rather than shipped: build/fetch-specs.sh national, then AddCroatianRulesFrom(...). With AddCroatianOperator(...) — which writes the time of issue and the operator's name and OIB, three terms EN 16931 has no words for — an invoice this package writes satisfies all 74.

See docs/standards/country-hr.md.

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 96 9/7/2026
1.0.1-alpha.0.3 68 9/7/2026
1.0.1-alpha.0.2 61 9/7/2026
1.0.1-alpha.0.1 67 9/7/2026
1.0.0 98 9/5/2026
0.1.0-preview.1.107 65 9/5/2026
0.1.0-preview.1.106 57 9/4/2026
0.1.0-preview.1.105 66 9/4/2026
0.1.0-preview.1.104 51 9/4/2026
0.1.0-preview.1.103 63 9/4/2026
0.1.0-preview.1.102 67 9/3/2026
0.1.0-preview.1.101 70 9/3/2026
0.1.0-preview.1.96 76 9/3/2026
0.1.0-preview.1.95 72 9/3/2026
0.1.0-preview.1.94 58 9/3/2026
0.1.0-preview.1.93 57 9/3/2026
0.1.0-preview.1.92 59 9/3/2026
0.1.0-preview.1.91 54 9/3/2026
0.1.0-preview.1.90 62 9/3/2026
0.1.0-preview.1.89 54 9/3/2026
Loading failed