# InvoiceValidationReport

Validation evidence bound to exact invoice bytes and an explicit authority release.

Class 

`OfficeIMO.Invoicing.Validation`

**Namespace**

`OfficeIMO.Invoicing.Validation`

**Assembly**

`OfficeIMO.Invoicing.Validation`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[InvoiceValidationReport.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L10)

**Modifiers**

sealed

Validation evidence bound to exact invoice bytes and an explicit authority release.

## Inheritance

- object
- InvoiceValidationReport

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [InvoiceValidator.ValidateAsync](/api/invoicing-validation/officeimo-invoicing-validation-invoicevalidator/#method-validateasync-byte-officeimo-invoicing-invoicespecificationrelease-threading-cancellationtoken)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Sha256 { get; }` [#](#property-sha256)

[InvoiceValidationReport.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L10)

SHA-256 of the exact invoice bytes validated.

`public int Length { get; }` [#](#property-length)

[InvoiceValidationReport.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L12)

Length of the exact invoice bytes validated.

`public InvoiceSpecificationRelease Release { get; }` [#](#property-release)

[InvoiceValidationReport.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L14)

Pinned rule release used by this run.

`public InvoiceValidationStatus SchemaStatus { get; }` [#](#property-schemastatus)

[InvoiceValidationReport.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L16)

Native XML Schema validation outcome.

`public InvoiceValidationStatus BusinessRulesStatus { get; }` [#](#property-businessrulesstatus)

[InvoiceValidationReport.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L18)

Schematron validation outcome.

`public string? Runner { get; }` [#](#property-runner)

[InvoiceValidationReport.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L20)

Engine identity after an invoice-rule process started, including failed executions. Null for startup failure or compiler-only execution.

`public IReadOnlyList<InvoiceDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[InvoiceValidationReport.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L22)

All schema, engine and rule diagnostics.

`public bool IsValid { get; }` [#](#property-isvalid)

[InvoiceValidationReport.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L24)

True only when both schema and business rules ran successfully and found no errors.

`public string AuthorityBundleSha256 { get; }` [#](#property-authoritybundlesha256)

[InvoiceValidationReport.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L26)

SHA-256 of the authority bundle that supplied this release's schema and primary rules.

`public string AuthoritySource { get; }` [#](#property-authoritysource)

[InvoiceValidationReport.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L30)

Immutable source used for the authority bundle.

`public string? AuthoritySourceCommit { get; }` [#](#property-authoritysourcecommit)

[InvoiceValidationReport.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L34)

Source commit when the selected authority bundle is pinned directly to a repository commit.

`public string? PeppolSourceSha256 { get; }` [#](#property-peppolsourcesha256)

[InvoiceValidationReport.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceValidationReport.cs#L38)

Additional Peppol source hash when the selected release needs it.

<!-- PowerForge markdown artifact sha256:384F0310124C6A59EAB9257B8E473F1E5067F3464A50CBDA4064236526716CF3 -->
