> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invopop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Colombia FAQ

> Frequently asked questions about invoicing compliance in Colombia

### Compliance questions

> [accordion] Who must issue electronic invoices in Colombia?
>
> All businesses selling goods or services in Colombia. The FEV (Factura Electrónica de Venta) has been mandatory for B2B and B2G invoices since 2020, and since 2024 B2C transactions must be documented with the Documento Equivalente Electrónico, bringing retail and point-of-sale receipts under the electronic system as well.

> [accordion] What format does the DIAN require for electronic invoices?
>
> OASIS UBL 2.1 following the DIAN schema. Colombia operates a clearance model (continuous transaction control): each invoice is digitally signed, submitted to the DIAN, and validated in real time. On validation, the invoice receives a CUFE (Código Único de Factura Electrónica) that makes it legally valid.

> [accordion] Do I need to report invoices to the DIAN separately?
>
> No. E-reporting is fully integrated into the FEV clearance flow — an invoice is reported to the tax authority at the moment the DIAN validates it. There are no separate periodic invoice submissions.

> [accordion] How long must invoices be archived in Colombia?
>
> A minimum of five years, counted from January 1 of the year following issuance or receipt. The obligation applies to both the issuer and the receiver, and covers the original XML, its digital signature, and the DIAN validation response.

> [accordion] What is RADIAN?
>
> RADIAN is the DIAN registry that turns validated invoices into negotiable instruments. Once the buyer accepts an invoice, it can be registered in RADIAN as a "título valor electrónico", allowing it to be factored, used as loan collateral, or legally enforced for payment.

> [accordion] Does Invopop support the Documento Equivalente Electrónico (B2C)?
>
> Not currently. For B2C transactions you can issue equivalent simplified FEV invoices instead, which are fully supported through the [Colombia app](https://docs.invopop.com/apps/colombia.md).

### Invoicing questions

> [accordion] My GOBL document for a Colombian invoice fails to build because of the postal code
>
> The DIAN expects a 5-digit [municipal code](https://www.dian.gov.co/atencionciudadano/formulariosinstructivos/Formularios/2007/Codigos_municipios_2007.pdf), not a 6-digit postal code, in the [`co-dian-municipality`](https://docs.gobl.org/addons/co-dian-v2) extension of the supplier and of customers identified by a Colombian NIT. For example, use `11001` for Bogotá.

> [accordion] How does Invopop issue invoices in Colombia?
>
> Through [Alegra](https://www.alegra.com), an authorized DIAN technology provider. The [send workflow](https://docs.invopop.com/guides/co-dian-invoicing.md) signs the GOBL envelope, clears it with the DIAN, stamps the CUFE and QR code, and generates a compliant PDF.

> [accordion] What does a GOBL invoice need to be accepted by the DIAN?
>
> Set `$schema` to `https://gobl.org/draft-0/bill/invoice`, the supplier's `tax_id.country` to `CO`, and include the supplier's DIAN municipality code via the [`co-dian-municipality`](https://docs.gobl.org/addons/co-dian-v2) extension in its `ext`. Customers identified by a Colombian NIT need the extension too; foreign customers and `simplified` B2C invoices don't (see [When is the municipality code required?](https://docs.invopop.com/guides/co-dian-invoicing.md#when-is-the-municipality-code-required)). See the [GOBL Colombia tax regime](https://github.com/invopop/gobl/blob/main/regimes/co/README.md) for the full field reference and examples.

> [accordion] Do foreign or consumer customers need a municipality code?
>
> No. The [`co-dian-municipality`](https://docs.gobl.org/addons/co-dian-v2) extension is only required on customers identified by a Colombian NIT, that is, with `tax_id.country` set to `CO` and a `tax_id.code`. Foreign customers, `simplified` B2C invoices without a customer, and consumers identified only by a cédula build without it. Invopop can't derive the code from the NIT, so collect it for each Colombian business customer.

> [accordion] Which taxes can appear on a Colombian invoice?
>
> VAT (IVA, 19% standard or 5% reduced), consumption taxes (IC, INC), the industry and commerce tax (ICA), and the retained taxes ReteIVA, ReteICA, and Retefuente. A single invoice may need to combine up to three value added and retained taxes, all supported by the [GOBL Colombia tax regime](https://docs.gobl.org/regimes/co#tax-categories).

> [accordion] Which document types can I issue in Colombia?
>
> Invoices, credit notes, and debit notes. Credit and debit notes reference the corrected invoice in the `preceding` array; debit notes require every preceding entry to carry the `dian-cude` stamp of the original invoice.

> [accordion] What are the sandbox limitations for Colombia?
>
> Only Alegra's NIT (`9005590882`) can be the supplier. Invoices use series `SETP` with codes `990000000`–`995000000` (shared across users, so avoid common codes) and today's date in Colombia.

> [accordion] Why was my invoice rejected for its series or number?
>
> The series, code, and issue date must fall within an active DIAN numbering resolution. Resolutions are refreshed automatically, so a rejection usually means the range isn't linked to Alegra yet, or it expired or ran out and the supplier needs a new one. See [Numbering resolutions](https://docs.invopop.com/guides/co-dian-registration.md#numbering-resolutions).

### Registering supplier questions

> [accordion] What does a supplier need before issuing invoices in Colombia?
>
> The supplier must be registered with the DIAN with an active RUT (Registro Único Tributario), complete the DIAN habilitación, and hold a valid billing numbering range authorization. The [supplier registration guide](https://docs.invopop.com/guides/co-dian-registration.md) walks through each step.

> [accordion] How do I register a supplier in Colombia?
>
> Upload a GOBL party with the supplier's name, NIT (with verification digit), and email, then run the registration workflow. It publishes an enablement portal link under `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](https://docs.invopop.com/guides/co-dian-registration.md).

> [accordion] What is the DIAN habilitación?
>
> A one-time DIAN certification required before issuing real invoices. The supplier submits a TestSetId from the DIAN portal through the hosted portal, Alegra sends the test documents, and the supplier is enabled once the DIAN accepts them.

> [accordion] The enablement failed: how do I know why?
>
> The [enablement status](https://docs.invopop.com/api-ref/apps/gov-co/enablement-get.md) only says `failed`. The DIAN's reason is in the faults of the registration job: check the entry's job history in the Console, [fetch the job](https://docs.invopop.com/api-ref/transform/jobs/fetch-a-job.md) via the API, or receive it in a [Send Webhook](https://docs.invopop.com/guides/webhooks.md) step in the workflow's error handling flow. Fix the cause and re-run the registration workflow to start again. See [Failed enablement](https://docs.invopop.com/guides/co-dian-registration.md#failed-enablement).

> [accordion] Do I need to register suppliers in the sandbox?
>
> Yes, but only Alegra's NIT (`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](https://docs.invopop.com/guides/co-dian-registration.md#sandbox) of the guide.

> [accordion] Does the billing numbering range authorization expire?
>
> Yes. Authorizations are valid for 2 years and also end when their numbers run out. Before a range with unused numbers expires, the supplier can extend it ([extension request](https://www.dian.gov.co/impuestos/factura-electronica/Documents/Numeracion2022-Habilitacion-F.pdf)); once it's used up, they request a new one ([new authorization](https://www.dian.gov.co/impuestos/factura-electronica/Documents/Numeracion2022-AutorizacionF.pdf)). Updated resolutions are picked up automatically.

> [card] [Participate in our community](https://community.invopop.com)
>
> Ask and answer questions about Colombia's regulation →


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.