Primeiramente, agradeço pela disponibilização da lib, estou enfrentando um problema na utilizacao:
Nao consigo sequer rodar os testes, pois todos os cenarios retornam esse mesmo erro.
//set tomador
$parameter->rps->taker->type = 1;
$parameter->rps->taker->name = 'Krypton Servicos Contabeis S/S';
$parameter->rps->taker->document = 42784421000109;
$parameter->rps->taker->municipalRegistration = 10876045716;
//set tomador endereço
$parameter->rps->taker->address->address = 'R Visconde De Taunay';
$parameter->rps->taker->address->number = 173;
$parameter->rps->taker->address->complement = '';
$parameter->rps->taker->address->neighborhood = 'Sao Lucas';
$parameter->rps->taker->address->zipCode = 30240300;
$parameter->rps->taker->address->state = 'MG';
$parameter->rps->taker->address->municipalityCode = 3106200;
$lote = (new LoteRps($settings, $parameter->rpsLot));
$rps = (new Rps($settings, $parameter->rps->number . $parameter->rps->serie));
//set data
$rps->setRpsIdentification($parameter);
$rps->setService($parameter);
$rps->setProvider();
$rps->setTaker($parameter);
//realiza chamada
$signedRps = $rps->getSignedRps();
$lote->addRps($signedRps);
$result = $lote->sendLote();
dd($result);
} catch (Exception $e) {
throw $e;
}
}