Skip to content

Documentation / @facturometro/einvoice / ModelPath

Type Alias: ModelPath ​

ModelPath = readonly (number | string)[]

Defined in: packages/core/src/issue.ts:34

Where a diagnostic points inside the document model: property names and array indexes.

Example ​

ts
import type { ModelPath } from '@facturometro/core';

const path: ModelPath = ['invoiceLine', 2, 'price', 'priceAmount'];

MIT licensed. Specification artefacts belong to OpenPEPPOL, CEN and OASIS.