@fin.cx/einvoice
Version:
A TypeScript module for creating, manipulating, and embedding XML data within PDF files specifically tailored for electronic invoice (einvoice) packages.
14 lines (13 loc) • 470 B
TypeScript
import { BaseDecoder } from '../base/base.decoder.js';
/**
* Factory to create the appropriate decoder based on the XML format
*/
export declare class DecoderFactory {
/**
* Creates a decoder for the specified XML content
* @param xml XML content to decode
* @param skipValidation Whether to skip EN16931 validation
* @returns Appropriate decoder instance
*/
static createDecoder(xml: string, skipValidation?: boolean): BaseDecoder;
}