Update a credit note

Updates a Credit Notes object. Only credit notes with status draft can be updated.

Path Params
string
required

The unique ID of the Credit Note you want to update

Body Params
date

Credit note issuance date (YYYY-MM-DD format).

float
Defaults to 0

Total discount applied to the credit note.

string
enum
Defaults to %

Indicates if the discount is applied as a percentage % or a fixed amount $.

Allowed:
string

Optional internal note for reference (not shown on document).

lines
object

List of line items being credited. Follows the same structure as purchase lines.

json

A freely usable key/value object. Useful for storing custom information.

string

Public note to display reason on the credit note.

int32

Credit note number. If omitted, it will be auto-generated.

string

ID of the original purchase being credited.

tax_settings
object

Fields used to define tax aspects specific to the different electronic invoicing regulations of each country.

string

Determines whether the Credit Note is for test use or not

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json