# PROC001.4 Transformar DC-e selecionados em CT-e

<table border="1" id="bkmrk-%C2%A0-projeto%2Fsistema%3Age" style="border-collapse: collapse; width: 100.123%; height: 49px;"><tbody><tr style="border-style: solid;"><td rowspan="3" style="width: 26.6667%; height: 49px; border-color: black; border-top-style: hidden; border-left-style: hidden; border-bottom-style: hidden;"><span style="color: #000000;">[![logosoften1.png](https://docs.softensistemas.com.br/uploads/images/gallery/2026-04/scaled-1680-/logosoften1.png)](https://docs.softensistemas.com.br/uploads/images/gallery/2026-04/logosoften1.png)</span>

</td><td style="width: 49.9999%; height: 10px; border-color: black; border-style: solid;"><span style="color: #000000;">**Projeto/Sistema:**</span>  
<span style="color: #000000;">DC-e GerencieAqui</span></td><td class="align-center" style="width: 23.3333%; height: 10px; border-color: black; border-style: solid;"><span style="color: #000000;">**Versão do *Template:***</span>  
<span style="color: #000000;">1.2</span></td></tr><tr style="border-style: solid;"><td style="width: 49.9999%; height: 29px; border-color: black; border-style: solid;"><span style="color: #000000;">**Processo:**</span>  
Transformar selecionados em CT-e</td><td class="align-center" style="width: 23.3333%; height: 29px; border-color: black; border-style: solid;"><span style="color: #000000;">**Versão do Documento:**</span>  
<span style="color: #000000;">1.0</span></td></tr><tr style="border-style: solid;"><td style="width: 49.9999%; height: 10px; border-color: black; border-style: solid;"><span style="color: #000000;">**Responsável(eis):** </span>  
<span style="color: #000000;">Daniela Taino</span></td><td class="align-center" style="width: 23.3333%; height: 10px; border-color: black; border-style: solid;"><span style="color: #000000;">**Data:** </span>

<span style="color: #000000;">05/05/2026</span>

</td></tr></tbody></table>

##### <span style="color: #000000;">**1. Introdução**</span>

<span style="color: #000000;"> Essa documentação visa descrever o processo de transformação de uma ou mais DC-e em um CTe.</span>

##### <span style="color: #000000;">**2. Processos**</span>

<table cellpadding="9" cellspacing="0" id="bkmrk-processo-envolvidos-" style="width: 100%; height: 127px;" width="100%"><tbody><tr style="height: 35px;" valign="top"><td bgcolor="#acb9ca" style="border-style: solid; border-color: black; width: 27%; height: 35px;" width="27%"><span style="font-size: small; color: #000000;">**Processo**</span>

</td><td bgcolor="#acb9ca" style="border-style: solid; border-color: black; width: 19%; height: 35px;" width="19%"><span style="font-size: small; color: #000000;">**Envolvidos**</span>

</td><td bgcolor="#acb9ca" style="border-style: solid; border-color: black; width: 27%; height: 35px;" width="27%"><span style="font-size: small; color: #000000;">**Dados de Entrada**</span>

</td><td bgcolor="#acb9ca" style="border-style: solid; border-color: black; width: 27%; height: 35px;" width="27%"><span style="font-size: small; color: #000000;">**Dados de Saída**</span>

</td></tr><tr style="height: 46px;" valign="top"><td style="border-style: solid; border-color: black; height: 46px; width: 27%;" width="27%"><span style="color: #000000;">PROC001 - Listagem de DC-e</span></td><td style="border-style: solid; border-color: black; height: 46px; width: 19%;" width="19%"> </td><td style="width: 27%; height: 46px;" width="27%"><span style="color: #000000;">Listagem dos DC-e lançados</span></td><td style="border-style: solid; border-color: black; height: 46px; width: 27%;" width="27%"></td></tr><tr style="height: 46px;"><td style="border-style: solid; border-color: black; height: 46px; width: 27%;"><span style="color: #000000;">PROC002 - Novo DC-e</span></td><td style="border-style: solid; border-color: black; height: 46px; width: 19%;"><span style="color: #000000;">-</span></td><td style="border-style: solid; border-color: black; height: 46px; width: 27%;"><span style="color: #000000;">Novos DC-e ou edição de DC-e já lançados</span>

</td><td style="border-style: solid; border-color: black; height: 46px; width: 27%;"><span style="color: #000000;">DC-e cadastrado ou alterado</span>

</td></tr></tbody></table>

#### <span style="color: #000000;">**Processos Relacionados** </span>

- - - - - -

[PROC002 - Novo DC-e](https://docs.softensistemas.com.br/books/dce-documentacao-de-conteudo-eletronica/page/proc002-novo-dc-e)

#### <span style="color: #000000;">**Especificação Funcional**</span>

- - - - - -

#### <span style="color: #000000;">**PROC001.4 Transformar DC-e selecionados em CT-e** </span>

##### ***Regras de Interface:***

**1.** Ao clicar na opção e a transformação ser possível, a tela da edição CT-e deverá ser aberta com as seguintes informações preenchidas:

[![image-1778026926232.png](https://docs.softensistemas.com.br/uploads/images/gallery/2026-05/scaled-1680-/image-1778026926232.png)](https://docs.softensistemas.com.br/uploads/images/gallery/2026-05/image-1778026926232.png)

  
  
2.** Caso mais que uma DC-e seja selecionado e a transformação não possa acontecer (dois destinatários diferentes), deverá ser exibida a seguinte mensagem de erro "Não é possível transformar DC-e de destinatários diferentes em um único CT-e!".  
**3**. Caso a emissão seja feita no modo de credenciamento "transportadora", os remetentes das DC-e selecionadas também devem ser os mesmos. Caso não seja, exibir a mensagem de erro . "Não é possível transformar DC-e de emitentes diferentes em um único CT-e!". Essa regra e a regra 2 são complementares.   
**4**. Ao selecionar uma ou mais DC-e com status que não seja "Autorizado" para transformação, deverá ser exibida uma mensagem de erro "Selecione somente DC-e autorizadas para transformar em CTe!". Para esse caso, mesmo que alguma das selecionadas esteja autorizada, nada fazer.

##### ***Regras de Negócio:***

  
**1**. Somente as DC-e com status "Autorizado" poderão ser transformadas em CT-e, ou seja, DCe\_stAutorizado sendo verdadeiro.

#####  