Pennylane API
14 endpoints for Pennylane, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/pennylane
- Connects with
- Your own Pennylane user, with access to invoicing, bank transactions and categories
- Integration page
- Pennylane
Read (7)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Customers in your Pennylane account with name, type and email, optionally filtered by name. |
| GET | Customer invoices with number, customer, amounts, status and due date, newest first. |
| GET | One customer invoice with its lines, payments and matched bank transactions. |
| GET | Supplier invoices with number, supplier, amounts and due date, newest first. |
| GET | Suppliers in your Pennylane account with name and ID, optionally filtered by name. |
| GET | Bank transactions with date, label, amount, categories and matched invoices, newest first. |
| GET | Categories you use to analyse transactions and invoices, with their group and direction. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Add a company or individual customer to your Pennylane customer list. |
| POST | Create an invoice for a customer, as a draft by default. |
| POST | Turn a draft invoice into a final one with an invoice number. |
| POST | Email a customer invoice to the customer or to the addresses you give. |
| POST | Upload a supplier invoice PDF with its date, due date and amounts. |
| POST | Set the categories of a bank transaction, with a weight for each. |
| POST | Link a bank transaction to a customer invoice as its payment. |