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
Credit Notes
Update a finalized credit note
PUT
/
api
/
external
/
v2
/
credit_notes
/
{id}
/
update_finalized
Copy
Ask AI
{
"amount": "-230.32",
"archived_at": "2023-08-30T10:08:08.146343Z",
"categories": {
"url": "https://app.pennylane.com/api/external/v2/credit_notes/42/categories"
},
"created_at": "2023-08-30T10:08:08.146343Z",
"credited_invoice": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42"
},
"currency": "EUR",
"currency_amount": "-230.32",
"currency_amount_before_tax": "-196.32",
"currency_tax": "-34.0",
"customer": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customers/42"
},
"customer_invoice_template": {
"id": 45973416
},
"date": "2023-08-30",
"deadline": "2020-09-02",
"discount": {
"type": "relative",
"value": "aliquip"
},
"exchange_rate": "1.0",
"external_reference": "FR123",
"filename": "my_file.pdf",
"id": 42,
"invoice_line_sections": {
"url": "https://app.pennylane.com/api/external/v2/credit_notes/42/invoice_line_sections"
},
"invoice_lines": {
"url": "https://app.pennylane.com/api/external/v2/credit_notes/42/invoice_lines"
},
"invoice_number": "F20230001",
"label": "Credit note label",
"language": "fr_FR",
"ledger_entry": {
"id": 42002
},
"paid": false,
"pdf_description": "Credit note description",
"pdf_invoice_free_text": "Thanks for paying this credit note",
"pdf_invoice_subject": "Credit note subject",
"public_file_url": "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D",
"remaining_amount_with_tax": "20.0",
"remaining_amount_without_tax": "16.0",
"special_mention": "Additional details",
"tax": "-34.0",
"transaction_reference": {
"banking_provider": "stripe",
"provider_field_name": "label",
"provider_field_value": "invoice_number"
},
"updated_at": "2023-08-30T10:08:08.146343Z"
}
Path Parameters
(Required)
Example:
"42"
Body
application/json
Response
200
application/json
A Credit note
The response is of type object
.
Copy
Ask AI
{
"amount": "-230.32",
"archived_at": "2023-08-30T10:08:08.146343Z",
"categories": {
"url": "https://app.pennylane.com/api/external/v2/credit_notes/42/categories"
},
"created_at": "2023-08-30T10:08:08.146343Z",
"credited_invoice": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42"
},
"currency": "EUR",
"currency_amount": "-230.32",
"currency_amount_before_tax": "-196.32",
"currency_tax": "-34.0",
"customer": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customers/42"
},
"customer_invoice_template": {
"id": 45973416
},
"date": "2023-08-30",
"deadline": "2020-09-02",
"discount": {
"type": "relative",
"value": "aliquip"
},
"exchange_rate": "1.0",
"external_reference": "FR123",
"filename": "my_file.pdf",
"id": 42,
"invoice_line_sections": {
"url": "https://app.pennylane.com/api/external/v2/credit_notes/42/invoice_line_sections"
},
"invoice_lines": {
"url": "https://app.pennylane.com/api/external/v2/credit_notes/42/invoice_lines"
},
"invoice_number": "F20230001",
"label": "Credit note label",
"language": "fr_FR",
"ledger_entry": {
"id": 42002
},
"paid": false,
"pdf_description": "Credit note description",
"pdf_invoice_free_text": "Thanks for paying this credit note",
"pdf_invoice_subject": "Credit note subject",
"public_file_url": "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D",
"remaining_amount_with_tax": "20.0",
"remaining_amount_without_tax": "16.0",
"special_mention": "Additional details",
"tax": "-34.0",
"transaction_reference": {
"banking_provider": "stripe",
"provider_field_name": "label",
"provider_field_value": "invoice_number"
},
"updated_at": "2023-08-30T10:08:08.146343Z"
}
Assistant
Responses are generated using AI and may contain mistakes.