# InvoiceRuleBundle

Immutable, hash-verified authority artifacts loaded from local files. No network requests are made.

Class 

`OfficeIMO.Invoicing.Validation`

**Namespace**

`OfficeIMO.Invoicing.Validation`

**Assembly**

`OfficeIMO.Invoicing.Validation`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[InvoiceRuleBundle.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L35)

**Modifiers**

sealed

Immutable, hash-verified authority artifacts loaded from local files. No network requests are made.

## Inheritance

- object
- InvoiceRuleBundle

## Usage

Explore 2 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 [InvoiceRuleBundle.Load](/api/invoicing-validation/officeimo-invoicing-validation-invoicerulebundle/#method-load-string-string-string)

### Accepted by parameters 1

- Constructor [InvoiceValidator.InvoiceValidator](/api/invoicing-validation/officeimo-invoicing-validation-invoicevalidator/#constructor-ctor-officeimo-invoicing-validation-invoicerulebundle-officeimo-invoicing-validation-saxoninvoicerulesrunner) parameter `bundle`

Filter members 

Show inherited

## Methods

`public static InvoiceRuleBundle Load(string xRechnungArchivePath, string? peppolSchematronPath = null, string? facturXArchivePath = null)` [#](#method-load-string-string-string)

[InvoiceRuleBundle.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L35)

Loads the pinned KoSIT archive and optional Peppol and Factur-X sources. Changed or corrupt artifacts are rejected.

Parameters

**xRechnungArchivePath string required**

**peppolSchematronPath string? = null optional**

**facturXArchivePath string? = null optional**

Returns

`InvoiceRuleBundle`

## 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 bool HasPeppolRules { get; }` [#](#property-haspeppolrules)

[InvoiceRuleBundle.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L52)

True when the pinned optional Peppol rule source is loaded.

`public bool HasFacturXRules { get; }` [#](#property-hasfacturxrules)

[InvoiceRuleBundle.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L54)

True when all five pinned Factur-X 1.09.2 profile schemas and rules are loaded.

## Fields

`public const string XRechnungDownloadUrl` [#](#field-xrechnungdownloadurl)

[InvoiceRuleBundle.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L11)

Official KoSIT archive used for CII/UBL schemas, EN 16931 rules and XRechnung rules.

Value: `https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/download/v2026-08-31/xrechnung-3.0.2-validator-configuration-2026-08-31.zip`

`public const string XRechnungSha256` [#](#field-xrechnungsha256)

[InvoiceRuleBundle.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L13)

SHA-256 of the pinned KoSIT archive.

Value: `2530CD107C414511C5D0462EC10F886910395ABFCA820DB82E83D70BF01221A8`

`public const string PeppolDownloadUrl` [#](#field-peppoldownloadurl)

[InvoiceRuleBundle.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L15)

Immutable official Peppol source matching the published 3.0.21 artifact and pinned release hash.

Value: `https://raw.githubusercontent.com/OpenPEPPOL/peppol-bis-invoice-3/806866bd2bd91d7e9623b68f08164e8fbe9e67a0/rules/sch/PEPPOL-EN16931-UBL.sch`

`public const string PeppolSha256` [#](#field-peppolsha256)

[InvoiceRuleBundle.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L17)

SHA-256 of Peppol BIS Billing 3.0.21 Schematron.

Value: `62E5B67892F12755352D78B06F63229A02CC2ECCC748677C56EFBC8DBCB336E3`

`public const string FacturXDownloadUrl` [#](#field-facturxdownloadurl)

[InvoiceRuleBundle.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L19)

Immutable Apache-2.0 validator configuration containing the five Factur-X 1.09.2 profile schemas and rules.

Value: `https://codeload.github.com/LandrixSoftware/validator-configuration-zugferd/zip/8399f5459df34b2af9cae0d613870649b3f17a58`

`public const string FacturXSourceCommit` [#](#field-facturxsourcecommit)

[InvoiceRuleBundle.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L21)

Source commit of the pinned Factur-X/ZUGFeRD validator configuration.

Value: `8399f5459df34b2af9cae0d613870649b3f17a58`

`public const string FacturXSha256` [#](#field-facturxsha256)

[InvoiceRuleBundle.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Validation/InvoiceRuleBundle.cs#L23)

SHA-256 of the pinned Factur-X/ZUGFeRD validator configuration archive.

Value: `505D889923A3C58EA1EA59D65DA602C25656B918F55D6856B4BDA45B107B56D3`

<!-- PowerForge markdown artifact sha256:6BD38B35F861E544D7ECE17BA0903E80012035C7A1A4F997FC42F66B66697C76 -->
