Get credit note details
Returns detailed information about a specific credit note. Requires authentication; only returns documents belonging to the authenticated user.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Credit Note ID
Responses
Section titled “ Responses ”Credit Note resource
Credit note details (JSON-LD)
object
JSON-LD ID
JSON-LD type
Credit Note ID
Creation date (unix timestamp)
Credit note amount
Currency
Credit note status: 0 = New, 1 = Success, 2 = Failed
Payment method: 1 = SEPA, 6 = Bank Transfer, 7 = PayPal, 8 = Sofort, 91 = Stored Card, 92 = New Card
Payment date (unix timestamp), 0 if not paid
Client company name
Client address
Client info line
VAT percentage
VAT identification number
VAT value
Fee percentage
Fee value
Net cost value
ISO-2 country code
Custom text on the credit note
URI to download credit note PDF
URI to the related invoice
Examples
Credit note detail example (JSON-LD)
Example response for GET /credit_notes/{id} with Accept: application/ld+json
{ "@context": "/contexts/CreditNote", "@id": "/credit_notes/240", "@type": "CreditNote", "id": "240", "created_at": 1770140830, "amount": 0.01, "currency": "EUR", "status": 1, "payment_type": 6, "paid_at": 0, "client_name": "Example Customer Ltd.", "client_address": "Main Street 42\n12345 Example City", "client_info": "John Doe", "vat": 19, "vat_id": "DE123456789", "vat_val": 0, "fee": 0, "fee_val": 0, "net_val": 0.01, "iso2": "DE", "custom_text": "CN-2024-001", "pdf": "/credit_notes/240/pdf", "invoice": "/invoices/79484"}Credit note details
object
Credit Note ID
Creation date (unix timestamp)
Credit note amount
Currency
Credit note status: 0 = New, 1 = Success, 2 = Failed
Payment method: 1 = SEPA, 6 = Bank Transfer, 7 = PayPal, 8 = Sofort, 91 = Stored Card, 92 = New Card
Payment date (unix timestamp), 0 if not paid
Client company name
Client address
Client info line
VAT percentage
VAT identification number
VAT value
Fee percentage
Fee value
Net cost value
ISO-2 country code
Custom text on the credit note
URI to download credit note PDF
URI to the related invoice
Examples
Credit note detail example
Example response for GET /credit_notes/{id}
{ "id": "240", "created_at": 1770140830, "amount": 0.01, "currency": "EUR", "status": 1, "payment_type": 6, "paid_at": 0, "client_name": "Example Customer Ltd.", "client_address": "Main Street 42\n12345 Example City", "client_info": "John Doe", "vat": 19, "vat_id": "DE123456789", "vat_val": 0, "fee": 0, "fee_val": 0, "net_val": 0.01, "iso2": "DE", "custom_text": "CN-2024-001", "pdf": "/credit_notes/240/pdf", "invoice": "/invoices/79484"}Client ID or API key isn’t active or invalid!
Account isn’t activated. Please wait or contact to support!
Resource not found
IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.
Code Samples
curl -s 'https://api.lox24.eu/credit_notes/7' -H 'X-LOX24-AUTH-TOKEN: YOUR_API_TOKEN' | jqusing var client = new HttpClient();client.DefaultRequestHeaders.Add("X-LOX24-AUTH-TOKEN", "YOUR_API_TOKEN");var response = await client.GetStringAsync("https://api.lox24.eu/credit_notes/7");Console.WriteLine(response);package mainimport ("fmt"; "net/http"; "io")func main() { req, _ := http.NewRequest("GET", "https://api.lox24.eu/credit_notes/7", nil) req.Header.Set("X-LOX24-AUTH-TOKEN", "YOUR_API_TOKEN") resp, _ := http.DefaultClient.Do(req) body, _ := io.ReadAll(resp.Body) fmt.Println(string(body))}import java.net.http.*;import java.net.URI;var request = HttpRequest.newBuilder().uri(URI.create("https://api.lox24.eu/credit_notes/7")).header("X-LOX24-AUTH-TOKEN", "YOUR_API_TOKEN").build();var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());fetch('https://api.lox24.eu/credit_notes/7', {headers: {'X-LOX24-AUTH-TOKEN': 'YOUR_API_TOKEN'}}).then(r => r.json()).then(console.log)<?php$ch = curl_init("https://api.lox24.eu/credit_notes/7");curl_setopt($ch, CURLOPT_HTTPHEADER, ["X-LOX24-AUTH-TOKEN: YOUR_API_TOKEN"]);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);echo curl_exec($ch);curl_close($ch);import requests; r = requests.get("https://api.lox24.eu/credit_notes/7", headers={"X-LOX24-AUTH-TOKEN": "YOUR_API_TOKEN"}); print(r.json())