Scopes are used to limit a token's access to Pennylane data.
We currently have 3 scopes for the API.
- customer_invoices
- supplier_invoices
- accounting
You can find the details per endpoint bellow.
Where to find my token's scopes
You can see the authorized scopes listed under the token information.
![Screenshot 2022-12-20 at 15.01.06.png 1443](https://files.readme.io/54c5cb0-Screenshot_2022-12-20_at_15.01.06.png)
Required scopes per endpoint
Here's our mapping of API endpoints and their required scopes:
Scopes | Endpoints |
---|---|
customer_invoices | - Customer Invoices - Estimates - Billing Subscriptions - Customers - Products - Plan Items - Enums - Connection test - Webhooks |
supplier_invoices | - Supplier Invoices - Suppliers |
accounting | - Categories - Category Groups |