Skip to main content
PUT
Update Draft Credit Note

Authorizations

X-Auth-Token
string
header
required

Authentication token for API access

Path Parameters

clientId
string
required
creditNoteId
string
required

Body

application/json

Request to update a draft credit note.

organisationId
string
clientId
string
creditNoteId
string
date
string | null
lineAmountTypes
enum<string> | null
Available options:
Exclusive,
Inclusive,
NoTax
reference
string | null
invoiceReference
string | null
linkedInvoiceId
string | null
groupingKey
string | null
lineItems
object[] | null

Response

OK

Billing's response envelope: the platform's (message.text + message.token, content.data + content.metadata, validationIssues) plus the fields billing sent before it (PRODLAUNCH-416). Those are deprecated, removed on 31 December 2026, and are projections of their replacements so the two cannot disagree.

message
object
required

What happened, as English text and a stable snake_case token to translate from.

content
object
validationIssues
object[] | null
errors
object[] | null
deprecated
read-only

Deprecated: the same issues as validationIssues (reasonText is reason, reasonId is reasonToken, reasonParameters is reasonTokenArguments). Read validationIssues; this will be removed.

metadata
object
deprecated

Deprecated: the same values as content.metadata. Read that; this will be removed.