Website user who has customer role unable to open invoices

What is the correct way to create customer and give permission to open related sales invoice

Set properly role and perimissions

If possible, please share how to do it.

what exactly is your requirments

Like the customer can log into erpnext and only see his/hers sales orders and invoices.

Looks possible but I must be doing something wrong. So setting mistake.

Just one example would be great. From there I hope to figure it out.

Still learning about roles and permissions.

P V Anthony