variantestringOptional"ICMS00" · "ICMS20" · "ICMS45" · "ICMS60" · "ICMS90" · "ICMSOutraUF" · "ICMSSN"Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Accepted for compatibility: variant, CST, tax base, rate and reduction are replaced by the route's tax rule. Only transactional values are read here: the withheld ST group (v_bc_st_ret, v_icms_st_ret, p_icms_st_ret, required when the rule is ICMS60) and the presumed credit (v_cred, optional for ICMS90).
variantestringOptional"ICMS00" · "ICMS20" · "ICMS45" · "ICMS60" · "ICMS90" · "ICMSOutraUF" · "ICMSSN"cststringOptionalminLength2maxLength2v_bcnumber | null · doubleOptionalminimum0p_icmsnumber | null · doubleOptionalminimum0maximum100v_icmsnumber | null · doubleOptionalminimum0p_red_bcnumber | null · doubleOptionalminimum0maximum100v_bc_st_retnumber | null · doubleOptionalminimum0v_icms_st_retnumber | null · doubleOptionalminimum0p_icms_st_retnumber | null · doubleOptionalminimum0maximum100v_crednumber | null · doubleOptionalminimum0{
"type": "object",
"description": "Aceito por compatibilidade: variante, CST, base, alíquota e redução são substituídos pela\nregra de tributação da rota. Só os valores transacionais são lidos daqui — o grupo de ST\nretido (`v_bc_st_ret`, `v_icms_st_ret`, `p_icms_st_ret`, obrigatório quando a regra é\n`ICMS60`) e o crédito presumido (`v_cred`, opcional em `ICMS90`).\n",
"properties": {
"variante": {
"type": "string",
"enum": [
"ICMS00",
"ICMS20",
"ICMS45",
"ICMS60",
"ICMS90",
"ICMSOutraUF",
"ICMSSN"
]
},
"cst": {
"type": "string",
"minLength": 2,
"maxLength": 2
},
"v_bc": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0
},
"p_icms": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0,
"maximum": 100
},
"v_icms": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0
},
"p_red_bc": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0,
"maximum": 100
},
"v_bc_st_ret": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0
},
"v_icms_st_ret": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0
},
"p_icms_st_ret": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0,
"maximum": 100
},
"v_cred": {
"type": [
"number",
"null"
],
"format": "double",
"minimum": 0
}
}
}