Build UBL 2.1 Compliant Documents
A powerful TypeScript library for creating XML documents using the Universal Business Language (UBL) 2.1 standard. Perfect for electronic invoicing and business document automation.
Key Features
UBL 2.1 Compliant
Generate XML documents that fully comply with the UBL 2.1 standard specification
Type-Safe API
Built with TypeScript for complete type safety and excellent IDE support
50+ Components
Comprehensive set of Common Aggregate Components for all business needs
DIAN Extensions
Built-in support for Colombian DIAN electronic invoicing extensions
Validation & Error Handling
Comprehensive validation ensures your documents are always valid
Utilities Included
Date formatting, math operations, and SHA hashing utilities built-in
Quick Start
Install the package via npm:View Complete Examples
Explore detailed examples with real-world use cases
Popular Use Cases
Electronic Invoicing
Create compliant invoices for electronic billing systems
Tax Compliance
Generate tax-compliant documents with automatic calculations
Business Automation
Automate document generation in your business workflows
Colombian DIAN
Support for Colombian tax authority electronic invoicing
Explore the Documentation
Installation
Set up the library in your project
Core Concepts
Understand UBL and document structure
API Reference
Complete API documentation