Documentation / einvoice-ts / ValidateXmlOptions
Type Alias: ValidateXmlOptions ​
ValidateXmlOptions =
Omit<ValidateOptions,"diagnostics">
Defined in: packages/einvoice/src/validate-xml.ts:27
Options of validateXml: those of validate(), without diagnostics, which come from parsing the document.
Example ​
ts
import type { ValidateXmlOptions } from 'einvoice-ts';
import { dkRuleset, en16931Ruleset, peppolRuleset } from 'einvoice-ts';
const danish: ValidateXmlOptions = { ruleset: [en16931Ruleset, peppolRuleset, dkRuleset] };