{
"amount": "230.32",
"appendices": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/appendices"
},
"archived_at": "2023-08-30T10:08:08.146343Z",
"billing_subscription": {
"id": 75826915
},
"categories": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/categories"
},
"created_at": "2023-08-30T10:08:08.146343Z",
"credited_invoice": {
"id": 40,
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/40"
},
"currency": "EUR",
"currency_amount": "230.32",
"currency_amount_before_tax": "196.32",
"currency_tax": "34.0",
"custom_header_fields": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/custom_header_fields"
},
"customer": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customers/42"
},
"customer_invoice_template": {
"id": -22319912
},
"date": "2023-08-30",
"deadline": "2020-09-02",
"discount": {
"type": "relative",
"value": "25"
},
"draft": false,
"estimate": {
"id": 42
},
"exchange_rate": "1.0",
"external_reference": "FR123",
"filename": "my_file.pdf",
"from_estimate_id": 42,
"id": 42,
"invoice_line_sections": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/invoice_line_sections"
},
"invoice_lines": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/invoice_lines"
},
"invoice_number": "F20230001",
"label": "Invoice label",
"language": "fr_FR",
"ledger_entry": {
"id": 42002
},
"matched_transactions": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/matched_transactions"
},
"paid": false,
"payments": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/payments"
},
"pdf_description": "Invoice description",
"pdf_invoice_free_text": "Thanks for paying this invoice",
"pdf_invoice_subject": "Invoice subject",
"public_file_url": "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D",
"quote": {
"id": 42
},
"remaining_amount_with_tax": "20.0",
"remaining_amount_without_tax": "16.0",
"special_mention": "Additional details",
"status": "late",
"tax": "34.0",
"transaction_reference": {
"banking_provider": "bank",
"provider_field_name": "label",
"provider_field_value": "invoice_number"
},
"updated_at": "2023-08-30T10:08:08.146343Z"
}
Retrieve a customer invoice or a credit note
ℹ️ This endpoint requires one of the following scopes:
customer_invoices:all
,customer_invoices:readonly
{
"amount": "230.32",
"appendices": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/appendices"
},
"archived_at": "2023-08-30T10:08:08.146343Z",
"billing_subscription": {
"id": 75826915
},
"categories": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/categories"
},
"created_at": "2023-08-30T10:08:08.146343Z",
"credited_invoice": {
"id": 40,
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/40"
},
"currency": "EUR",
"currency_amount": "230.32",
"currency_amount_before_tax": "196.32",
"currency_tax": "34.0",
"custom_header_fields": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/custom_header_fields"
},
"customer": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/customers/42"
},
"customer_invoice_template": {
"id": -22319912
},
"date": "2023-08-30",
"deadline": "2020-09-02",
"discount": {
"type": "relative",
"value": "25"
},
"draft": false,
"estimate": {
"id": 42
},
"exchange_rate": "1.0",
"external_reference": "FR123",
"filename": "my_file.pdf",
"from_estimate_id": 42,
"id": 42,
"invoice_line_sections": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/invoice_line_sections"
},
"invoice_lines": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/invoice_lines"
},
"invoice_number": "F20230001",
"label": "Invoice label",
"language": "fr_FR",
"ledger_entry": {
"id": 42002
},
"matched_transactions": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/matched_transactions"
},
"paid": false,
"payments": {
"url": "https://app.pennylane.com/api/external/v2/customer_invoices/42/payments"
},
"pdf_description": "Invoice description",
"pdf_invoice_free_text": "Thanks for paying this invoice",
"pdf_invoice_subject": "Invoice subject",
"public_file_url": "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D",
"quote": {
"id": 42
},
"remaining_amount_with_tax": "20.0",
"remaining_amount_without_tax": "16.0",
"special_mention": "Additional details",
"status": "late",
"tax": "34.0",
"transaction_reference": {
"banking_provider": "bank",
"provider_field_name": "label",
"provider_field_value": "invoice_number"
},
"updated_at": "2023-08-30T10:08:08.146343Z"
}
(Required)
"1234"
A Customer Invoice or a credit note
The response is of type object
.