> 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/ct-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.

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 **CT-e**

<div align="left"><figure><img src="/files/LAWglwNv3J8q1oKypH6R" alt="" width="375"><figcaption></figcaption></figure></div>

### **1. Importar direto pelo sistema**

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

<div align="left"><figure><img src="/files/yd2iyLmWOVu3ilq05ODl" 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.

<figure><img src="/files/UWdDLS6Y70T0AyYnvGPo" alt=""><figcaption></figcaption></figure>

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

Aguarde finalizar para verificar o resultado.&#x20;

<figure><img src="/files/ssSg9Jep8RTglNUbmFm8" alt=""><figcaption></figcaption></figure>

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.&#x20;
* 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/ct-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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/importar-xml.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
