dian-colombia

n8n custom node para DIAN Colombia - Facturación Electrónica, NIT, TRM, UVT

Package Information

Released: 5 mo ago
Downloads: 185 weekly / 983 monthly
Latest Version: 0.1.28
Author: S&G INNOVA

DocumentationAI-generated

@sg_innova/n8n-nodes-dian-colombia

Overview

Integrate Colombian DIAN electronic invoicing and tax utilities into n8n workflows with the @sg_innova/n8n-nodes-dian-colombia package. Designed for Latin American accountants, finance teams, and developers, this package connects to DIAN Colombia's tax identification utilities, TRM and UVT indicators, and the Siigo accounting API, enabling automated tax compliance and invoice management.

Nodes & Operations

DIAN Colombia

Process Colombian tax-related data by validating and formatting NITs, retrieving exchange rates and tax unit values, converting amounts between UVT and Colombian pesos, and managing electronic sales and purchase invoices, credit notes, and debit notes through the Siigo API integration.

  • NIT · Validar — Validate the format of a Colombian NIT (Tax Identification Number).
  • NIT · Formatear — Format a given NIT string into the standard Colombian format with pattern XXX.XXX.XXX-X.
  • NIT · Limpiar — Remove dots and hyphens from a Colombian NIT (tax identification number) string to produce a clean numeric identifier.
  • NIT · Calcular DV — Calculate the verification digit (Dígito de Verificación) for a Colombian NIT base number (9-digit string).
  • Indicator · TRM Dólar — Retrieve the current TRM (Tasa Representativa del Mercado) exchange rate for the US Dollar from the DIAN Colombia indicators API.
  • Indicator · Valor UVT — Retrieve the current value of the Unidad de Valor Tributario (UVT) from the DIAN Colombia indicators resource.
  • Indicator · UVT a Pesos — Convert an amount expressed in UVT (Unidad de Valor Tributario) to Colombian Pesos by specifying the UVT amount.
  • Indicator · Pesos a UVT — Convert a given amount in Colombian Pesos to its equivalent value in UVT (Unidad de Valor Tributario).
  • Emitir Factura · Factura De Venta — Submit a sales invoice (Factura De Venta) to the Siigo API in the specified environment. Configure client NIT, social reason, subtotal, IVA, total, and optionally provide an authentication token for Siigo API access.
  • Emitir Factura · Factura De Compra — Create a purchase invoice (Factura De Compra) in the Siigo accounting system via its API using specified purchase details and items.
  • Emitir Factura · Nota Crédito — Create and send a Credit Note (Nota Crédito) to the Siigo API to record a credit invoice related to a client.
  • Emitir Factura · Nota Débito — Create a Nota Débito (debit note) electronic invoice in the DIAN Colombia system using the Siigo API by providing client NIT, company name, subtotal, IVA tax, and total amounts.

Siigo Auth

Handle authentication by obtaining Bearer access tokens from the Siigo API using configured credentials, enabling secure access for invoicing operations within the DIAN Colombia ecosystem.

  • Default · Default — Authenticate against the Siigo API using credentials configured in the 'dianColombiaApi' credential and return a Bearer access token for use in subsequent nodes.

Credentials

Use the 'dianColombiaApi' credential to authenticate with the Siigo API and obtain Bearer tokens necessary for invoice-related operations.

Installation

Install as an n8n community node: in n8n, open Settings → Community nodes → Install and enter @sg_innova/n8n-nodes-dian-colombia.

Links

Discussion