Class CrossIndustryInvoiceValidationOptions
Provides configuration options for the FacturXDotNet.Validation.CrossIndustryInvoiceValidator.
Assembly: FacturXDotNet.dll
csharp
public class CrossIndustryInvoiceValidationOptions
Properties
ProfileOverride
The profile to use for validation.
csharp
public FacturXProfile? ProfileOverride { get; set; }
TreatWarningsAsErrors
Whether to treat warnings as errors during validation.
csharp
public bool TreatWarningsAsErrors { get; set; }
RulesToSkip
The list of rules to skip during validation.
csharp
public List<string> RulesToSkip { get; }
Logger
The logger that should be used by the validator.
csharp
public ILogger? Logger { get; set; }
CheckCallback
The callback that should be called when a business rule validation result is available. These results will also be available in the final validation report, this callback can be used to display the results asap, e.g. in a UI. Note that this callback will be called for each rule, performance may be affected if the callback is slow.
csharp
public Action<BusinessRuleValidationResult>? CheckCallback { get; set; }