> For the complete documentation index, see [llms.txt](https://ajuda.pdvlegal.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.pdvlegal.com.br/integracoes/delivery-legal/tablet-na-mesa-delivery-legal.md).

# Tablet na Mesa (Delivery Legal)

O **Tablet na Mesa** é uma funcionalidade que permite ao cliente de um estabelecimento **fazer pedidos diretamente de um tablet disponibilizado na mesa**. O tablet funciona como o cardápio e a interface para realizar e confirmar o pedido.

{% hint style="danger" %}

### **Pré-requisitos:** <a href="#prrequisitos" id="prrequisitos"></a>

* **Tablet Físico:** O estabelecimento precisa ter tablets físicos com boa conexão à internet e câmera frontal.
* **Ativação no Delivery Legal:** A funcionalidade "autoatendimento tablet" deve estar ativa na configuração da loja dentro do Delivery Legal (em "Recursos").
* **Integração PDV:** O Delivery Legal deve estar integrado com o PDV Legal (Retaguarda Cloud).
* **Comanda com QR Code:** Para confirmar o pedido feito no tablet, o cliente precisará escanear um QR Code de uma comanda física (disponibilizada na mesa) usando a câmera do tablet.
* Apenas os modos "Mesa e comanda" e "Comanda" são suportados.

<img src="/files/ssy3NNEg1oGaiIVzn3mg" alt="" data-size="original">
{% endhint %}

{% hint style="info" %}
Os tablets utilizados para autoatendimento precisam atender a alguns requisitos mínimos para garantir um funcionamento estável e responsivo.
{% endhint %}

<details>

<summary>Confira os principais critérios para a escolha do dispositivo:</summary>

* **Sistema Operacional**: Android 9.0 ou superior, iOS 13 ou superior.
* **Tamanho da Tela**: Recomenda-se pelo menos 10 polegadas para melhor experiência do usuário.
* **Processador**: Quad-core 1.8GHz ou superior.
* **Memória RAM**: Mínimo de 2GB, recomendado 4GB para um desempenho mais fluido.
* **Armazenamento Interno**: Pelo menos 16GB de espaço livre.
* **Conectividade**: Wi-Fi 5GHz compatível para evitar interferências.
* **Bateria**: Capacidade para pelo menos 6 horas de uso contínuo.
* **Suporte para Montagem**: Opção de suporte para fixação no local de us

</details>

## Como ativar o Tablet na mesa?

{% stepper %}
{% step %}

### **Ative Recurso na Loja (Delivery Legal):**

* Acesse a página da loja no Delivery Legal.
* Clique na aba: Lojas
* Localize a loja e clique em "Recursos".
* Habilite a opção "Autoatendimento Tablet" (ficará verde).

<figure><img src="/files/of6c8RWkwrIhIaeauTmv" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Integre o Delivery Legal com PDV Legal (Retaguarda Cloud):

* No Retaguarda Cloud, vá em Administrativo > Filiais.
* Edite a filial desejada.

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

* Na aba "Integrações", configure o "Delivery Legal".
* Insira o "API Token" (obtido em Delivery Legal > Configurações > Geral > Chave API).
* Marque a opção: "Usar pedido na mesa".

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

{% hint style="warning" %}
O "Merchant ID" deve estar preenchido (geralmente é automático após inserir o API Token; caso contrário, pode ser copiado de Delivery Legal > Assinatura > Editar > Copiar ID).

<img src="/files/lCHYJLts9AIEFzs4ODFF" alt="" data-size="original">
{% endhint %}
{% endstep %}

{% step %}

### Associe Produtos

* Os produtos cadastrados no Retaguarda Cloud e no Delivery Legal precisam estar vinculados.
* O "**código de venda**" do produto no Retaguarda Cloud deve ser inserido no campo "**código RP**" do produto correspondente no Delivery Legal.

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

* No cadastro do produto no Delivery Legal, marcar a opção "**Autoatendimento**" para que ele apareça no cardápio do tablet.

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

* **Importação de Produtos/Grupos:** É possível adicionar produtos ou grupos inteiros de produtos do Retaguarda Cloud para o Delivery Legal (via Retaguarda Cloud > Administrativo > Filiais > Integrações > Delivery Legal > "Adicionar item").

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

{% hint style="info" %}
Isso já preenche o código RP automaticamente. **As fotos dos produtos, no entanto, precisam ser adicionadas manualmente no Delivery Legal**.
{% endhint %}
{% endstep %}

{% step %}

### Autorize o Tablet Físico:

* No Delivery Legal, ir em Autoatendimento > Modo Tablet.
* Clicar em "Configurar".

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

* Clicar em "Autorizar Tablet". Um QR Code será gerado.

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

* No tablet físico, abra a câmera e escaneie este QR Code.
* Abra o link que aparecerá no navegador do tablet.
* Clique em "Solicitar Ativação" na tela do tablet.

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

* De volta à tela do Delivery Legal (no computador), o tablet aparecerá como pendente. Clicar em "Autorizar".
* Identificar o tablet (ex: "Mesa 1", "Mesa 5"). Esse nome aparecerá como observação no pedido no PDV.

<figure><img src="/files/KNOsBAnUJDdOO49Xsfkw" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
No Retaguarda Cloud > Administrativo > Filiais > Terminais, **o terminal que receberá os pedidos do tablet deve estar com a opção "Equipamento Gestor" habilitada.**
{% endhint %}

***

## Funcionamento para o Cliente e Estabelecimento:

{% stepper %}
{% step %}
O cliente utiliza o tablet na mesa para navegar pelo cardápio e selecionar os itens do pedido.
{% endstep %}

{% step %}
Para confirmar o pedido, o tablet solicitará a leitura (via câmera frontal) do QR Code de uma comanda física que estará na mesa.
{% endstep %}

{% step %}
O pedido é enviado para o PDV (terminal gestor configurado).
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Se o estabelecimento utilizar Raspberry Pi, o pedido é automaticamente aberto como uma "mesa", e outros dispositivos conectados (como celulares de garçons com permissão) podem visualizar esse pedido em aberto.
{% endhint %}


---

# 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.pdvlegal.com.br/integracoes/delivery-legal/tablet-na-mesa-delivery-legal.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.
