id path parameter.Invoice object plus optional InvoiceItem, Payment, etc.). Send the fields you want to change; the id from the path is always applied.404 when no credit note matches the id. Editing is also blocked (404) when the credit note's date is in a closed financial period or it has been submitted to a tax authority. Requires permission to edit invoices/credit notes. See Add New Invoice for the full field reference.curl --location --globoff --request PUT 'https://.daftra.com/api2/credit_notes/5021.json' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"Invoice": {
"client_id": 15,
"date": "2026-06-25",
"currency_code": "USD",
"store_id": 0,
"notes": "string"
},
"InvoiceItem": [
{
"item": "Consulting service",
"unit_price": 100,
"quantity": 1,
"product_id": 12
}
]
}'{
"result": "successful",
"code": 200
}