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

# Artefactos

> XML firmado, RFCE, representación impresa y acuse DGII.

| Tipo            | Qué es                       | Desde                                                                            |
| --------------- | ---------------------------- | -------------------------------------------------------------------------------- |
| `generated-xml` | XML sin firma                | `signed`                                                                         |
| `signed-xml`    | XML firmado (XML-DSig)       | `signed`                                                                         |
| `rfce`          | Resumen de consumo           | Solo E32 con monto \< RD\$250,000, desde `signed`. E31 y E33–E47 no llevan RFCE. |
| `ri`            | Representación impresa (PDF) | `accepted`                                                                       |
| `dgii-response` | Respuesta DGII               | `accepted` / `rejected`                                                          |

```bash theme={null}
curl https://api.emite.do/api/v1/client/documents/$PUBLIC_ID/artifacts \
  -H "X-API-Key: $EMITE_API_KEY"

curl -L -o firmado.xml \
  https://api.emite.do/api/v1/client/documents/$PUBLIC_ID/artifacts/signed-xml \
  -H "X-API-Key: $EMITE_API_KEY"

curl -L -o ri.pdf \
  "https://api.emite.do/api/v1/client/documents/$PUBLIC_ID/artifacts/ri" \
  -H "X-API-Key: $EMITE_API_KEY"
```

Atajos equivalentes:

| Endpoint                           | Artefacto   |
| ---------------------------------- | ----------- |
| `GET /api/v1/ecf/{public_id}/xml`  | XML firmado |
| `GET /api/v1/ecf/{public_id}/rfce` | RFCE        |
| `GET /api/v1/ecf/{public_id}/pdf`  | RI          |
