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.

Required scopes per endpoint

Here's our mapping of API endpoints and their required scopes:

ScopesEndpoints
customer_invoices- Customer Invoices
- Estimates
- Billing Subscriptions
- Customers
- Products
- Plan Items
- Enums
- Webhooks
- User profile
supplier_invoices- Supplier Invoices
- Suppliers
- Plan Items
- Enums
- User profile
accounting- Categories
- Category Groups
- Enums
- User profile