-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from invopop/release-0.201.0
Release 0.201.0
- Loading branch information
Showing
6 changed files
with
253 additions
and
224 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
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,238 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/tax/addon-def", | ||
"key": "co-dian-v2", | ||
"name": { | ||
"en": "Colombia DIAN UBL 2.X" | ||
}, | ||
"description": { | ||
"en": "Extensions to support the Colombian DIAN (Dirección de Impuestos y Aduanas Nacionales)\nspecifications for electronic invoicing based on UBL 2.1." | ||
}, | ||
"extensions": [ | ||
{ | ||
"key": "co-dian-municipality", | ||
"name": { | ||
"en": "DIAN Municipality Code", | ||
"es": "Código de municipio DIAN" | ||
}, | ||
"desc": { | ||
"en": "The municipality code as defined by the DIAN.\n\nFor further details on the list of possible codes, see:\n\n * https://www.dian.gov.co/atencionciudadano/formulariosinstructivos/Formularios/2007/Codigos_municipios_2007.pdf\n * https://github.com/ALAxHxC/MunicipiosDane" | ||
}, | ||
"pattern": "^\\d{5}$" | ||
}, | ||
{ | ||
"key": "co-dian-credit-code", | ||
"name": { | ||
"en": "Credit Code", | ||
"es": "Código de Crédito" | ||
}, | ||
"desc": { | ||
"en": "DIAN correction code for credit notes", | ||
"es": "Código de corrección DIAN para notas de crédito" | ||
}, | ||
"values": [ | ||
{ | ||
"value": "1", | ||
"name": { | ||
"en": "Partial refund", | ||
"es": "Devolución parcial" | ||
}, | ||
"desc": { | ||
"en": "Partial refund of part of the goods or services.", | ||
"es": "Devolución de parte de los bienes; no aceptación de partes del servicio." | ||
} | ||
}, | ||
{ | ||
"value": "2", | ||
"name": { | ||
"en": "Revoked", | ||
"es": "Anulación" | ||
}, | ||
"desc": { | ||
"en": "Previous document has been completely cancelled.", | ||
"es": "Anulación de la factura anterior." | ||
} | ||
}, | ||
{ | ||
"value": "3", | ||
"name": { | ||
"en": "Discount", | ||
"es": "Descuento" | ||
}, | ||
"desc": { | ||
"en": "Partial or total discount.", | ||
"es": "Rebaja o descuento parcial o total." | ||
} | ||
}, | ||
{ | ||
"value": "4", | ||
"name": { | ||
"en": "Adjustment", | ||
"es": "Ajuste" | ||
}, | ||
"desc": { | ||
"en": "Price adjustment.", | ||
"es": "Ajuste de precio." | ||
} | ||
}, | ||
{ | ||
"value": "5", | ||
"name": { | ||
"en": "Other", | ||
"es": "Otros" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "co-dian-debit-code", | ||
"name": { | ||
"en": "Debit Code", | ||
"es": "Código de Débito" | ||
}, | ||
"desc": { | ||
"en": "DIAN correction code for debit notes", | ||
"es": "Código de corrección DIAN para notas de débito" | ||
}, | ||
"values": [ | ||
{ | ||
"value": "1", | ||
"name": { | ||
"en": "Interest", | ||
"es": "Intereses" | ||
} | ||
}, | ||
{ | ||
"value": "2", | ||
"name": { | ||
"en": "Pending charges", | ||
"es": "Gastos por cobrar" | ||
} | ||
}, | ||
{ | ||
"value": "3", | ||
"name": { | ||
"en": "Change in value", | ||
"es": "Cambio del valor" | ||
} | ||
}, | ||
{ | ||
"value": "4", | ||
"name": { | ||
"en": "Other", | ||
"es": "Otros" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"scenarios": null, | ||
"identities": [ | ||
{ | ||
"key": "co-civil-register", | ||
"name": { | ||
"en": "Civil Registry", | ||
"es": "Registro Civil" | ||
}, | ||
"map": { | ||
"dian-company-id": "11" | ||
} | ||
}, | ||
{ | ||
"key": "co-id-card", | ||
"name": { | ||
"en": "Identity Card", | ||
"es": "Tarjeta de Identidad" | ||
}, | ||
"map": { | ||
"dian-company-id": "12" | ||
} | ||
}, | ||
{ | ||
"key": "co-citizen-id", | ||
"name": { | ||
"en": "Citizen Identity Card", | ||
"es": "Cédula de ciudadanía" | ||
}, | ||
"map": { | ||
"dian-company-id": "13" | ||
} | ||
}, | ||
{ | ||
"key": "co-foreigner-id-card", | ||
"name": { | ||
"en": "Foreigner Identity Card", | ||
"es": "Tarjeta de Extranjería" | ||
}, | ||
"map": { | ||
"dian-company-id": "21" | ||
} | ||
}, | ||
{ | ||
"key": "co-foreigner-id", | ||
"name": { | ||
"en": "Foreigner Citizen Identity", | ||
"es": "Cédula de extranjería" | ||
}, | ||
"map": { | ||
"dian-company-id": "22" | ||
} | ||
}, | ||
{ | ||
"key": "co-passport", | ||
"name": { | ||
"en": "Passport", | ||
"es": "Pasaporte" | ||
}, | ||
"map": { | ||
"dian-company-id": "41" | ||
} | ||
}, | ||
{ | ||
"key": "co-foreign-id", | ||
"name": { | ||
"en": "Foreign Document", | ||
"es": "Documento de identificación extranjero" | ||
}, | ||
"map": { | ||
"dian-company-id": "42" | ||
} | ||
}, | ||
{ | ||
"key": "co-pep", | ||
"name": { | ||
"en": "PEP - Special Permit to Stay", | ||
"es": "PEP - Permiso Especial de Permanencia" | ||
}, | ||
"map": { | ||
"dian-company-id": "47" | ||
} | ||
}, | ||
{ | ||
"key": "co-nuip", | ||
"name": { | ||
"en": "NUIP - National Unique Personal Identification Number", | ||
"es": "NUIP - Número Único de Identificación Personal" | ||
}, | ||
"map": { | ||
"dian-company-id": "91" | ||
} | ||
} | ||
], | ||
"corrections": [ | ||
{ | ||
"schema": "bill/invoice", | ||
"types": [ | ||
"credit-note", | ||
"debit-note" | ||
], | ||
"extensions": [ | ||
"co-dian-credit-code", | ||
"co-dian-debit-code" | ||
], | ||
"reason_required": true, | ||
"stamps": [ | ||
"dian-cude" | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.