Erro NFSE - Rondonopolis/MT Element '{http://www.agili.com.br/nfse_v_1.00.xsd}QuantidadeRps': [facet 'minInclusive']

Municipio Rondonopolis/MT

{
  "provedor": "padrao",
  "ambiente": "homologacao",
  "infDPS": {
    "tpAmb": 2,
    "dhEmi": "2025-03-26T09:00:00Z",
    "verAplic": "1.0",
    "dCompet": "2025-03-26",
    "prest": {
      "CNPJ": "46092973XXXX"
    },
    "toma": {
      "CPF": "07258257XXX",
      "xNome": "SAMUEL TORRES DA SILVA",
      "end": {
        "endNac": {
          "cMun": "5107602",
          "CEP": "78740000"
        },
        "xLgr": "RUA CURICACA",
        "nro": "236",
        "xCpl": "000",
        "xBairro": "VILLAGE DO CERRADO"
      },
      "fone": "51997841900",
      "email": "samueltorrxxx@gmail.com"
    },
    "serv": {
      "cServ": {
        "cTribNac": "1401",
        "cTribMun": "",
        "CNAE": "95.2.9-1.06",
        "xDescServ": "SERVICO DE JOIAS"
      }
    },
    "valores": {
      "vServPrest": {
        "vReceb": 10.00,
        "vServ": 10.00
      },
      "vDescCondIncond": {
        "vDescIncond": 0,
        "vDescCond": 0
      },
      "trib": {
        "tribMun": {
          "tribISSQN": 1,
          "cLocIncid": "5107602",
          "pAliq": 5.00,
          "tpRetISSQN": 1
        },
        "totTrib": {
          "vTotTrib": {
            "vTotTribFed": 0,
            "vTotTribEst": 0,
            "vTotTribMun": 0.50
          },
          "pTotTrib": {
            "pTotTribFed": 0,
            "pTotTribEst": 0,
            "pTotTribMun": 0.50
          },
          "indTotTrib": 0,
          "pTotTribSN": 0.50
        }
      }
    }
  }
}

Response:

{
    "error": {
        "code": "ValidationFailed",
        "message": "Validation failed: Erro de Validação:  --> 1833 - Element '{http://www.agili.com.br/nfse_v_1.00.xsd}QuantidadeRps': [facet 'minInclusive'] The value '1' is less than the minimum value allowed ('2').",
        "errors": [
            {
                "code": "X800",
                "message": "Erro de Validação:  --> 1833 - Element '{http://www.agili.com.br/nfse_v_1.00.xsd}QuantidadeRps': [facet 'minInclusive'] The value '1' is less than the minimum value allowed ('2')."
            }
        ]
    }
}

Ja troquei e tentei em producao e nao obtive exito, poderia auxiliar?

Boa tarde, @samueltorressilva87.

Fizemos um ajuste agora para esse município.

Favor tentar novamente.

obtendo esse erro agora:

{
“error”: {
“code”: “ValidationFailed”,
“message”: “Validation failed: Erro de Validação: → 1830 - Element ‘{http://www.agili.com.br/nfse_v_1.00.xsd}UnidadeGestora’: [facet ‘length’] The value has a length of ‘0’; this differs from the allowed length of ‘14’.”,
“errors”: [
{
“code”: “X800”,
“message”: “Erro de Validação: → 1830 - Element ‘{http://www.agili.com.br/nfse_v_1.00.xsd}UnidadeGestora’: [facet ‘length’] The value has a length of ‘0’; this differs from the allowed length of ‘14’.”
}
]
}
}

@samueltorressilva87

Tente novamente agora, por favor.

Gerou o ID da NFS mas ao consultar tenho o erro:

{
    "codigo": "X800",
    "descricao": "Erro de Validação:  --> 1839 - Element '{http://www.agili.com.br/nfse_v_1.00.xsd}Tipo': [facet 'pattern'] The value '1' is not accepted by the pattern '-2|-4|-5'.\n"
}

Na documentacao lá na prefeitura tem:

<xsd:simpleType name="tsTipoRps">
<xsd:restriction base="xsd:integer">
<xsd:pattern value="-2|-4|-5"/>
</xsd:restriction>
</xsd:simpleType>

Outra coisa, na nota de exemplo que tenho para transmitir, ele tem as seguintes tags:

<AliquotaISSQN>5.00</AliquotaISSQN>
<ValorISSQNCalculado>50.00</ValorISSQNCalculado>
<TipoAbatimento>-9</TipoAbatimento>
<PercAbatimento>100</PercAbatimento>
<ValorISSQNRecolher>0.00</ValorISSQNRecolher>
<ValorDeducaoConstCivil>0.00</ValorDeducaoConstCivil>

Sobre Abatimento, porem na documentação nao encontrei onde envia-las.

@samueltorressilva87

Qual o id gerado?

nfs_3a18eadf1a064a838b2a667d9d5ddcd7