Skip to content

Documentation / @einvoice-ts/validator / Profile

Type Alias: Profile ​

Profile = "01" | "02" | "Unknown"

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

The process a document declares, as the Schematron's $profile variable computes it from cbc:ProfileID: 01 (billing), 02 (billing with response) or Unknown.

Example ​

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

const profile: Profile = '01';

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.