> For the complete documentation index, see [llms.txt](https://docs.vrsoft.com.br/vrmaster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vrsoft.com.br/vrmaster/gestao-do-conhecimento/gestao-do-conhecimento-vr-master/gestao-do-conhecimento-vr-master-nota-fiscal/gestao-do-conhecimento-vr-erp-nota-fiscal-entrada/cvc-complex-type24a-foi-detectado-um-conteudo-invalido-comecando-com-o-elemento-det-era-esperado-um.md).

# cvc-complex-type24a Foi detectado um conteúdo inválido começando com o elemento det Era esperado um dos httpwwwportalfiscalinfbrnfe total

**Ocorre ao ultrapassar o limite de 500Kbytes da nota fiscal referente aos itens lançados.**

* Acesse a nota fiscal e limite o lançamento a no máximo 900 itens. Caso o erro persista, abaixe para 850 e assim sucessivamente.
* Para os itens restantes, utilize o lançamento de uma nova nota fiscal.

**OBS: Não é possível identificar qual a quantidade correta de itens a ser lançado, pois o limite dos itens é referente ao tamanho do arquivo XML que por sua vez permite o limite de 500KBytes. Sendo assim, este tamanho será medido conforme a quantidade de caracteres no XML, como por exemplo o tamanho de cada descrição dos produtos.**


---

# 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://docs.vrsoft.com.br/vrmaster/gestao-do-conhecimento/gestao-do-conhecimento-vr-master/gestao-do-conhecimento-vr-master-nota-fiscal/gestao-do-conhecimento-vr-erp-nota-fiscal-entrada/cvc-complex-type24a-foi-detectado-um-conteudo-invalido-comecando-com-o-elemento-det-era-esperado-um.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.
