Zorg.Pdf.Invoicing
0.1.0-preview.1
Suggested Alternatives
Additional Details
It's now part of the core package
This is a prerelease version of Zorg.Pdf.Invoicing.
dotnet add package Zorg.Pdf.Invoicing --version 0.1.0-preview.1
NuGet\Install-Package Zorg.Pdf.Invoicing -Version 0.1.0-preview.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="Zorg.Pdf.Invoicing" Version="0.1.0-preview.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zorg.Pdf.Invoicing" Version="0.1.0-preview.1" />
<PackageReference Include="Zorg.Pdf.Invoicing" />
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 Zorg.Pdf.Invoicing --version 0.1.0-preview.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Zorg.Pdf.Invoicing, 0.1.0-preview.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.
#:package Zorg.Pdf.Invoicing@0.1.0-preview.1
#: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=Zorg.Pdf.Invoicing&version=0.1.0-preview.1&prerelease
#tool nuget:?package=Zorg.Pdf.Invoicing&version=0.1.0-preview.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Zorg.Pdf.Invoicing
Factur-X and ZUGFeRD e-invoices for Zorg.Pdf: the invoice people read as a tagged PDF, with the Cross Industry Invoice (CII) XML your invoicing system writes embedded in it for software to read.
Pre-release: the API will change before 1.0.
using Zorg.Pdf;
using Zorg.Pdf.Invoicing;
FacturXInvoice facturX = FacturX.Read(await File.ReadAllBytesAsync("invoice.xml", cancellationToken));
var options = facturX.ApplyTo(new RenderOptions { Fonts = fonts, Conformance = PdfConformance.PdfUA1, Archive = PdfArchive.PdfA3a });
await facturX.ApplyTo(invoice).RenderAsync(output, options, cancellationToken);
- Reads the profile from the XML: MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED or XRECHNUNG.
- Embeds the XML unchanged as
factur-x.xml(xrechnung.xmlfor XRECHNUNG), with the relationship receivers expect. - Writes the
fx:metadata (document type, file name, version, conformance level) and its PDF/A extension schema. - Claims PDF/A-3 at the level asked for, 3b at least.
- Reads the XML with DTDs and external resources off, and refuses anything that isn't CII.
It doesn't make the XML or check it against EN 16931's business rules: that's the invoicing system's job, and its validator's. The PDF's content is your document, so keep it saying what the XML says.
Documentation
- Diagnostics (ZPDF-X001 to X003)
- Changelog
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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.
-
net10.0
- Zorg.Pdf (>= 0.1.0-preview.1)
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 | |
|---|---|---|---|
| 0.1.0-preview.1 | 55 | 11/15/2026 |