Skip to content

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

Function: nlOin() ​

nlOin(value): boolean

Defined in: packages/validator/src/identifiers/nl.ts:35

A Dutch OIN number: twenty digits.

Parameters ​

value ​

string

The identifier, whitespace-normalized.

Returns ​

boolean

true when the format matches.

Example ​

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

nlOin('00000001234567890000'); // true

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.