-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Estou tendo problemas com a Multa, pelo que entendi (posso estar errado é claro) o problema nao esta nos valores e sim na chave MULTA.
aqui segue o array de um dos testes
{["NOSSO_NUMERO"]=> string(17) "14000000000000056" ["NUMERO_DOCUMENTO"]=> string(5) "00001" ["DATA_EMISSAO"]=> string(10) "2019-08-06" ["DATA_VENCIMENTO"]=> string(10) "2019-08-06" ["NUMERO_DIAS"]=> string(2) "30" ["VALOR"]=> string(5) "36.00" ["TIPO_ESPECIE"]=> string(2) "99" ["FLAG_ACEITE"]=> string(1) "N" ["JUROS_MORA"]=> array(2) { ["TIPO"]=> string(11) "TAXA_MENSAL" ["PERCENTUAL"]=> string(16) "0000000000015.00" } ["MULTA"]=> array(2) { ["VALOR"]=> string(5) "20.00" ["DATA"]=> string(10) "2019-10-09" } ["PAGADOR"]=> array(3) { ["CNPJ"]=> string(15) "000022351800354" ["RAZAO_SOCIAL"]=> string(40) "ERICK RYAN IAGO ARAUJO " ["ENDERECO"]=> array(5) { ["LOGRADOURO"]=> string(40) "TRAVESSA JONAS BEZERRA " ["BAIRRO"]=> string(0) "" ["CIDADE"]=> string(15) "FORTALEZA " ["UF"]=> string(2) "CE" ["CEP"]=> string(7) "6086324" } } ["FICHA_COMPENSACAO"]=> array(1) { ["MENSAGENS"]=> array(1) { ["MENSAGEM1"]=> string(0) "" } } }
E agora o erro que volta :
["HEADER"]=> array(3) { ["VERSAO"]=> string(3) "1.0" ["OPERACAO"]=> string(12) "SEM_OPERACAO" ["DATA_HORA"]=> string(14) "20190809161453" } ["COD_RETORNO"]=> string(2) "X5" ["ORIGEM_RETORNO"]=> string(15) "BROKER-SPPECJD4" ["MSG_RETORNO"]=> string(38) "(BK76) ERRO NA FORMATACAO DA MENSAGEM." ["DADOS"]=> array(1) { ["EXCECAO"]=> string(1457) "EXCECAO NO BAR_MANUTENCAO_COBRANCA_BANCARIA_WS.SOAPInput_Empresas_Externas. DETALHES: ParserException(1) - Funcao: ImbDataFlowNode::createExceptionList, Texto Excecao: Node throwing exception, Texto de Insercao(1) - BAR_MANUTENCAO_COBRANCA_BANCARIA_WS.SOAPInput_Empresas_Externas.ParserException(2) - Funcao: ImbSOAPInputNode::validateData, Texto Excecao: Error occurred in ImbSOAPInputHelper::validateSOAPInput(), Texto de Insercao(1) - BAR_MANUTENCAO_COBRANCA_BANCARIA_WS.SOAPInput_Empresas_Externas.ParserException(3) - Funcao: ImbRootParser::parseNextItem, Texto Excecao: Exception whilst parsing.ParserException(4) - Funcao: ImbSOAPParser::createSoapShapedTree, Texto Excecao: problem creating SOAP tree from bitstream.ParserException(5) - Funcao: ImbXMLNSCParser::parseLastChild, Texto Excecao: XML Parsing Errors have occurred.ParserException(6) - Funcao: ImbXMLNSCDocHandler::handleParseErrors, Texto Excecao: A schema validation error has occurred while parsing the XML document, Texto de Insercao(1) - 5008, Texto de Insercao(2) - 2, Texto de Insercao(3) - 2, Texto de Insercao(4) - 929, Texto de Insercao(5) - cvc-complex-type.2.4.e: Unexpected element. Element "MULTA" is not one of the choices., Texto de Insercao(6) - /XMLNSC/{http://schemas.xmlsoap.org/soap/envelope/}:Envelope/{http://schemas.xmlsoap.org/soap/envelope/}:Body/{http://caixa.gov.br/sibar/manutencao_cobranca_bancaria/boleto/externo}:SERVICO_ENTRADA/DADOS/INCLUI_BOLETO/TITULO." } }
No manual que tenho do WebService, tem alguns exemplos, e neles o campo de multa segue do mesmo jeito que o do meu teste (só com os campos VALOR e DATA). Tentei colocar o campo TIPO tambem, mas o resultado foi o mesmo. Tentei tambem o suporte da Caixa mas ja faz uma semana que nao respondem.