Obtener xml por Cufe
POST/api/ubl2.1/xml/document/:cufe
CONSULTA DEL XML DE UN DOCUMENTO POR CUFE
Este endpoint permite consultar y obtener el archivo XML de un documento electrónico registrado en la DIAN, utilizando el CUFE del documento.
URL de uso:
http://apidian2024.oo/api/ubl2.1/xml/document/{cufe}
- CUFE: Identificador único del documento .
Autenticación:
Requiere un token de autorización (API_TOKEN).
Parámetros en la URL:
- CUFE.
Request
Headers
| Header | Valor |
|---|---|
Content-Type | application/json |
Accept | application/json |
Authorization | Bearer <TU_TOKEN> |
Responses
- 200
Successful response