Skip to content

Documentation / @einvoice-ts/validator / identifiers / dkSeNumber

Function: dkSeNumber() ​

dkSeNumber(value): boolean

Defined in: packages/validator/src/identifiers/dk.ts:59

A Danish SE number: DK and eight digits.

Parameters ​

value ​

string

The element text, raw.

Returns ​

boolean

true when the format matches.

Example ​

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

dkSeNumber('DK12345678'); // true
dkSeNumber('12345678'); // false

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.