Erro em dPag

20 views
Skip to first unread message

Almeida Rodrigues

unread,
Mar 29, 2026, 1:46:29 PM (7 days ago) Mar 29
to NFePHP
Estou com o seguinte erro:
$schema = 'PL_009_V4'
Se preencher o dPag o resultado é:
Este XML não é válido. Element '{http://www.portalfiscal.inf.br/nfe}dPag': This element is not expected. Expected is ( {http://www.portalfiscal.inf.br/nfe}card ).

Se remover o dPag, ou preencher com null, o resultado é:
This page contains the following errors:
error on line 1 at column 1: Start tag expected, '<' not found
Below is a rendering of the page up to the first error. XML de retorno em anexo!
teste.xml

Marcelo Carvalho

unread,
Mar 30, 2026, 7:57:04 AM (7 days ago) Mar 30
to nfe...@googlegroups.com
bom dia

aqui ja tem um erro

<emit>
 <cMun>3304904</cMun>
        <xMun>S&#xE3;o Gon&#xE7;alo</xMun>   <<<--- aqui
        <UF>RJ</UF>
        <CEP>24456000</CEP>


<dest>
  <xBairro>Trindade</xBairro>
        <cMun>3304904</cMun>
        <xMun>S&#xE3;o Gon&#xE7;alo</xMun>  <<<-- aqui 
        <UF>RJ</UF>
        <CEP>24457490</CEP>



sua tag <pag>

    <pag>
      <detPag>
        <tPag>01</tPag>
        <vPag>1000.00</vPag>
        <dPag>2026-03-29</dPag>
        <card>
          <tpIntegra>2</tpIntegra>
        </card>
      </detPag>
      <vTroco>0.00</vTroco>
    </pag>


eu faço assim <pag>

<pag>
  <detPag>
    <indPag>1</indPag>
    <tPag>15</tPag> 
    <vPag>180.00</vPag>
  </detPag>
</pag>





--
--
Você recebeu esta mensagem porque está inscrito no Grupo "NFePHP".
Para Postar: nfe...@googlegroups.com
Para Sair do Grupo: nfephp+un...@googlegroups.com
Link: http://groups.google.com.br/group/nfephp?hl=pt-BR
-------
Repositórios: https://github.com/nfephp-org
---
You received this message because you are subscribed to the Google Groups "NFePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nfephp+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/nfephp/99a68bdb-c775-4cd0-a70d-90a014d654e9n%40googlegroups.com.


--


Atenciosamente,


Marcelo Carvalho

(48) 9 9946-4774 (tim-watts)

marcel...@gmail.com

Reply all
Reply to author
Forward
0 new messages