I have an account specifically for using the REST API. This account can successfully GET
/invoices
. However, if I send a GET
to /invoices/{id}
, I get:
{
"error": {
"code": 401,
"message": "Unauthorized: Access not allowed for login api"
}
}
This user has Create, Read, Update, and Export permission for invoices. I’ve also added permissions for some possibly related things, like Vendors, Payments, etc. I’m not sure what specific permission is required to fetch invoices by ID. It also can’t fetch lines per invoice id, payments per invoice id, etc.