Pereiti prie pagrindinio turinio
credit_notes

Update /credit_notes/{uuid}

Update a credit note by UUID (PATCH). Only sent fields are updated. Returns record with the detail projection.

PATCH
/credit_notes/{uuid}
Authorizationstringheaderprivaloma

API key (Bearer token) created in Setup → API & MCP.

uuidstringprivaloma

Turinys

application/json
adminnotestring

Internal admin note.

assigneestring

Assignee staff UUID.

billing_citystring

Billing city.

billing_countrystring

Billing country UUID.

billing_statestring

Billing state/region.

billing_streetstring

Billing street address.

billing_zipstring

Billing ZIP/postal code.

clientnotestring

Note visible to client.

contactstring

Client UUID.

currencystring

Currency name (e.g. EUR). Uses tenant default when omitted on create.

custom_fieldsobject[]

Custom field values by slug.

datestring

Credit note date (Y-m-d).

invoicestring

Related invoice UUID. When set on create, credit may be auto-applied to the invoice.

itemsobject[]

Credit note line items to create or update. Include uuid to update an existing row.

organizationstring

Organization UUID.

projectstring

Related project UUID.

reference_nostring

Reference number.

shipping_citystring

Shipping city.

shipping_countrystring

Shipping country UUID.

shipping_statestring

Shipping state/region.

shipping_streetstring

Shipping street address.

shipping_zipstring

Shipping ZIP/postal code.

statusinteger

Credit note status code (1=open, 2=closed, 3=void).

termsstring

Terms and conditions.

Atsakymas

application/json

Success

recordobject

Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.