> For the complete documentation index, see [llms.txt](https://ajuda.espiaonfe.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.espiaonfe.com.br/gestao/nfc-e/historico/importar-xml.md).

# Importar XML

### 🤔 O que seria Importar XML?

A funcionalidade **Importar XML** permite transferir arquivos XML do seu computador para o sistema, garantindo armazenamento seguro na nuvem. Esse recurso é essencial para simplificar a importação e o gerenciamento dos seus documentos fiscais.

Além do upload direto pelo sistema, também é possível realizar a importação **via e-mail**. Basta enviar seus arquivos XML para o endereço exclusivo da sua conta, e o sistema fará o processamento automático, armazenando todos os documentos válidos.

Neste tutorial, você aprenderá como efetuar o upload de XML de forma prática, rápida e eficiente.\
Vamos começar! 🚀

### 📃 Para Importar XMLs, siga as instruções a seguir

No menu **Histórico**, selecione a opção **NFC-e**

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FXmpTeGLTxjiCCAFtZtJk%2Fvisualizar-notas-consultadas.png?alt=media&amp;token=f229b1fd-db7e-49d1-97e0-1eff529462f8" alt="" width="375"><figcaption></figcaption></figure></div>

Na aba **“NFC-e Histórico”** clique no ícone correspondente.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FsaVzP00JkQvFERX6N0JY%2Fimportar-xml-nfc-e.png?alt=media&amp;token=541a038e-124c-46da-b8b2-95cc333c2506" alt="" width="563"><figcaption></figcaption></figure></div>

Clique ou solte os arquivos para iniciar a importação, após clique iniciar para realizar a importação.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FbD3vcBMxYteLbNDL3o7g%2Fimportar-xml.png?alt=media&amp;token=1c505524-12d2-4034-a114-2e94f1ed0aca" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
**ATENÇÃO**\
Não serão permitidos arquivos compactados .ZIP, .RAR, etc.
{% endhint %}

Aguarde finalizar para verificar o resultado.&#x20;

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FgHFyuttzQR4sZAZBOj4y%2Ffinalizar-importacao-xml.png?alt=media&amp;token=38dc7b64-3097-45b2-8cca-4580e5a6eb08" alt="" width="563"><figcaption></figcaption></figure></div>

Pronto, seus arquivos foram armazenados com sucesso 🤗!&#x20;

**Documentos aceitos:**

* NF-e (Nota Fiscal Eletrônica) - Entrada e Saída
* CT-e (Conhecimento de Transporte) - Entrada e Saída
* NFS-e (Nota Fiscal de Serviço Nacional) - Prestados, Tomados e Intermediário.
* NFC-e (Nota Fiscal de Consumidor) - Entrada e Saída

***

### Como visualizar os XMLs que foram importados?

Neste caso é só realizar a pesquisa através do [Histórico](/gestao/nfc-e/historico/pesquisar-documentos.md).


---

# 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://ajuda.espiaonfe.com.br/gestao/nfc-e/historico/importar-xml.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.
