Skip to content

Documentation / @einvoice-ts/core / codelistDocsUrl

Function: codelistDocsUrl() ​

codelistDocsUrl(listId): string

Defined in: packages/core/src/constants.ts:207

Builds the documentation URL of a code list.

Parameters ​

listId ​

string

Code list id as used by the documentation site, for example UNCL5305.

Returns ​

string

The documentation URL, with a trailing slash.

Example ​

ts
import { codelistDocsUrl } from '@einvoice-ts/core';

codelistDocsUrl('ISO4217'); // 'https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/'

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.