Create a credit note

Creates a credit note for a previously issued purchase.

Body Params
string
required

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

string
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
required

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
required

Public note to display reason on the credit note.

string

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

string
required

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