Skip to content

validate

Validates the content of a Factur-X PDF.

Usage

facturx validate <path> [options]

Arguments

  • <path>
    The path to the Factur-X PDF.
    Type: string

Options

  • --cii-name <name>
    The name of the CII attachment.
    Type: string
    Default: factur-x.xml

  • --warnings-as-errors
    Treat warnings as errors.
    Type: true | false
    Default: false

  • --profile
    The profile to use for validation. If set, the profile will override the one specified in the Factur-X file.
    Aliases: -p
    Type: none | minimum | basicwl | basic | en16931 | extended

  • --skip-rule
    The business rules that should be skipped. Example: --skip-rule "BR-1" --skip-rule "BR-2"
    Aliases: -s
    Type: string

  • --verbosity
    Set the verbosity level.
    Aliases: -v
    Type: quiet | minimal | normal | detailed | diagnostic
    Default: normal

The tools are open source and released under the MIT License, feel free to use, modify, and share.