> For the complete documentation index, see [llms.txt](https://wikiedoc.guru-soft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wikiedoc.guru-soft.com/pe/proceso-de-facturacion/pasos-para-habilitarse-en-facturacion-electronica.md).

# Pasos para habilitarse en Facturación Electrónica

Antes de iniciar la emisión electrónica en producción, el contribuyente debe cumplir una serie de requisitos técnicos y tributarios establecidos por SUNAT.&#x20;

&#x20;

1\. RUC Activo y Habido: Tener RUC activo en SUNAT sin restricciones tributarias y habilitado para emisión electrónica.&#x20;

2\. Definir Modalidad de Emisión: Elegir entre facturación vía OSE, vía PSE, integración directa o Portal SUNAT.&#x20;

3\. Certificado Digital: Archivo .PFX o .P12 vigente, emitido por entidad autorizada, utilizado para firma electrónica.&#x20;

4\. Configuración Tributaria: Series autorizadas, tipo de documentos, sucursales, impuestos, monedas y régimen tributario.&#x20;

5\. Configuración Técnica: URLs de servicios, credenciales API, tokens, certificados e integraciones ERP.&#x20;

6\. Habilitación Ambiente QA: Pruebas de estructura XML/JSON, firma digital y respuesta OSE/SUNAT.&#x20;

7\. Homologación / Certificación: Ejecutar casos obligatorios del OSE y validar aceptación SUNAT.&#x20;

8\. Pase a Producción: Habilitar credenciales productivas, URLs PRD, series oficiales e iniciar emisión real.&#x20;

&#x20;

### Pasos para Habilitarse en Facturación Electrónica (QA y PROD)&#x20;

El proceso de habilitación garantiza que el emisor electrónico cuente con configuración tributaria válida, certificados digitales, ambientes habilitados e integraciones correctamente configuradas.&#x20;

&#x20;

Flujo General de Habilitación&#x20;

Cliente → Configuración Tributaria → Certificado Digital&#x20;

→ Ambiente QA → Pruebas / Homologación&#x20;

→ Ambiente Producción → Emisión Oficial&#x20;

&#x20;

### Ambientes QA y Producción&#x20;

| Característica     | Ambiente QA (Calidad)              | Ambiente Producción (PRD)       |
| ------------------ | ---------------------------------- | ------------------------------- |
| Uso                | Pruebas funcionales y homologación | Emisión oficial de comprobantes |
| Validez tributaria | No                                 | Sí                              |
| Datos              | Simulados                          | Reales                          |
| Certificados       | QA                                 | Productivos                     |
| Integración SUNAT  | Sandbox / Test                     | Oficial                         |
| Riesgo operativo   | Bajo                               | Alto                            |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wikiedoc.guru-soft.com/pe/proceso-de-facturacion/pasos-para-habilitarse-en-facturacion-electronica.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
