Valmir Gomes Ribeiro Postado 8 Janeiro Compartilhar Postado 8 Janeiro boa tarde a todos, amigos ja tenho meu sistema rodando a seculos e nunca tive problemas só que hoje teve uma venda de 77mil é alguma coisa e pasmem ta dando ecf não esta livre, debuguei e nao consigo chegar ao erro, segue anexo os dois arquivos ecf e tef e verificando que no final ele muda para menos 0,01 centavaos realmente nao to conseguindo resolver. ecf.txt tef.txt so complementando, -------------------------------------------------------------------------------- ATIVAR - 08/01/24 14:33:40:414 - Modelo: ECFVirtual -------------------------------------------------------------------------------- -- 08/01 14:33:40:414 LeArqINI -- 08/01 14:33:40:414 INItoClass -- 08/01 14:33:40:414 GetEstado estLivre -- 08/01 14:33:40:415 estLivre -- 08/01 14:33:40:415 AbreCupom -- 08/01 14:33:40:416 GetEstado estLivre -- 08/01 14:33:40:416 SetEstadoECFVirtual: estVenda -- 08/01 14:33:40:416 AbreDocumento -- 08/01 14:33:40:416 GetEstado estVenda -- 08/01 14:33:40:719 GravaArqINI -- 08/01 14:33:40:719 ClasstoINI -- 08/01 14:33:40:724 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 508 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:724 CarregaTotalizadoresNaoTributados -- 08/01 14:33:40:724 GetEstado estVenda -- 08/01 14:33:40:824 GravaArqINI -- 08/01 14:33:40:824 ClasstoINI -- 08/01 14:33:40:826 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 21009,95 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:826 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 21009,95 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:826 GetEstado estVenda -- 08/01 14:33:40:927 GravaArqINI -- 08/01 14:33:40:927 ClasstoINI -- 08/01 14:33:40:929 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 22600 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:929 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 22600 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:929 GetEstado estVenda -- 08/01 14:33:41:029 GravaArqINI -- 08/01 14:33:41:029 ClasstoINI -- 08/01 14:33:41:031 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 6814,96 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:031 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 6814,96 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:031 GetEstado estVenda -- 08/01 14:33:41:132 GravaArqINI -- 08/01 14:33:41:132 ClasstoINI -- 08/01 14:33:41:134 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 14639,93 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:134 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 14639,93 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:134 GetEstado estVenda -- 08/01 14:33:41:234 GravaArqINI -- 08/01 14:33:41:234 ClasstoINI -- 08/01 14:33:41:238 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 11501,06 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:238 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 11501,06 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:238 GetEstado estVenda -- 08/01 14:33:41:339 GravaArqINI -- 08/01 14:33:41:339 ClasstoINI -- 08/01 14:33:45:225 GetNumCupom: 000029 -- 08/01 14:33:45:225 GetEstado estVenda -- 08/01 14:33:45:225 estVenda -- 08/01 14:33:45:226 GetSubTotal: 77073,9 -- 08/01 14:33:45:226 GetTotalPago: 0 -- 08/01 14:33:54:239 -------------------------------------------------------------------------------- ATIVAR - 08/01/24 14:33:54:239 - Modelo: ECFVirtual -------------------------------------------------------------------------------- -- 08/01 14:33:54:239 LeArqINI -- 08/01 14:33:54:239 INItoClass -- 08/01 14:33:54:239 GetEstado estVenda -- 08/01 14:33:54:239 estVenda -- 08/01 14:33:54:239 GetNumUltimoItem: 6 -- 08/01 14:33:54:239 GetSubTotal: 77073,9 -- 08/01 14:33:54:239 GetTotalPago: 0 -- 08/01 14:33:57:794 SubtotalizaCupom( 0 , ) -- 08/01 14:33:57:794 GetEstado estVenda -- 08/01 14:33:57:794 GetSubTotal: 77073,9 -- 08/01 14:33:57:794 SetEstadoECFVirtual: estPagamento -- 08/01 14:33:57:895 GravaArqINI -- 08/01 14:33:57:895 ClasstoINI -- 08/01 14:33:59:753 GetEstado estPagamento -- 08/01 14:33:59:753 estPagamento -- 08/01 14:33:59:753 GetSubTotal: 77073,9 -- 08/01 14:33:59:753 GetTotalPago: 0 -- 08/01 14:33:59:753 EfetuaPagamento( 07 , 77073,9 , , 0, 0 ) -- 08/01 14:33:59:753 GetEstado estPagamento -- 08/01 14:33:59:753 GetTotalPago: 0 -- 08/01 14:33:59:753 GetSubTotal: 77073,9 -- 08/01 14:33:59:753 GetTotalPago: 77073,89 -- 08/01 14:33:59:753 GetSubTotal: 77073,9 -- 08/01 14:33:59:853 GravaArqINI -- 08/01 14:33:59:853 ClasstoINI -- 08/01 14:33:59:853 GetSubTotal: 77073,9 -- 08/01 14:33:59:853 GetTotalPago: 77073,89 -- 08/01 14:33:59:856 GetNumCCF: 000022 -- 08/01 14:33:59:856 GetNumCupom: 000029 -- 08/01 14:33:59:863 GetGrandeTotal: 1541596,18 -- 08/01 14:33:59:868 -------------------------------------------------------------------------------- ATIVAR - 08/01/24 14:33:59:868 - Modelo: ECFVirtual -------------------------------------------------------------------------------- -- 08/01 14:33:59:868 LeArqINI -- 08/01 14:33:59:868 INItoClass -- 08/01 14:33:59:871 GetEstado estPagamento -- 08/01 14:33:59:871 estPagamento -- 08/01 14:33:59:871 GetNumUltimoItem: 6 -- 08/01 14:33:59:872 GetSubTotal: 77073,9 -- 08/01 14:33:59:872 GetTotalPago: 77073,89 -- 08/01 14:34:01:779 GetEstado estPagamento -- 08/01 14:34:01:779 estPagamento -- 08/01 14:34:01:780 GetEstado estPagamento -- 08/01 14:34:01:780 estPagamento -- 08/01 14:34:01:780 GetSubTotal: 77073,9 -- 08/01 14:34:01:780 GetTotalPago: 77073,89 -- 08/01 14:34:01:780 GetEstado estPagamento -- 08/01 14:34:01:780 estPagamento onde esta negrito é estranho pq efetua o valor correto, e depois o valor pago fica com 0,01 centavo a menos Link para o comentário Compartilhar em outros sites More sharing options...
aloisiopires Postado 23 Janeiro Compartilhar Postado 23 Janeiro Olá Não sei se já solucionou o erro... Nos documentos fiscais de varejo SAT CF-e e NFC-e existem limites máximos de valor. Talvez o problema seja esse. Link para o comentário Compartilhar em outros sites More sharing options...
Moderadores Juliomar Marchetti Postado 23 Janeiro Moderadores Compartilhar Postado 23 Janeiro Em 08/01/2024 at 14:37, Valmir Gomes Ribeiro disse: boa tarde a todos, amigos ja tenho meu sistema rodando a seculos e nunca tive problemas só que hoje teve uma venda de 77mil é alguma coisa e pasmem ta dando ecf não esta livre, debuguei e nao consigo chegar ao erro, segue anexo os dois arquivos ecf e tef e verificando que no final ele muda para menos 0,01 centavaos realmente nao to conseguindo resolver. ecf.txt 7.43 kB · 0 downloads tef.txt 5.4 kB · 0 downloads so complementando, -------------------------------------------------------------------------------- ATIVAR - 08/01/24 14:33:40:414 - Modelo: ECFVirtual -------------------------------------------------------------------------------- -- 08/01 14:33:40:414 LeArqINI -- 08/01 14:33:40:414 INItoClass -- 08/01 14:33:40:414 GetEstado estLivre -- 08/01 14:33:40:415 estLivre -- 08/01 14:33:40:415 AbreCupom -- 08/01 14:33:40:416 GetEstado estLivre -- 08/01 14:33:40:416 SetEstadoECFVirtual: estVenda -- 08/01 14:33:40:416 AbreDocumento -- 08/01 14:33:40:416 GetEstado estVenda -- 08/01 14:33:40:719 GravaArqINI -- 08/01 14:33:40:719 ClasstoINI -- 08/01 14:33:40:724 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 508 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:724 CarregaTotalizadoresNaoTributados -- 08/01 14:33:40:724 GetEstado estVenda -- 08/01 14:33:40:824 GravaArqINI -- 08/01 14:33:40:824 ClasstoINI -- 08/01 14:33:40:826 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 21009,95 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:826 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 21009,95 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:826 GetEstado estVenda -- 08/01 14:33:40:927 GravaArqINI -- 08/01 14:33:40:927 ClasstoINI -- 08/01 14:33:40:929 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 22600 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:929 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 22600 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:40:929 GetEstado estVenda -- 08/01 14:33:41:029 GravaArqINI -- 08/01 14:33:41:029 ClasstoINI -- 08/01 14:33:41:031 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 6814,96 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:031 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 6814,96 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:031 GetEstado estVenda -- 08/01 14:33:41:132 GravaArqINI -- 08/01 14:33:41:132 ClasstoINI -- 08/01 14:33:41:134 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 14639,93 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:134 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 14639,93 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:134 GetEstado estVenda -- 08/01 14:33:41:234 GravaArqINI -- 08/01 14:33:41:234 ClasstoINI -- 08/01 14:33:41:238 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 11501,06 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:238 VendeItem( SEM GTIN , ELETRODO MEGANORDESTE 3/32 2,5 , II , 1 , 11501,06 , 0 , KG , $ , D , -1 ) -- 08/01 14:33:41:238 GetEstado estVenda -- 08/01 14:33:41:339 GravaArqINI -- 08/01 14:33:41:339 ClasstoINI -- 08/01 14:33:45:225 GetNumCupom: 000029 -- 08/01 14:33:45:225 GetEstado estVenda -- 08/01 14:33:45:225 estVenda -- 08/01 14:33:45:226 GetSubTotal: 77073,9 -- 08/01 14:33:45:226 GetTotalPago: 0 -- 08/01 14:33:54:239 -------------------------------------------------------------------------------- ATIVAR - 08/01/24 14:33:54:239 - Modelo: ECFVirtual -------------------------------------------------------------------------------- -- 08/01 14:33:54:239 LeArqINI -- 08/01 14:33:54:239 INItoClass -- 08/01 14:33:54:239 GetEstado estVenda -- 08/01 14:33:54:239 estVenda -- 08/01 14:33:54:239 GetNumUltimoItem: 6 -- 08/01 14:33:54:239 GetSubTotal: 77073,9 -- 08/01 14:33:54:239 GetTotalPago: 0 -- 08/01 14:33:57:794 SubtotalizaCupom( 0 , ) -- 08/01 14:33:57:794 GetEstado estVenda -- 08/01 14:33:57:794 GetSubTotal: 77073,9 -- 08/01 14:33:57:794 SetEstadoECFVirtual: estPagamento -- 08/01 14:33:57:895 GravaArqINI -- 08/01 14:33:57:895 ClasstoINI -- 08/01 14:33:59:753 GetEstado estPagamento -- 08/01 14:33:59:753 estPagamento -- 08/01 14:33:59:753 GetSubTotal: 77073,9 -- 08/01 14:33:59:753 GetTotalPago: 0 -- 08/01 14:33:59:753 EfetuaPagamento( 07 , 77073,9 , , 0, 0 ) -- 08/01 14:33:59:753 GetEstado estPagamento -- 08/01 14:33:59:753 GetTotalPago: 0 -- 08/01 14:33:59:753 GetSubTotal: 77073,9 -- 08/01 14:33:59:753 GetTotalPago: 77073,89 -- 08/01 14:33:59:753 GetSubTotal: 77073,9 -- 08/01 14:33:59:853 GravaArqINI -- 08/01 14:33:59:853 ClasstoINI -- 08/01 14:33:59:853 GetSubTotal: 77073,9 -- 08/01 14:33:59:853 GetTotalPago: 77073,89 -- 08/01 14:33:59:856 GetNumCCF: 000022 -- 08/01 14:33:59:856 GetNumCupom: 000029 -- 08/01 14:33:59:863 GetGrandeTotal: 1541596,18 -- 08/01 14:33:59:868 -------------------------------------------------------------------------------- ATIVAR - 08/01/24 14:33:59:868 - Modelo: ECFVirtual -------------------------------------------------------------------------------- -- 08/01 14:33:59:868 LeArqINI -- 08/01 14:33:59:868 INItoClass -- 08/01 14:33:59:871 GetEstado estPagamento -- 08/01 14:33:59:871 estPagamento -- 08/01 14:33:59:871 GetNumUltimoItem: 6 -- 08/01 14:33:59:872 GetSubTotal: 77073,9 -- 08/01 14:33:59:872 GetTotalPago: 77073,89 -- 08/01 14:34:01:779 GetEstado estPagamento -- 08/01 14:34:01:779 estPagamento -- 08/01 14:34:01:780 GetEstado estPagamento -- 08/01 14:34:01:780 estPagamento -- 08/01 14:34:01:780 GetSubTotal: 77073,9 -- 08/01 14:34:01:780 GetTotalPago: 77073,89 -- 08/01 14:34:01:780 GetEstado estPagamento -- 08/01 14:34:01:780 estPagamento onde esta negrito é estranho pq efetua o valor correto, e depois o valor pago fica com 0,01 centavo a menos arredondar tem pela abnt nas units acbrutil do acbr Juliomar Marchetti skype: juliomar telegram: juliomar e-mail: [email protected] http://www.juliomarmarchetti.com.br Link para o comentário Compartilhar em outros sites More sharing options...
Recommended Posts
Crie uma conta ou entre para comentar
Você precisar ser um membro para fazer um comentário
Criar uma conta
Crie uma nova conta em nossa comunidade. É fácil!
Crie uma nova contaEntrar
Já tem uma conta? Faça o login.
Entrar Agora