Skip to content

Documentation / @einvoice-ts/validator / ValidationRulesetInfo

Interface: ValidationRulesetInfo ​

Defined in: packages/validator/src/engine/validate.ts:124

The composition a run resolved, plus the customization id it was resolved from.

Example ​

ts
import type { ValidationRulesetInfo } from '@einvoice-ts/validator';

const describe = (info: ValidationRulesetInfo) => `${info.id}@${info.version}`;

Extends ​

Properties ​

customizationId? ​

readonly optional customizationId?: string

Defined in: packages/validator/src/engine/validate.ts:126

normalize-space(cbc:CustomizationID) of the document, when it has one.


id ​

readonly id: string

Defined in: packages/core/src/issue.ts:99

The members' ids joined with +, in list order, for example en16931+peppol.

Inherited from ​

RulesetInfo.id


ids ​

readonly ids: readonly string[]

Defined in: packages/core/src/issue.ts:101

Ids of the composed rulesets, in list order.

Inherited from ​

RulesetInfo.ids


version ​

readonly version: string

Defined in: packages/core/src/issue.ts:103

The members' versions joined with +, in the order of ids, for example 1.3.16+3.0.22.

Inherited from ​

RulesetInfo.version


versions ​

readonly versions: readonly string[]

Defined in: packages/core/src/issue.ts:105

Versions of the composed rulesets, parallel to ids.

Inherited from ​

RulesetInfo.versions

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.