Skip to content

Commit

Permalink
[FIX] l10n_br_cte: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Nov 18, 2024
1 parent 21bced6 commit 72dd851
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 155 deletions.
59 changes: 59 additions & 0 deletions l10n_br_cte/constants/cte.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,62 @@
]

CTE_TYPE_DEFAULT = "0"

CTE_INDIETOMA = [
("1", "Contribuinte ICMS"),
("2", "Contribuinte isento de inscrição"),
("9", "Não Contribuinte"),
]

CTE_INDIETOMA_DEFAULT = "1"

CTE_TPSERV = [
("0", "Normal"),
("1", "Subcontratação"),
("2", "Redespacho"),
("3", "Redespacho Intermediário"),
("4", "Serviço Vinculado a Multimodal"),
]

CTE_TPSERV_DEFAULT = "0"

CTE_TPEMIS = [
("1", "Normal"),
("3", "Regime Especial NFF"),
("4", "EPEC pela SVC"),
("5", "Contingência FSDA"),
("7", "Autorização pela SVC-RS"),
("8", "Autorização pela SVC-SP"),
]

CTE_TPEMIS_DEFAULT = "1"

CTE_TPIMP = [
("1", "Retrato"),
("2", "Paisagem."),
]

CTE_TPIMP_DEFAULT = "1"


CTE_ICMS_SUB_TAGS = [
"ICMS00",
"ICMS20",
"ICMS45",
"ICMS60",
"ICMS90",
"ICMSOutraUF",
"ICMSSN",
]

CTE_ICMS_SELECTION = list(map(lambda tag: (f"cte40_{tag}", tag), CTE_ICMS_SUB_TAGS))

CTE_CST = [
("00", "00 - Tributação normal ICMS"),
("20", "20 - Tributação com BC reduzida do ICMS"),
("45", "45 - ICMS Isento, não Tributado ou diferido"),
("60", "60 - ICMS cobrado por substituição tributária"),
("90", "90 - ICMS outros"),
("90", "90 - ICMS Outra UF"),
("01", "01 - Simples Nacional"),
]
Loading

0 comments on commit 72dd851

Please sign in to comment.