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

    Class MappingService

    Generate an Invoice object (data in the internal invoice format) from spreadsheet data and a Mapping.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Transform invoice spreadsheet data to invoice data in the internal format via a mapping.

      Parameters

      • dataBuffer: Uint8Array<ArrayBufferLike> | WorkBook

        the spreadsheet data either as a Uint8Array or an XLSX.WorkBook

      • format: string

        one of the supported invoice formats, see FormatFactoryService.listFormatServices

      • mapping: Mapping

        the mapping definition

      Returns Invoice

      the invoice data in the internal format