Download the PHP package lopezsoft/ubl21dian without Composer

On this page you can find all versions of the php package lopezsoft/ubl21dian. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ubl21dian

UBL 2.1 DIAN

Core for electronic invoicing pre-validation - DIAN UBL 2.1.

Latest Release

Version 3.6.9 (2026-07-11)

🐛 FIX: Corregida generación de <ds:X509SerialNumber> para soportar certificados con números de serie largos de FIMA Digital.

Fixed

Changed

Added

Technical Details


Version 3.6.8 (2026-02-24)

🔄 CHANGE: Fallback automático al endpoint de producción cuando To está vacío.

Changed


Version 3.6.7 (2026-02-24)

🐛 FIX: Validación del endpoint en Client.php antes de ejecutar cURL.

Fixed


Version 3.6.6 (2026-02-23)

🐛 FIX: Mejorado el mensaje de error en Client.php cuando curl_error() retorna vacío.

Fixed


Version 3.6.5 (2025-12-03)

🐛 FIX: Corrección de métodos públicos ConsultarCUDS() y ConsultarCUDE() en SignDocumentSupport.php.

Fixed

Technical Details

Los métodos públicos ConsultarCUDS() y ConsultarCUDE() no estaban aplicando el truncado a 2 decimales, lo que podía generar hashes incorrectos si el usuario los llamaba directamente.

⚠️ Actualización recomendada si utiliza los métodos ConsultarCUDS() o ConsultarCUDE() directamente.


Version 3.6.4 (2025-11-21)

✅ SOLUCIÓN DEFINITIVA: Corrección final del método truncateDecimals() eliminando completamente el uso de number_format() en el resultado.

Fixed

Changed

Technical Details

Affected Files

⚠️ Actualización CRÍTICA: Esta es la solución definitiva después de 4 intentos. Implementa exactamente la especificación DIAN: "con decimales a dos (2) dígitos truncados".


Version 3.6.3 (2025-11-19)

🐛 HOTFIX: Corregido bug crítico de precisión flotante en truncateDecimals().

Fixed

Changed

Example

⚠️ Actualización urgente recomendada si sus documentos contienen valores sin decimales o con exactamente 2 decimales.


Version 3.6.2 (2025-11-18)

🔧 CORRECCIÓN CRÍTICA: Implementación de truncado en lugar de redondeo para valores monetarios según especificación DIAN.

Fixed

Changed

Technical

⚠️ Importante: Esta corrección puede cambiar CUFEs/CUDEs existentes, pero es necesaria para cumplir con la especificación de la DIAN.


Version 3.6.1 (2025-11-17)

Extensión del fix crítico: Esta versión extiende la corrección de formateo a 2 decimales a TODOS los archivos de firma XAdES.

Changed

Added

Improved


Version 3.6.0 (2025-11-17)

⚠️ BREAKING FIX: Corrección del cálculo de CUFE/CUDE para cumplir con la especificación de la DIAN (2 decimales exactos en SignInvoice.php).

Changed

Added

Improved

Nota: Si anteriormente usaba valores con más de 2 decimales, el CUFE/CUDE generado será diferente (ahora correcto según especificación DIAN).


Tags

Resources

Installation

Requirements

Authors

License

MIT License - see LICENSE file for details

Support


All versions of ubl21dian with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.0
ext-dom Version *
ext-xml Version *
ext-curl Version *
ext-libxml Version *
ext-openssl Version *
ext-xmlwriter Version *
ext-bcmath Version *
nesbot/carbon Version ^2.19 || ^3.8
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lopezsoft/ubl21dian contains the following files

Loading the files please wait ...