Introduction
The DIAN is the Colombian government agency responsible for managing and overseeing tax collection, customs operations, and facilitating international trade. Before issuing electronic invoices, a business must be registered with the DIAN with an active RUT (Registro Único Tributario), pass the DIAN enablement (habilitación) with its chosen technology provider, and hold an authorized numbering range for its invoices. Invopop has partnered with Alegra, a DIAN-authorized technology provider, to onboard suppliers and issue documents on their behalf. Registering a supplier involves three steps:- Invopop: a workflow creates the supplier’s Alegra account and publishes a portal link.
- DIAN: the supplier selects Alegra as their technology provider and submits the enablement test set through that portal.
- Numbering (live only): the supplier links their authorized numbering range to Alegra in the DIAN portal.
Prerequisites
To register a supplier in Colombia, you will need:- Supplier details to build the GOBL party: legal name, NIT with the verification digit, and email. The address and the
co-dian-municipalityextension are optional here but required on invoices. - The supplier’s legal representative, with access to the DIAN e-invoicing portal, to select Alegra and run the enablement.
- For live issuing, a numbering range authorization (resolución de numeración) from the DIAN for each invoice series. See Numbering resolutions.
Colombia supplier
Colombia supplier
co-dian-municipality extension identifying where the supplier is registered, and uses Alegra’s sandbox NIT so it can be registered in the sandbox.co-dian-fiscal-responsibility extension: O-13 Gran contribuyente, O-15 Autorretenedor, O-23 Agente de retención IVA, or O-47 Régimen simple de tributación. It defaults to R-99-PN when none apply.Setup
All of the following steps must be carried out from the Invopop Console.Connect the Colombia app
- Navigate to Configuration → Apps
- Find Colombia in the app discovery list
- Click Connect to activate
Create the registration workflow
Colombia register supplier workflow
- Workflow
- Code
How it works
Set state → Processing
Register supplier
registration-link key in the entry’s meta section.Wait for DIAN enablement
Set state → Registered
Register a supplier
Each supplier NIT can be registered once per workspace and environment. For each supplier:Run the registration workflow
Share the portal link
link_url of the meta row with the key registration-link:Select Alegra as technology provider at the DIAN
- Goes to Registro y habilitación → Documentos electrónicos → Factura electrónica.
- Selects Software de un proveedor tecnológico as the operation mode.
- Selects Soluciones Alegra S.A.S as the provider and Alegra’s software, then clicks Asociar.
- Opens the test set details and copies the TestSetId.
Submit the test set

Enablement portal
Wait for the DIAN response
Numbering resolutions
In live, every invoice series needs a DIAN numbering range authorization linked to Alegra. This isn’t needed in the sandbox, which uses the fixedSETP test resolution.
Request the numbering range
series. Once signed, the DIAN issues form 1876 with the authorized ranges and validity. See Request for invoice numbering authorization.Link the range to Alegra
Complete the enablement via the API
For platforms that want to drive the enablement programmatically instead of sharing the hosted portal, use the enablement API (both endpoints under/apps/gov-co/v1/entries/{silo_entry_id}/enablement). The entry must belong to the authenticated workspace and have been registered first.
Submit the test set
400 when a test set is already awaiting the DIAN outcome, the supplier is already enabled, or a previous enablement failed. Run the registration workflow again to restart a failed enablement.Track the outcome
status moves from pending to accepted or failed once the DIAN responds. The workflow’s Wait for DIAN enablement step picks up the outcome exactly as it does for portal submissions.Sandbox
The same registration flow runs in sandbox workspaces against the DIAN test environment, with a few differences:- Only Alegra’s own NIT (
9005590882) can be registered, since the DIAN test registry accepts documents from that emitter alone. A NIT can be registered once per workspace, so each workspace has a single sandbox supplier. - The fixed DIAN test resolution (series
SETP, codes990000000–995000000) is seeded automatically on registration. The range is shared with other users testing in the sandbox, so pick codes unlikely to collide. - The enablement is simulated: instead of a real DIAN TestSetId, enter one of the following values in the portal to choose the outcome.
Migrate from Plemsi
Moving a supplier from the old Plemsi integration takes the same steps as a new registration. At the DIAN, the supplier simply adds Alegra as another technology provider.Set up the Colombia app
Register the supplier
Set up the numbering ranges
- Move the existing range: unlink it from Plemsi and link it to Alegra. The series stays the same, and new invoices must continue after the last number issued through Plemsi.
- Add a new range: request a new range with a new prefix and link it to Alegra. Invoices sent through Alegra start a fresh series, while the old range stays with Plemsi until it’s no longer needed.
Switch to the new send workflow
FAQ
What does a supplier need before issuing invoices in Colombia?
What does a supplier need before issuing invoices in Colombia?
How do I register a supplier in Colombia?
How do I register a supplier in Colombia?
registration-link in the entry’s meta; the supplier’s legal representative completes the DIAN enablement there, and the workflow finishes once the DIAN accepts it. See the supplier registration guide.What is the DIAN habilitación?
What is the DIAN habilitación?
Do I need to register suppliers in the sandbox?
Do I need to register suppliers in the sandbox?
9005590882) can be registered. The enablement is simulated: enter the TestSetId a70562e0-631e-4ceb-aa65-36887b57dc17 for an instant acceptance. Other outcomes are in the sandbox section of the guide.🇨🇴 Invopop resources for Colombia
🇨🇴 Invopop resources for Colombia