Skip to content

Documentation / @facturometro/core / DocumentInput

Type Alias: DocumentInput ​

DocumentInput = CreditNoteInput | InvoiceInput

Defined in: packages/core/src/model/index.ts:48

Builder input of either kind (the builders decide the kind, so there is no discriminant).

Example ​

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

const currency = (input: DocumentInput) => input.documentCurrencyCode;

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