Skip to content

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] };

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.