# SPED x Espião

A funcionalidade **SPED x Espião** permite realizar um comparativo de notas do **arquivo SPED Fiscal** com os documentos armazenados no Espião Cloud.

### 📃 Para realizar o comparativo de notas, siga as etapas a seguir

1. No menu **Outros**, selecione a opção **SPED x Espião.**

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FXiMc9xFRvGLKneL3xNnN%2Fspe.png?alt=media&#x26;token=5f2ec65b-ae9f-43b6-8227-e4dd3056f5dd" alt="" width="363"><figcaption></figcaption></figure></div>

2. Selecione o local onde o arquivo está salvo ou solte o arquivo SPED no campo pontilhado para iniciar o comparativo.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FWw0P8Ed6jRFA2WbXi0Gl%2Fimage.png?alt=media&#x26;token=6d61cedf-96dd-49c2-af55-3efea250487e" alt="" width="563"><figcaption></figcaption></figure></div>

3. **Aguarde alguns instantes e será exibido na tela o resultado.**

* **Visualizar Totais:** ao clicar será exibido o resultado total do comparativo no rodapé da pagina.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FDGkz1lrH2QKZ9U9vCrsJ%2Fvisualizar-totais-sped-espiao.png?alt=media&#x26;token=7cf9abb1-b6ef-4747-bb96-1a54be4dd368" alt="" width="563"><figcaption></figcaption></figure></div>

* **Visualizar chaves faltantes no SPED:** Esse botão será habilitado quando houver notas faltantes no SPED comparado ao Espião.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FTEFwsvyCDGbjruuhXn1a%2Fresultado-sped-espiao.png?alt=media&#x26;token=cb24b773-5f43-45b0-9e0e-9db24671ea11" alt="" width="563"><figcaption></figcaption></figure></div>

* **Visualizar chaves faltantes no Espião**: Esse botão será habilitado quando houver notas faltantes no Espião comparado ao SPED.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2Ffjtbg2PRyzZzEDJwf6rA%2Fvisualizar-chaves-faltantes-sped.png?alt=media&#x26;token=6557e66c-1f06-4a41-abbc-cecb2be12ec4" alt="" width="488"><figcaption></figcaption></figure></div>

* **Exportar tabela**: Exporta os dados da tabela como um relatório XLSX.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FHh96JVyj2BROCqB89Fa8%2Fexel-sepd-nfe.png?alt=media&#x26;token=517fd3eb-723a-4fd2-90dc-b372a0f3585b" alt="" width="152"><figcaption></figcaption></figure></div>


---

# Agent Instructions: 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:

```
GET https://ajuda.espiaonfe.com.br/gestao/nf-e/sped-x-espiao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
