POST
Approve a receipt note
Scope:
sales:invoices.writehttps://api.holded.com/api/v2/receipt-notes/{receiptNoteId}/approveApproves the receipt note by setting the approval date.
Parameters
Path parameters
receiptNoteId
stringrequiredReceipt Note ID (24-char hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/receipt-notes/{receiptNoteId}/approve"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.post(url, headers=headers)
print(response.json())Responses
Success responses
200Receipt note approvedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Receipt note not foundapplication/json429Rate limit exceededapplication/json