Skip to main content
POST

Approve a credit note

Scope:sales:invoices.write
https://api.holded.com/api/v2/credit-notes/{creditNoteId}/approve

Approves a single credit note by setting its approval date. To approve multiple credit notes, use the bulk endpoint (bulk_approve_credit_notes) rather than calling this once per document.

Parameters

Path parameters

creditNoteIdstringrequired

Credit Note ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.holded.com/api/v2/credit-notes/{creditNoteId}/approve"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.post(url, headers=headers)
print(response.json())

Responses

Success responses

200Credit note approved

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Credit note not foundapplication/json
429Rate limit exceededapplication/json