Skip to content

Documentation / @einvoice-ts/validator / IdentifierChecks

Type Alias: IdentifierChecks ​

IdentifierChecks = typeof identifiers

Defined in: packages/validator/src/engine/context.ts:90

The identifier checks the Schematron's u:* functions and inline tests perform, ported in the identifiers/ modules.

Example ​

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

const check = (ids: IdentifierChecks) => ids.gln('5901234123457');

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.