-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
75 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
title: Colombia DIAN UBL 2.X | ||
--- | ||
Extensions to support the Colombian DIAN (Dirección de Impuestos y Aduanas Nacionales) | ||
specifications for electronic invoicing based on UBL 2.1. | ||
|
||
## Correction Definitions | ||
|
||
Auto-generation of corrective invoices or credit and debit notes is | ||
supported. | ||
|
||
A reason is required in the <code>reason</code> field | ||
when submitting the correction options. | ||
|
||
### Invoice Types | ||
|
||
The types of invoices that can be created with a preceding definition: | ||
- <code>credit-note</code> | ||
- <code>debit-note</code> | ||
|
||
### Stamp Keys | ||
|
||
Stamp keys from the previous invoice that need to be referenced: | ||
- <code>dian-cude</code> | ||
|
||
### Extension Keys | ||
|
||
One or all of the following extensions may be required as part of the correction | ||
options. See the [Extensions](#extensions) section for possible values. | ||
- <code>co-dian-credit-code</code> | ||
- <code>co-dian-debit-code</code> | ||
|
||
## Extensions | ||
|
||
The following extensions are supported. | ||
|
||
### DIAN Municipality Code | ||
|
||
Key: <code>co-dian-municipality</code> | ||
|
||
The municipality code as defined by the DIAN. | ||
|
||
For further details on the list of possible codes, see: | ||
|
||
* https://www.dian.gov.co/atencionciudadano/formulariosinstructivos/Formularios/2007/Codigos_municipios_2007.pdf | ||
* https://github.com/ALAxHxC/MunicipiosDane | ||
|
||
### Credit Code | ||
|
||
Key: <code>co-dian-credit-code</code> | ||
|
||
DIAN correction code for credit notes | ||
|
||
| Value | Name | | ||
| ---- | ---- | | ||
| <code>1</code> | Partial refund | | ||
| <code>2</code> | Revoked | | ||
| <code>3</code> | Discount | | ||
| <code>4</code> | Adjustment | | ||
| <code>5</code> | Other | | ||
|
||
### Debit Code | ||
|
||
Key: <code>co-dian-debit-code</code> | ||
|
||
DIAN correction code for debit notes | ||
|
||
| Value | Name | | ||
| ---- | ---- | | ||
| <code>1</code> | Interest | | ||
| <code>2</code> | Pending charges | | ||
| <code>3</code> | Change in value | | ||
| <code>4</code> | Other | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters