Upon receiving a response in the form of a JavaScript Object, the structure looks something like this:
{
"result": [
{
"invoice_prefix": "INV",
"maximum_invoice_no": "0009"
}
]
}
I am attempting to access the values of invoice_prefix and maximum_invoice_no. I tried using result[0].maximum_invoice_no, but it returns undefined. I have also explored other methods, yet the issue persists. Any suggestions or hints would be greatly appreciated.