> For the complete documentation index, see [llms.txt](https://docs.afipsdk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.afipsdk.com/recursos/preguntas-frecuentes.md).

# Preguntas frecuentes

Aquí encontraras las preguntas más frecuentes que se hacen los desarrolladores al utilizar los web services de AFIP.

#### **¿Cuáles son todos los pasos a seguir para emitir una factura electrónica?**

Lo primero es obtener el CAE y Vencimiento del CAE de la factura, una vez obtenido queda crear la factura en algún formato de archivo no modificable, como PDF o imagen, y allí poner el CAE, su vencimiento y el código QR correspondiente.

Lo ultimo es enviar la factura por algún medio electrónico al cliente.

***

#### **¿Cómo se anula una Factura?**

Con una Nota de Crédito con los mismos datos que la factura.

***

#### **¿Por qué los web services del padrón me muestran datos erróneos?**

En testing los web services del padrón muestran datos de prueba, pero no te preocupes en producción te mostrara los datos reales.

***

#### **¿Por qué al consultar datos del padrón devuelve siempre null?**

En modo testing suelen funcionar mal los servidores de AFIP y traer siempre null, pero no te preocupes funciona bien en producción.

***

#### **¿Por qué los comprobantes que género en modo testing no se validan en la página de AFIP?**

El modo testing (Homologación) genera comprobantes de prueba para que puedas comprobar que tu código funciona correctamente. Para crear comprobantes validos deberás pasar al modo producción.

***

#### **¿Debo usar WSFEV1 O WSMTXCA?**

Para la mayoria de los casos debes usar el WSFEV1, el WSMTXCA solo debe se usa cuando AFIP te obliga a hacerlo, sino ni siquiera te habilita el uso.

***

**¿Debo instalar los certificados en el servidor?**

No es necesario realizar una “instalación”, lo único que hay que hacer es copiar los archivos en el proyecto para que la librería los pueda leer.


---

# 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://docs.afipsdk.com/recursos/preguntas-frecuentes.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.
