Documentation / @facturometro/einvoice / UncheckedDocument
Type Alias: UncheckedDocument ​
UncheckedDocument =
UncheckedCreditNote|UncheckedInvoice
Defined in: packages/core/src/model/index.ts:60
Parser output of either kind; narrow on kind.
Example ​
ts
import type { UncheckedDocument } from '@facturometro/core';
const id = (document: UncheckedDocument) => document.id;