Novolis.Xsd.Ubl.Lean
2026.1.2.26
dotnet add package Novolis.Xsd.Ubl.Lean --version 2026.1.2.26
NuGet\Install-Package Novolis.Xsd.Ubl.Lean -Version 2026.1.2.26
<PackageReference Include="Novolis.Xsd.Ubl.Lean" Version="2026.1.2.26" />
<PackageVersion Include="Novolis.Xsd.Ubl.Lean" Version="2026.1.2.26" />
<PackageReference Include="Novolis.Xsd.Ubl.Lean" />
paket add Novolis.Xsd.Ubl.Lean --version 2026.1.2.26
#r "nuget: Novolis.Xsd.Ubl.Lean, 2026.1.2.26"
#:package Novolis.Xsd.Ubl.Lean@2026.1.2.26
#addin nuget:?package=Novolis.Xsd.Ubl.Lean&version=2026.1.2.26
#tool nuget:?package=Novolis.Xsd.Ubl.Lean&version=2026.1.2.26
Novolis.Xsd.Ubl.Lean
StripEmbedded Base projections of UBL Invoice, CreditNote, and Reminder: sealed records + interfaces (InvoiceBase / IInvoiceBase, …) with shared spine IBillingDocumentBase.
Embedded binaries become metadata-only BinaryObjectRef (mime/filename/uri/format/encoding/characterSet) — no byte[] on the Lean graph.
CBC/UDT wrappers that carry XML attributes (currencyID, schemeID, listID, …) are kept as Base records (e.g. PayableAmountBase, IDBase) so Peppol-critical metadata survives Wire ↔ Lean.
Generate
dotnet run --project d:\novolis\novolis-tools\src\Novolis.Xsd.Cli\Novolis.Xsd.Tool.csproj -- ubl-base --repo d:\novolis\novolis-xsd
Sources land in Generated/ (committed).
Map Wire ↔ Base
var lean = InvoiceBaseMapper.ToBase(wireInvoice);
var wireAgain = InvoiceBaseMapper.FromBase(lean); // does not restore attachment bytes
// lean.LegalMonetaryTotal.PayableAmount.currencyID is preserved
Same pattern: CreditNoteBaseMapper, ReminderBaseMapper.
NuGet
<PackageReference Include="Novolis.Xsd.Ubl.Lean" Version="2026.1.*" />
Install
dotnet add package Novolis.Xsd.Ubl.Lean
Prerequisites: .NET 10 SDK (net10.0).
| 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. |
-
net10.0
- Novolis.Xsd.Ubl (>= 2026.1.2.26)
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 |
|---|---|---|
| 2026.1.2.26 | 132 | 10/18/2026 |
| 2026.1.2.24 | 101 | 10/18/2026 |
| 2026.1.2.23 | 112 | 10/4/2026 |
| 2026.1.2.21 | 99 | 10/1/2026 |
| 2026.1.2.20 | 106 | 9/30/2026 |