FacturXDotNet.CLI 0.0.0-alpha.0.92

Prefix Reserved
This is a prerelease version of FacturXDotNet.CLI.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global FacturXDotNet.CLI --version 0.0.0-alpha.0.92
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local FacturXDotNet.CLI --version 0.0.0-alpha.0.92
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FacturXDotNet.CLI&version=0.0.0-alpha.0.92&prerelease
                    
nuke :add-package FacturXDotNet.CLI --version 0.0.0-alpha.0.92
                    
FacturX.NET CLI v1.0.0+4470971efa42b446a00d5a16d69ce7b8aebc59c7
Copyright © 2025 Ismail Bennani

Usage:
  facturx [command] [options]

Options:
  --version       Show version information
  -?, -h, --help  Show help and usage information

Commands:
  extract <path>   Extracts the content of a Factur-X PDF.
  validate <path>  Validates the content of a Factur-X PDF.

Extract

FacturX.NET CLI v1.0.0+4470971efa42b446a00d5a16d69ce7b8aebc59c7
Copyright © 2025 Ismail Bennani

Usage:
  facturx extract <path> [options]

Arguments:
  <path>  The path to the Factur-X PDF.

Options:
  --cii <path>             Extracts the content of the CII XML. Optionally specify a path, otherwise the CII XML will be saved next to the PDF with the same name.
  --cii-attachment <name>  The name of the CII attachment. [default: factur-x.xml]
  --xmp <path>             Extracts the content of the XMP metadata. Optionally specify a path, otherwise the XMP metadata will be saved next to the PDF with the same name.
  -?, -h, --help           Show help and usage information

Example:

facturx validate "0.MINIMUM\Facture_F20220023-LE_FOURNISSEUR-POUR-LE_CLIEN_MINIMUM.pdf" --cii --xmp

Result

✔ Extracted CII XML to 'D:\source\repos\BenchmarkFacturX\Specification 1.0.07.2\5. FACTUR-X 1.07.2 - Examples\0.MINIMUM\Facture_F20220023-LE_FOURNISSEUR-POUR-LE_CLIENT_MINIMUM.xml' in 42 milliseconds.
✔ Extracted XMP metadata to 'D:\source\repos\BenchmarkFacturX\Specification 1.0.07.2\5. FACTUR-X 1.07.2 - Examples\0.MINIMUM\Facture_F20220023-LE_FOURNISSEUR-POUR-LE_CLIENT_MINIMUM.xmp' in 4 milliseconds.

Validate

FacturX.NET CLI v1.0.0+4470971efa42b446a00d5a16d69ce7b8aebc59c7
Copyright © 2025 Ismail Bennani

Usage:
  facturx validate <path> [options]

Arguments:
  <path>  The path to the Factur-X PDF.

Options:
  --cii-attachment <name>                                      The name of the CII attachment. [default: factur-x.xml]
  --warnings-as-errors                                         Treat warnings as errors.
  -p, --profile <Basic|BasicWl|En16931|Extended|Minimum|None>  The profile to use for validation. If set, the profile will override the one specified in the Factur-X file.
  -s, --skip-rule                                              The business rules that should be skipped. Example: --skip-rule "BR-DE-1" --skip-rule "BR-DE-2"
  -?, -h, --help                                               Show help and usage information

Example

facturx validate "0.MINIMUM\Facture_F20220023-LE_FOURNISSEUR-POUR-LE_CLIEN_MINIMUM.pdf"

Result

╭─Options──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Document             D:\source\repos\BenchmarkFacturX\Specification 1.0.07.2\5. FACTUR-X 1.07.2 - Examples\0.MINIMUM\Facture_F20220023-LE_FOURNISSEUR-POUR-LE_CLIENT_MINIMUM.pdf │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

✔ The document has been parsed in 122 milliseconds.
✔ The document has been checked in 36 milliseconds.

✔ The document is valid.
✔ Document profile: Minimum.
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.5.9-alpha 118 4/21/2025
0.5.8-alpha 124 4/20/2025
0.5.7-alpha 118 4/20/2025
0.5.6-alpha 121 4/20/2025
0.5.5-alpha 122 4/20/2025
0.5.4-alpha 91 4/18/2025
0.5.3-alpha 151 4/16/2025
0.5.2-alpha 154 4/15/2025
0.5.1-alpha 149 4/15/2025
0.5.0-alpha 150 4/15/2025
0.4.2-alpha 133 4/13/2025
0.4.1-alpha 141 4/13/2025
0.3.7-alpha 119 4/8/2025
0.3.6-alpha 118 4/8/2025
0.3.5-alpha 121 4/8/2025
0.3.4-alpha 121 4/8/2025
0.3.2-alpha 120 4/8/2025
0.3.1-alpha 117 4/6/2025
0.2.1-alpha 99 3/27/2025
0.1.0-alpha 431 3/26/2025
0.0.0-alpha.0.92 235 3/23/2025
0.0.0-alpha.0.73 119 3/23/2025
0.0.0-alpha.0.70 124 3/22/2025