I think you can simply use the nested folder name in the “at folder” action. Eg:
set newNote to make new note at folder “Bills” with properties...
This works for me.
I can’t explain the error. See this post for maybe a related issue. I have not been able to resolve the issue I describe in the linked post. I’m still on Mojave and this script is still working for me.