Documentation / @facturometro/einvoice / 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;