Skip to content

Commit

Permalink
correção ref CST 90
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseQuintas committed Dec 17, 2024
1 parent c5888cb commit b79c925
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions source/ze_sefaz_pdf_cte.prg
Original file line number Diff line number Diff line change
Expand Up @@ -772,15 +772,15 @@ METHOD GeraFolha() CLASS hbnfeDaCte
cTexto := "SIMPLES NACIONAL"
CASE ! Empty( ::aIcms00[ "CST" ] )
cTexto := "00 - Tributação normal do ICMS"
nBase := ::aIcms00[ "vBC" ]
nAliq := ::aIcms00[ "pICMS" ]
nBase := ::aIcms00[ "vBC" ]
nAliq := ::aIcms00[ "pICMS" ]
nValor := ::aIcms00[ "vICMS" ]
nReduc := ''
nST := ''
CASE ! Empty( ::aIcms20[ "CST" ] )
cTexto := "20 - Tributação com BC reduzida do ICMS"
nBase := ::aIcms20[ "vBC" ]
nAliq := ::aIcms20[ "pICMS" ]
nBase := ::aIcms20[ "vBC" ]
nAliq := ::aIcms20[ "pICMS" ]
nValor := ::aIcms20[ "vICMS" ]
nReduc := ::aIcms20[ "pRedBC" ]
nST := ''
Expand All @@ -794,25 +794,25 @@ METHOD GeraFolha() CLASS hbnfeDaCte
ENDIF
CASE ! Empty( ::aIcms60[ "CST" ] )
cTexto := "60 - ICMS cobrado anteriormente por substituição tributária"
nBase := ::aIcms60[ "vBCSTRet" ]
nAliq := ::aIcms60[ "pICMSSTRet" ]
nBase := ::aIcms60[ "vBCSTRet" ]
nAliq := ::aIcms60[ "pICMSSTRet" ]
nValor := ::aIcms60[ "vICMSSTRet" ]
nReduc := ''
nST := ::aIcms60[ "vCred" ]
CASE ! Empty( ::aIcms90[ "CST" ] )
cTexto := "90 - ICMS Outros"
nBase := ::aIcms60[ "vBC" ]
nAliq := ::aIcms60[ "pICMS" ]
nValor := ::aIcms60[ "vICMS" ]
nBase := ::aIcms90[ "vBC" ]
nAliq := ::aIcms90[ "pICMS" ]
nValor := ::aIcms90[ "vICMS" ]
nReduc := ::aIcms90[ "pRedBC" ]
nST := ::aIcms60[ "vCred" ]
nST := ::aIcms90[ "vCred" ]
CASE ! Empty( ::aIcmsUF[ "CST" ] )
cTexto := "90 - ICMS Outros"
nBase := ::aIcmsUF[ "vBCOutraUF" ]
nAliq := ::aIcmsUF[ "pICMSOutraUF" ]
nBase := ::aIcmsUF[ "vBCOutraUF" ]
nAliq := ::aIcmsUF[ "pICMSOutraUF" ]
nValor := ::aIcmsUF[ "vICMSOutraUF" ]
nReduc := ::aIcmsUF[ "pRedBCOutraUF" ]
nST := ''
nST := ''
OTHERWISE
cTexto := "Sem Imposto de ICMS"
ENDCASE
Expand Down

0 comments on commit b79c925

Please sign in to comment.