InvoiceInvoiceTypeEnum: { CreditNote: "CreditNote"; Invoice: "Invoice" } = ...