Pennylane V2 API Documentation
Ledger Attachments
Ledger Entries
Ledger Entry Lines
Customer Invoices
- GETList customer invoices
- POSTCreate a customer invoice
- POSTImport an invoice with file attached
- GETList invoice line sections for a customer invoice
- GETList invoice lines for a customer invoice
- GETList payments for a customer invoice
- GETList matched transactions for a customer invoice
- GETList appendices of a customer invoice
- POSTUpload an appendix for a customer invoice
- GETRetrieve a customer invoice
- PUTUpdate a customer invoice
- DELDelete draft invoice
- PUTUpdate a finalized customer invoice
- PUTMark a customer invoice as paid
- POSTSend a customer invoice by email
- GETList categories of a customer invoice
- PUTCategorize a customer invoice
- PUTUpdate an Imported customer invoice
- PUTTurn the draft invoice into a finalized invoice.
- POSTLink a credit note to a customer invoice
Transactions
- POSTMatch a transaction to a customer invoice
- DELUnmatch a transaction to a customer invoice
- POSTMatch a transaction to a supplier invoice
- DELUnmatch a transaction to a supplier invoice
- GETList transactions
- GETRetrieve a transaction
- GETList categories of a bank transaction
- GETList invoices matched to a bank transaction
File Attachments
Customer Invoice Templates
Exports
Customers
Supplier Invoices
- GETList matched transactions for a supplier invoice
- GETList invoice lines for a supplier invoice
- GETList supplier invoices
- GETRetrieve a supplier invoice
- PUTUpdate a supplier invoice
- GETList categories of a supplier invoice
- PUTCategorize a supplier invoice
- GETList payments for a supplier invoice
- PUTUpdate a supplier invoice payment status
- POSTImport a supplier invoice with a file attached
Credit Notes
- GETList credit notes
- POSTCreate a credit note
- POSTImport a credit note with file attached
- GETList invoice line sections for a credit note
- GETList invoice lines for a credit note
- GETRetrieve a credit note
- POSTLink a credit note to an invoice
- PUTUpdate a finalized credit note
- PUTUpdate an imported credit note
- GETList categories of a credit note
- PUTCategorize a credit note
Draft Invoices
Categories
Category Groups
Trial balance
Fiscal years
Changelogs
Bank accounts
API Reference
Ledger Entry Lines
List categories of a Ledger Entry line
List categories of a Ledger Entry line
ℹ️ This endpoint requires one of the following scopes:
ledger
GET
/
api
/
external
/
v2
/
ledger_entry_lines
/
{ledger_entry_line_id}
/
categories
Copy
Ask AI
{
"current_page": 1,
"items": [
{
"analytical_code": "CODE123",
"category_group": {
"id": 229
},
"created_at": "2023-08-30T10:08:08.146343Z",
"id": 421,
"label": "HR - Salaries",
"updated_at": "2023-08-30T10:08:08.146343Z",
"weight": "0.25"
},
{
"analytical_code": "CODE123",
"category_group": {
"id": 229
},
"created_at": "2023-08-30T10:08:08.146343Z",
"id": 421,
"label": "HR - Salaries",
"updated_at": "2023-08-30T10:08:08.146343Z",
"weight": "0.25"
}
],
"per_page": 20,
"total_items": 12,
"total_pages": 5
}
Path Parameters
(Required) Existing Ledger Entry line (id)
Example:
"22560077.537698045"
Query Parameters
(Required) Items are paginated, this is the current page which will be returned. The page index is starting at 1.
Example:
"1"
(Required) Items are paginated. By default, you get 20 items per page. You can specify another number of items per page.
Example:
"20"
Response
200
application/json
The list of categories of the Ledger Entry line
The response is of type object
.
Copy
Ask AI
{
"current_page": 1,
"items": [
{
"analytical_code": "CODE123",
"category_group": {
"id": 229
},
"created_at": "2023-08-30T10:08:08.146343Z",
"id": 421,
"label": "HR - Salaries",
"updated_at": "2023-08-30T10:08:08.146343Z",
"weight": "0.25"
},
{
"analytical_code": "CODE123",
"category_group": {
"id": 229
},
"created_at": "2023-08-30T10:08:08.146343Z",
"id": 421,
"label": "HR - Salaries",
"updated_at": "2023-08-30T10:08:08.146343Z",
"weight": "0.25"
}
],
"per_page": 20,
"total_items": 12,
"total_pages": 5
}
Assistant
Responses are generated using AI and may contain mistakes.