Ir para conteúdo
  • Cadastre-se

dev botao

  • Este tópico foi criado há 2228 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado

Boa tarde pessoal,

ao finalizar cupom fiscal meu aplicativo perde comunicação com a impressora epson... no ecf log está assim: 

erro retornado pela Impressora: EPSON

Categoria: 5-Erro em Cupom Fiscal
Motivo: 11-Comando no pode ser executado em documento não pago.

 

Alguém sabe o que esse erro significa e como corrigir?

 

obrigada

 

 

Postado

Pela mensagem de erro você está tentando finalizar um cupom sem enviar os comandos de pagamento do mesmo. Se enviou o comando de pagamento forneça mais informações como qual modelo de ecf epson? Quais são os comandos que enviou para o ECF? Anexe também, se possível, os logs completos para podermos analisarmos.

  • Curtir 2
Postado
Agora, Robert Dj disse:

Pela mensagem de erro você está tentando finalizar um cupom sem enviar os comandos de pagamento do mesmo. Se enviou o comando de pagamento forneça mais informações como qual modelo de ecf epson? Quais são os comandos que enviou para o ECF? Anexe também, se possível, os logs completos para podermos analisarmos.

Oii, segue anexo ecf log

ECF_Log (2).rar

-- 25/10 14:59:29:168 AbreCupom( , ,  )
-- 25/10 14:59:29:183                 TX -> [SOH][145][SOH][NUL][ETX][NUL]|||[TAB]
-- 25/10 14:59:29:215                 RX <- [ACK]
-- 25/10 14:59:29:230          Status TX -> [ENQ][NUL]
-- 25/10 14:59:29:262                 RX <- [WAK][NUL][SOH][NUL][NUL][16] (1)
-- 25/10 14:59:29:324          Status TX -> [ENQ][NUL]
-- 25/10 14:59:29:355                 RX <- [WAK][NUL][SOH][NUL][NUL][16] (2)
-- 25/10 14:59:29:418          Status TX -> [ENQ][NUL]
-- 25/10 14:59:29:449                 RX <- [WAK][NUL][SOH][NUL][NUL][16] (3)
-- 25/10 14:59:29:512          Status TX -> [ENQ][NUL]
-- 25/10 14:59:29:543             Resposta: SEQ:145 CMD:1 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:54 BRS:"000001205|25102018150032 |527437|EP121710000000016754|" CHK:180
-- 25/10 14:59:29:668     RX <- [SOH][145][SOH][NUL][NUL][SOH][NUL][NUL][WAK]6[NUL]000001205|25102018150032 |527437|EP121710000000016754|[180]
-- 25/10 14:59:29:683 PoucoPapel
-- 25/10 14:59:29:699                 TX -> [SOH][146][26][NUL][ENQ][NUL]16|2|B
-- 25/10 14:59:29:746                 RX <- [ACK]
-- 25/10 14:59:29:746          Status TX -> [ENQ][NUL]
-- 25/10 14:59:29:777             Resposta: SEQ:146 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:233
-- 25/10 14:59:29:887     RX <- [SOH][146][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[233]
-- 25/10 14:59:29:902 NumCupom
-- 25/10 14:59:29:918                 TX -> [SOH][147][26][NUL][4][NUL]1|1|[11]
-- 25/10 14:59:29:965                 RX <- [ACK]
-- 25/10 14:59:29:965          Status TX -> [ENQ][NUL]
-- 25/10 14:59:29:996             Resposta: SEQ:147 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:13 BRS:"1|000001205||" CHK:41
-- 25/10 14:59:30:105     RX <- [SOH][147][26][NUL][NUL][SOH][NUL][NUL][WAK][CR][NUL]1|000001205||)
-- 25/10 14:59:30:105 NumCCF
-- 25/10 14:59:30:121                 TX -> [SOH][148][26][NUL][4][NUL]1|5|[16]
-- 25/10 14:59:30:168                 RX <- [ACK]
-- 25/10 14:59:30:168          Status TX -> [ENQ][NUL]
-- 25/10 14:59:30:215             Resposta: SEQ:148 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:13 BRS:"5|000001056||" CHK:50
-- 25/10 14:59:30:324     RX <- [SOH][148][26][NUL][NUL][SOH][NUL][NUL][WAK][CR][NUL]5|000001056||2
-- 25/10 14:59:30:387 CarregaAliquotas
-- 25/10 14:59:30:402                 TX -> [SOH][149][26][NUL][4][NUL]5|0|[16]
-- 25/10 14:59:30:449                 RX <- [ACK]
-- 25/10 14:59:30:465          Status TX -> [ENQ][NUL]
-- 25/10 14:59:30:496             Resposta: SEQ:149 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:62 BRS:"1|T|07.00|0000|2|T|12.00|0000|3|T|17.00|65440|4|T|25.00|0000||" CHK:105
-- 25/10 14:59:30:621     RX <- [SOH][149][26][NUL][NUL][SOH][NUL][NUL][WAK]>[NUL]1|T|07.00|0000|2|T|12.00|0000|3|T|17.00|65440|4|T|25.00|0000||i
-- 25/10 14:59:30:621 VendeItem( 11206 , #70133700#***COPO DE VIDRO 7109 MUNICH CERVEJA 200ML , 0017T , 1 , 104,4 , 0 , CX24 , $ , A , -1 )
-- 25/10 14:59:30:637                 TX -> [SOH][150][STX][NUL]S[NUL]11206|#70133700#***COPO DE VIDRO 7109 MUNICH CERVEJA 200ML|T3|CX2|1000|3|10440|2|T|[31]
-- 25/10 14:59:30:683                 RX <- [ACK]
-- 25/10 14:59:30:683          Status TX -> [ENQ][NUL]
-- 25/10 14:59:30:715                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 14:59:30:777          Status TX -> [ENQ][NUL]
-- 25/10 14:59:30:808                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (2)
-- 25/10 14:59:30:871          Status TX -> [ENQ][NUL]
-- 25/10 14:59:30:902                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (3)
-- 25/10 14:59:30:980          Status TX -> [ENQ][NUL]
-- 25/10 14:59:31:027             Resposta: SEQ:150 CMD:2 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:14 BRS:"1|10440|10440|" CHK:79
-- 25/10 14:59:31:152     RX <- [SOH][150][STX][NUL][NUL][SOH][NUL][NUL][WAK][14][NUL]1|10440|10440|O
-- 25/10 14:59:31:152 
-- 25/10 14:59:31:183                 TX -> [SOH][151][26][NUL][4][NUL]4|2|[19]
-- 25/10 14:59:31:215                 RX <- [ACK]
-- 25/10 14:59:31:230          Status TX -> [ENQ][NUL]
-- 25/10 14:59:31:262             Resposta: SEQ:151 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:10 BRS:"2|537877||" CHK:184
-- 25/10 14:59:31:371     RX <- [SOH][151][26][NUL][NUL][SOH][NUL][NUL][WAK][LF][NUL]2|537877||[184]
-- 25/10 14:59:31:387 GrandeTotal
-- 25/10 14:59:31:402                 TX -> [SOH][152][26][NUL][4][NUL]4|1|[19]
-- 25/10 14:59:31:449                 RX <- [ACK]
-- 25/10 14:59:31:449          Status TX -> [ENQ][NUL]
-- 25/10 14:59:31:496             Resposta: SEQ:152 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22671878||" CHK:30
-- 25/10 14:59:31:621     RX <- [SOH][152][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22671878||[30]
-- 25/10 14:59:31:637 PoucoPapel
-- 25/10 14:59:31:652                 TX -> [SOH][153][26][NUL][ENQ][NUL]16|2|I
-- 25/10 14:59:31:699                 RX <- [ACK]
-- 25/10 14:59:31:699          Status TX -> [ENQ][NUL]
-- 25/10 14:59:31:746             Resposta: SEQ:153 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:240
-- 25/10 14:59:31:855     RX <- [SOH][153][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[240]
-- 25/10 15:00:03:965 VendeItem( 7898202612335 , #39173229#CS-233 CANUDO GUARDA-CHUVA FLEXIVEL C/10 , 0017T , 1 , 4,25 , 0 , PCT , $ , A , -1 )
-- 25/10 15:00:03:980                 TX -> [SOH][154][STX][NUL]W[NUL]7898202612335|#39173229#CS-233 CANUDO GUARDA-CHUVA FLEXIVEL C/10|T3|PCT|1000|3|425|2|T|[131]
-- 25/10 15:00:04:027                 RX <- [ACK]
-- 25/10 15:00:04:027          Status TX -> [ENQ][NUL]
-- 25/10 15:00:04:074                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 15:00:04:137          Status TX -> [ENQ][NUL]
-- 25/10 15:00:04:168                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (2)
-- 25/10 15:00:04:230          Status TX -> [ENQ][NUL]
-- 25/10 15:00:04:262             Resposta: SEQ:154 CMD:2 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"2|425|10865|" CHK:255
-- 25/10 15:00:04:371     RX <- [SOH][154][STX][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]2|425|10865|[255]
-- 25/10 15:00:04:371 
-- 25/10 15:00:04:387                 TX -> [SOH][155][26][NUL][4][NUL]4|2|[23]
-- 25/10 15:00:04:418                 RX <- [ACK]
-- 25/10 15:00:04:418          Status TX -> [ENQ][NUL]
-- 25/10 15:00:04:465             Resposta: SEQ:155 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:10 BRS:"2|538302||" CHK:172
-- 25/10 15:00:04:574     RX <- [SOH][155][26][NUL][NUL][SOH][NUL][NUL][WAK][LF][NUL]2|538302||[172]
-- 25/10 15:00:04:590 GrandeTotal
-- 25/10 15:00:04:605                 TX -> [SOH][156][26][NUL][4][NUL]4|1|[23]
-- 25/10 15:00:04:637                 RX <- [ACK]
-- 25/10 15:00:04:652          Status TX -> [ENQ][NUL]
-- 25/10 15:00:04:683             Resposta: SEQ:156 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22672303||" CHK:18
-- 25/10 15:00:04:808     RX <- [SOH][156][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22672303||[18]
-- 25/10 15:00:04:824 PoucoPapel
-- 25/10 15:00:04:840                 TX -> [SOH][157][26][NUL][ENQ][NUL]16|2|M
-- 25/10 15:00:04:887                 RX <- [ACK]
-- 25/10 15:00:04:887          Status TX -> [ENQ][NUL]
-- 25/10 15:00:04:933             Resposta: SEQ:157 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:244
-- 25/10 15:00:05:043     RX <- [SOH][157][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[244]
-- 25/10 15:00:09:872 CancelaItemVendido( 1 )
-- 25/10 15:00:09:888                 TX -> [SOH][158][ETX][NUL][STX][NUL]1|P
-- 25/10 15:00:09:919                 RX <- [ACK]
-- 25/10 15:00:09:927          Status TX -> [ENQ][NUL]
-- 25/10 15:00:09:966                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 15:00:10:028          Status TX -> [ENQ][NUL]
-- 25/10 15:00:10:059             Resposta: SEQ:158 CMD:3 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:4 BRS:"425|" CHK:206
-- 25/10 15:00:10:169     RX <- [SOH][158][ETX][NUL][NUL][SOH][NUL][NUL][WAK][4][NUL]425|[206]
-- 25/10 15:00:10:192 GrandeTotal
-- 25/10 15:00:10:200                 TX -> [SOH][159][26][NUL][4][NUL]4|1|[26]
-- 25/10 15:00:10:239                 RX <- [ACK]
-- 25/10 15:00:10:247          Status TX -> [ENQ][NUL]
-- 25/10 15:00:10:278             Resposta: SEQ:159 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22672303||" CHK:21
-- 25/10 15:00:10:388     RX <- [SOH][159][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22672303||[NAK]
-- 25/10 15:00:10:411 PoucoPapel
-- 25/10 15:00:10:427                 TX -> [SOH][160][26][NUL][ENQ][NUL]16|2|P
-- 25/10 15:00:10:474                 RX <- [ACK]
-- 25/10 15:00:10:474          Status TX -> [ENQ][NUL]
-- 25/10 15:00:10:536             Resposta: SEQ:160 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:247
-- 25/10 15:00:10:645     RX <- [SOH][160][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[247]
-- 25/10 15:00:16:739 VendeItem( 7898202612335 , #39173229#CS-233 CANUDO GUARDA-CHUVA FLEXIVEL C/10 , 0017T , 50 , 4,25 , 0 , PCT , $ , A , -1 )
-- 25/10 15:00:16:770                 TX -> [SOH][161][STX][NUL]X[NUL]7898202612335|#39173229#CS-233 CANUDO GUARDA-CHUVA FLEXIVEL C/10|T3|PCT|50000|3|425|2|T|[191]
-- 25/10 15:00:16:817                 RX <- [ACK]
-- 25/10 15:00:16:833          Status TX -> [ENQ][NUL]
-- 25/10 15:00:16:864                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 15:00:16:927          Status TX -> [ENQ][NUL]
-- 25/10 15:00:17:880                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (2)
-- 25/10 15:00:17:958          Status TX -> [ENQ][NUL]
-- 25/10 15:00:17:989             Resposta: SEQ:161 CMD:2 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:14 BRS:"3|21250|21675|" CHK:105
-- 25/10 15:00:18:114     RX <- [SOH][161][STX][NUL][NUL][SOH][NUL][NUL][WAK][14][NUL]3|21250|21675|i
-- 25/10 15:00:18:114 
-- 25/10 15:00:18:130                 TX -> [SOH][162][26][NUL][4][NUL]4|2|[30]
-- 25/10 15:00:18:177                 RX <- [ACK]
-- 25/10 15:00:18:177          Status TX -> [ENQ][NUL]
-- 25/10 15:00:18:224             Resposta: SEQ:162 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:10 BRS:"2|559552||" CHK:189
-- 25/10 15:00:18:333     RX <- [SOH][162][26][NUL][NUL][SOH][NUL][NUL][WAK][LF][NUL]2|559552||[189]
-- 25/10 15:00:18:349 GrandeTotal
-- 25/10 15:00:18:364                 TX -> [SOH][163][26][NUL][4][NUL]4|1|[30]
-- 25/10 15:00:18:411                 RX <- [ACK]
-- 25/10 15:00:18:411          Status TX -> [ENQ][NUL]
-- 25/10 15:00:18:442             Resposta: SEQ:163 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22693553||" CHK:35
-- 25/10 15:00:18:552     RX <- [SOH][163][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22693553||#
-- 25/10 15:00:18:567 PoucoPapel
-- 25/10 15:00:18:583                 TX -> [SOH][164][26][NUL][ENQ][NUL]16|2|T
-- 25/10 15:00:18:630                 RX <- [ACK]
-- 25/10 15:00:18:630          Status TX -> [ENQ][NUL]
-- 25/10 15:00:18:677             Resposta: SEQ:164 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:251
-- 25/10 15:00:18:786     RX <- [SOH][164][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[251]
-- 25/10 15:00:44:036 DescontoAcrescimoItemAnterior( 6,82 , D , % , 2 )
-- 25/10 15:00:44:052                 TX -> [SOH][165][ESC][NUL][LF][NUL]0|0|682|2|[236]
-- 25/10 15:00:44:083                 RX <- [ACK]
-- 25/10 15:00:44:083          Status TX -> [ENQ][NUL]
-- 25/10 15:00:44:130                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 15:00:44:192          Status TX -> [ENQ][NUL]
-- 25/10 15:00:44:224             Resposta: SEQ:165 CMD:27 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:10 BRS:"397|21647|" CHK:123
-- 25/10 15:00:44:333     RX <- [SOH][165][ESC][NUL][NUL][SOH][NUL][NUL][WAK][LF][NUL]397|21647|{
-- 25/10 15:00:44:349 GrandeTotal
-- 25/10 15:00:44:380                 TX -> [SOH][166][26][NUL][4][NUL]4|1|!
-- 25/10 15:00:44:411                 RX <- [ACK]
-- 25/10 15:00:44:411          Status TX -> [ENQ][NUL]
-- 25/10 15:00:44:474             Resposta: SEQ:166 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22693553||" CHK:38
-- 25/10 15:00:44:599     RX <- [SOH][166][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22693553||&
-- 25/10 15:00:44:599 PoucoPapel
-- 25/10 15:00:44:614                 TX -> [SOH][167][26][NUL][ENQ][NUL]16|2|W
-- 25/10 15:00:44:645                 RX <- [ACK]
-- 25/10 15:00:44:645          Status TX -> [ENQ][NUL]
-- 25/10 15:00:44:692             Resposta: SEQ:167 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:254
-- 25/10 15:00:44:802     RX <- [SOH][167][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[254]
-- 25/10 15:00:44:817 DescontoAcrescimoItemAnterior( 6,82 , D , % , 3 )
-- 25/10 15:00:44:833                 TX -> [SOH][168][ESC][NUL][LF][NUL]0|0|682|3|[240]
-- 25/10 15:00:44:864                 RX <- [ACK]
-- 25/10 15:00:44:864          Status TX -> [ENQ][NUL]
-- 25/10 15:00:44:911                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 15:00:44:974          Status TX -> [ENQ][NUL]
-- 25/10 15:00:45:005             Resposta: SEQ:168 CMD:27 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"19801|20198|" CHK:224
-- 25/10 15:00:45:114     RX <- [SOH][168][ESC][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]19801|20198|[224]
-- 25/10 15:00:45:130 GrandeTotal
-- 25/10 15:00:45:145                 TX -> [SOH][169][26][NUL][4][NUL]4|1|$
-- 25/10 15:00:45:192                 RX <- [ACK]
-- 25/10 15:00:45:192          Status TX -> [ENQ][NUL]
-- 25/10 15:00:45:224             Resposta: SEQ:169 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22693553||" CHK:41
-- 25/10 15:00:45:333     RX <- [SOH][169][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22693553||)
-- 25/10 15:00:45:333 PoucoPapel
-- 25/10 15:00:45:349                 TX -> [SOH][170][26][NUL][ENQ][NUL]16|2|Z
-- 25/10 15:00:45:395                 RX <- [ACK]
-- 25/10 15:00:45:395          Status TX -> [ENQ][NUL]
-- 25/10 15:00:45:442             Resposta: SEQ:170 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:1
-- 25/10 15:00:45:552     RX <- [SOH][170][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[SOH]
-- 25/10 15:00:45:567 Estado
-- 25/10 15:00:45:599                 TX -> [SOH][171][26][NUL][ENQ][NUL]16|5|^
-- 25/10 15:00:45:630                 RX <- [ACK]
-- 25/10 15:00:45:630          Status TX -> [ENQ][NUL]
-- 25/10 15:00:45:692             Resposta: SEQ:171 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:4 BRS:"10||" CHK:52
-- 25/10 15:00:45:817     RX <- [SOH][171][26][NUL][NUL][SOH][NUL][NUL][WAK][4][NUL]10||4
-- 25/10 15:00:46:864 Estado
-- 25/10 15:00:46:864                 TX -> [SOH][172][26][NUL][ENQ][NUL]16|5|_
-- 25/10 15:00:46:911                 RX <- [ACK]
-- 25/10 15:00:46:911          Status TX -> [ENQ][NUL]
-- 25/10 15:00:46:974             Resposta: SEQ:172 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:4 BRS:"10||" CHK:53
-- 25/10 15:00:47:083     RX <- [SOH][172][26][NUL][NUL][SOH][NUL][NUL][WAK][4][NUL]10||5
-- 25/10 15:00:47:099 SubtotalizaCupom( 0 ,  )
-- 25/10 15:00:47:114                 TX -> [SOH][173][26][NUL][4][NUL]4|1|(
-- 25/10 15:00:47:145                 RX <- [ACK]
-- 25/10 15:00:47:161          Status TX -> [ENQ][NUL]
-- 25/10 15:00:47:192             Resposta: SEQ:173 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22693553||" CHK:45
-- 25/10 15:00:47:317     RX <- [SOH][173][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22693553||-
-- 25/10 15:00:47:317 PoucoPapel
-- 25/10 15:00:47:333                 TX -> [SOH][174][26][NUL][ENQ][NUL]16|2|^
-- 25/10 15:00:47:364                 RX <- [ACK]
-- 25/10 15:00:47:380          Status TX -> [ENQ][NUL]
-- 25/10 15:00:47:411             Resposta: SEQ:174 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:5
-- 25/10 15:00:47:520     RX <- [SOH][174][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[ENQ]
-- 25/10 15:00:47:552 Estado
-- 25/10 15:00:47:552                 TX -> [SOH][175][26][NUL][ENQ][NUL]16|5|b
-- 25/10 15:00:47:583                 RX <- [ACK]
-- 25/10 15:00:47:583          Status TX -> [ENQ][NUL]
-- 25/10 15:00:47:630             Resposta: SEQ:175 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:4 BRS:"10||" CHK:56
-- 25/10 15:00:47:755     RX <- [SOH][175][26][NUL][NUL][SOH][NUL][NUL][WAK][4][NUL]10||8
-- 25/10 15:00:47:770 CarregaFormasPagamento
-- 25/10 15:00:47:770                 TX -> [SOH][176][26][NUL][ENQ][NUL]14|0|\
-- 25/10 15:00:47:802                 RX <- [ACK]
-- 25/10 15:00:47:802          Status TX -> [ENQ][NUL]
-- 25/10 15:00:47:849             Resposta: SEQ:176 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:71 BRS:"1|Dinheiro|0|2|Cheque|1|3|Prazo|1|4|Cartao|1|5|Duplicata|1|6|Boleto|1||" CHK:160
-- 25/10 15:00:47:958     RX <- [SOH][176][26][NUL][NUL][SOH][NUL][NUL][WAK]G[NUL]1|Dinheiro|0|2|Cheque|1|3|Prazo|1|4|Cartao|1|5|Duplicata|1|6|Boleto|1||[160]
-- 25/10 15:00:47:958 EfetuaPagamento( 6 , 201,96 , , -1, 0 )
-- 25/10 15:00:47:989                 TX -> [SOH][177][4][NUL][CR][NUL]6|20196|1||7|[206]
-- 25/10 15:00:48:036                 RX <- [ACK]
-- 25/10 15:00:48:036          Status TX -> [ENQ][NUL]
-- 25/10 15:00:48:083                 RX <- [WAK][NUL][SOH][NUL][NUL][WAK] (1)
-- 25/10 15:00:48:161          Status TX -> [ENQ][NUL]
-- 25/10 15:00:48:192             Resposta: SEQ:177 CMD:4 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"02|" CHK:168
-- 25/10 15:00:48:302     RX <- [SOH][177][4][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]02|[168]
-- 25/10 15:00:48:317 GrandeTotal
-- 25/10 15:00:48:333                 TX -> [SOH][178][26][NUL][4][NUL]4|1|-
-- 25/10 15:00:48:364                 RX <- [ACK]
-- 25/10 15:00:48:364          Status TX -> [ENQ][NUL]
-- 25/10 15:00:48:411             Resposta: SEQ:178 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:12 BRS:"1|22693553||" CHK:50
-- 25/10 15:00:48:520     RX <- [SOH][178][26][NUL][NUL][SOH][NUL][NUL][WAK][FF][NUL]1|22693553||2
-- 25/10 15:00:48:520 PoucoPapel
-- 25/10 15:00:48:536                 TX -> [SOH][179][26][NUL][ENQ][NUL]16|2|c
-- 25/10 15:00:48:583                 RX <- [ACK]
-- 25/10 15:00:48:583          Status TX -> [ENQ][NUL]
-- 25/10 15:00:48:630             Resposta: SEQ:179 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:3 BRS:"0||" CHK:10
-- 25/10 15:00:48:739     RX <- [SOH][179][26][NUL][NUL][SOH][NUL][NUL][WAK][ETX][NUL]0||[LF]
-- 25/10 15:00:48:755 Estado
-- 25/10 15:00:48:770                 TX -> [SOH][180][26][NUL][ENQ][NUL]16|5|g
-- 25/10 15:00:48:802                 RX <- [ACK]
-- 25/10 15:00:48:802          Status TX -> [ENQ][NUL]
-- 25/10 15:00:48:849             Resposta: SEQ:180 CMD:26 EXT:0 CAT:0 RET:[SOH][NUL][NUL][WAK] TBR:4 BRS:"12||" CHK:63
-- 25/10 15:00:48:974     RX <- [SOH][180][26][NUL][NUL][SOH][NUL][NUL][WAK][4][NUL]12||?
-- 25/10 15:00:48:989 FechaCupom( MD-5:214da72dbf14e716d94e861645f27091[LF]Trib aprox R$ 18,10 Federal 49,99 Importado 34,33 Estadua[LF]l  Fonte: IBPT/empresometro.com.br D529CB[LF]2 - CONSUMIDOR FINAL () END:Expedicionario Angelo Vicenzi[LF], 159, JARAGUA ESQUERDO, JARAGUA DO SUL, SC VEND:DENIZE P[LF]gto: 21 DIAS[LF] )
-- 25/10 15:00:48:989                 TX -> [SOH][181][ENQ][NUL][16][SOH]0|1|MD-5:214da72dbf14e716d94e861645f27091[LF]Trib aprox R$ 18,10 Federal 49,99 Importado 34,33 Estadua[LF]l  Fonte: IBPT/empresometro.com.br D529CB[LF]2 - CONSUMIDOR FINAL () END:Expedicionario Angelo Vicenzi[LF], 159, JARAGUA ESQUERDO, JARAGUA DO SUL, SC VEND:DENIZE P[LF]gto: 21 DIAS[LF]|[164]
-- 25/10 15:00:49:036                 RX <- [ACK]
-- 25/10 15:00:49:036          Status TX -> [ENQ][NUL]
-- 25/10 15:00:49:083             Resposta: SEQ:181 CMD:5 EXT:0 CAT:5 RET:[11][NUL][NUL][WAK] TBR:0 BRS:"" CHK:219
-- 25/10 15:00:49:083     RX <- [SOH][181][ENQ][NUL][ENQ][11][NUL][NUL][WAK][NUL][NUL][219]
-- 25/10 15:00:49:099 
----------------- ERRO -----------------
Erro retornado pela Impressora: EPSON

Categoria: 5-Erro em Cupom Fiscal
Motivo: 11-Comando não pode ser executado em documento não pago.
----------------------------------------

  • Solution
Postado

Estou analisando os logs mas a primeira vista parece que o erro está no arredondamento nos testes que fiz e na conta manual o total desse cupom é 201,967... que arredondado fica 201,97 e você pagou 201,96 dai por isso deu o erro, porque ficou faltando 1 centavo. Verifique se o seu ECF está arredondado ou truncando.

  • Curtir 2
Postado
10 horas atrás, Robert Dj disse:

Estou analisando os logs mas a primeira vista parece que o erro está no arredondamento nos testes que fiz e na conta manual o total desse cupom é 201,967... que arredondado fica 201,97 e você pagou 201,96 dai por isso deu o erro, porque ficou faltando 1 centavo. Verifique se o seu ECF está arredondado ou truncando.

Olá, era exatamente isso, questão de arredondamento. Obrigada.

  • Curtir 1
  • Administradores
Postado

Obrigado por reportar.

Fechando. Para novas dúvidas, criar um novo tópico.

  • Curtir 1
Consultora SAC ACBr

Juliana Tamizou

Gerente de Projetos ACBr / Diretora de Marketing AFRAC
Ajude o Projeto ACBr crescer - Seja Pro

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.  Discord

Projeto ACBr - A maior comunidade Open Source de Automação Comercial do Brasil


Participe de nosso canal no Discord e fique ainda mais próximo da Comunidade !!

  • Este tópico foi criado há 2228 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.
Visitante
Este tópico está agora fechado para novas respostas
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.