@fin.cx/einvoice
Version:
A TypeScript module for creating, manipulating, and embedding XML data within PDF files specifically tailored for electronic invoice (einvoice) packages.
16 lines (15 loc) • 489 B
TypeScript
import { BaseDecoder } from './base.decoder.js';
/**
* Factory class for creating the appropriate decoder based on XML format.
* Analyzes XML content and returns the best decoder for the given format.
*/
export declare class DecoderFactory {
/**
* Creates a decoder for the given XML content
*/
static createDecoder(xmlString: string): BaseDecoder;
/**
* Detects the XML invoice format using string pattern matching
*/
private static detectFormat;
}