> For the complete documentation index, see [llms.txt](https://docs.enapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enapi.com/enapi-documentation-pt/documentacao-tecnica/suporte-as-versoes-ocpi-2.1.1-2.2.1-e-2.3.0.md).

# Suporte às versões OCPI 2.1.1, 2.2.1 e 2.3.0

A ENAPI suporta três versões OCPI. O nosso motor de tradução trata automaticamente das diferenças, por isso parceiros em versões diferentes ainda podem fazer roaming entre si.

<table><thead><tr><th width="101.55859375">Versão</th><th width="156.81640625">Estado</th><th>Notas</th></tr></thead><tbody><tr><td><strong>2.1.1</strong></td><td>Totalmente suportado</td><td>Amplamente adotado. Não tem suporte nativo a hub.</td></tr><tr><td><strong>2.2.1</strong></td><td>Totalmente suportado</td><td>O mais utilizado. Adiciona suporte a hub, tarifas mais ricas e endpoints baseados em funções.</td></tr><tr><td><strong>2.3.0</strong></td><td>Recomendado</td><td>Mais recente. Gestão de credenciais e tratamento de sessões melhorados. Suporte nativo a HGV e PnC. </td></tr></tbody></table>

{% hint style="info" %}
**Nota:** OCPI 2.2 (sem o patch .1) não é suportado.
{% endhint %}

### Que versão devo usar?

Se está a começar do zero, recomendamos **2.2.1 ou superior**.

Se já tem uma implementação 2.1.1 a funcionar, não precisa de atualizar. O nosso motor de tradução lida com as diferenças de versão entre si e os seus parceiros — pode ligar-se na 2.1.1 e fazer roaming com um parceiro na 2.3.0 sem que nenhum dos lados tenha de fazer nada de especial. Saiba mais sobre [Interoperabilidade entre versões OCPI](/enapi-documentation-pt/funcionalidades-avancadas/interoperabilidade-entre-versoes-ocpi.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://docs.enapi.com/enapi-documentation-pt/documentacao-tecnica/suporte-as-versoes-ocpi-2.1.1-2.2.1-e-2.3.0.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.
