Generate JSON from Invoice Doctype

Is there any strighforward way to generate a JSON file from a doctype (and then send to SOAP web service?)?

Thanks!

hi @alexisolivo , yes there is a simple way to do it.
Just access https://{your_website}/api/resource/{doctype}/{name}
Then you will get the JSON data from that document.
Hope it help :pray:

1 Like