Comunidade
Erro 500 ao criar boleto
Estou recebendo este erro, porém na documentacão não tem nenhum parametro chamado split
{
"fault": {
"faultstring": "Execution of JS-SetTaxIdVariable failed with error: Javascript runtime error: "TypeError: Cannot call method "split" of null. (SetTaxIdVariable.js:2)"",
"detail": {
"errorcode": "steps.javascript.ScriptExecutionFailed"
}
}
}
Meu body enviado:
{
"payer": {
"address": {
"zipCode": "59626110",
"city": "Mossoró",
"state": "RN",
"street": "RUA FRANCISCO ROSADO BANDEIRA",
"number": "69"
},
"name": "CHRYSTIAN PAULINO NUNES",
"email": "[email protected]",
"phoneNumber": "84987195148",
"taxId": "10709437463"
},
"installments": 1,
"interests": {
"arrears": {
"type": "PERCENTAGE",
"value": 0
},
"penalty": {
"type": "PERCENTAGE",
"value": 0
}
},
"discounts": [
{
"type": "PERCENTAGE"
},
{
"type": "PERCENTAGE"
}
],
"amount": 1500,
"dueDate": "2021-04-02",
"referenceNumber": "123",
"description": "teste"
}