@e-invoice-eu/core
    Preparing search index...

    Type Alias InvoiceServiceOptions

    Invoice creation options.

    type InvoiceServiceOptions = {
        attachments?: FileInfo[];
        embedPDF?: boolean;
        format: string;
        lang: string;
        libreOfficePath?: string;
        noWarnings?: boolean;
        pdf?: FileInfo;
        spreadsheet?: FileInfo;
    }
    Index

    Properties

    attachments?: FileInfo[]

    An array of supplementary attachments.

    embedPDF?: boolean

    Set to invoice description if invoice should be embedded.

    format: string

    The invoice format like XRECHNUNG-UBL or Factur-X-Extended.

    lang: string

    A language identifier like "fr-ca".

    libreOfficePath?: string

    Path to LibreOffice executable.

    noWarnings?: boolean

    Shut up warnings.

    pdf?: FileInfo

    A PDF version of the invoice. For Factur-X, either data or pdf must be present.

    spreadsheet?: FileInfo

    The spreadsheet data.