POST
/
credit-notes
/
{id}
/
finalize-and-send

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Credit Note Id

Response

200 - application/json
id
string
required

Credit Note ID

sequenceAccountId
string
required

Sequence Account ID

status
enum<string>
required

Credit Note status

Available options:
DRAFT,
FINAL,
SENT,
VOIDED
invoiceId
string

Invoice ID

invoiceNumber
string

Invoice Number

currency
enum<string>
required

Credit Note currency

Available options:
ARS,
AUD,
BRL,
CAD,
CHF,
CNY,
COP,
CZK,
DKK,
EUR,
GBP,
HKD,
ILS,
JPY,
KRW,
MXN,
NOK,
NZD,
PLN,
SEK,
SGD,
THB,
USD,
UYU,
ZAR
issueDate
string

Issue date

billingPeriodStart
string

Billing period start

billingPeriodEnd
string

Billing period end

creditNoteNumber
string

Credit Note number

purchaseOrderNumber
string

Purchase order number

customerId
string
required

The ID of the Customer this Credit Note is linked to

customerEmails
string[]
required

Customer's email addresses, used for sending the Credit Note if provided

customerLegalCompanyName
string
required

Customer's legal company name

customerBillingAddress
object
required

Customer's billing address

customerShippingAddress
object
required

Customer's billing address

memo
string

Credit Note memo

totalTax
string
required

Total tax, in decimal format of the Credit Note's currency

netTotal
string
required

Net total, in decimal format of the Credit Note's currency

grossTotal
string
required

Gross total, in decimal format of the Invoice's currency

metadata
any[]
required

Mapping of key-value pairs to attach to the Credit Note. These are not interpreted by Sequence; they are present for your use alone.

linkedServices
object[]
required

External services which are linked to this credit note

merchantDetails
object

Merchant details