BREAKING CHANGE(XInvoice): Refactor XInvoice API for XML handling and PDF export by replacing deprecated methods (addXmlString and getParsedXmlData) with fromXml and loadXml, and by introducing a new ExportFormat type for type-safe export. Update tests accordingly.

This commit is contained in:
2025-03-20 14:39:32 +00:00
parent d954fb4768
commit 9510d851af
10 changed files with 174 additions and 72 deletions

View File

@ -26,6 +26,7 @@ export type {
ValidationResult,
ValidationLevel,
InvoiceFormat,
ExportFormat,
XInvoiceOptions,
IValidator
} from './interfaces.js';