Hi,
basically i want to check EU VAT numbers for their validity.
Where i have a API CALL to VIES and saving the results in a App State. That works so far fine.
Now i want to have a conditional action, if the VAT number somewhere in the list is existing it should update the list at the sppecific index where the VAT number is present.
The list looks like this (JSON) (Just an example)
{"vatNumber":"NL810462783B01","lastUpdate":"2024-09-18T13:23:48.199Z","name":"SHELL CHEMICALS EUROPE B.V.","address":"\nWEENA 00505\n3013AL ROTTERDAM\n","valid":true}
So, i need to check in the whole list in "vatNumber": if the current checked VAT is present and proceed with my conditional action.