POST
/
credit-notes

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

Body

application/json
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
customerId
string
required

The ID of the Customer this Credit Note is linked to

invoiceId
string

Invoice ID

billingPeriodStart
string

Billing period start

billingPeriodEnd
string

Billing period end

purchaseOrderNumber
string

Purchase order number

customerEmails
string[]

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

Customer's legal company name

customerBillingAddress
object

Customer's billing address

customerShippingAddress
object

Customer's billing address

memo
string

Credit Note memo

metadata
object[]

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

customerTaxId
string

Customer's tax ID

Response

201 - 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
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
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

Customer's legal company name

customerBillingAddress
object
required

Customer's billing address

customerShippingAddress
object
required

Customer's billing address

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
object[]
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

settings
object
required

Credit note settings

invoiceId
string

Invoice ID

invoiceNumber
string

Invoice Number

billingScheduleId
string

Subscription ID

issueDate
string

Issue date

billingPeriodStart
string

Billing period start

billingPeriodEnd
string

Billing period end

creditNoteNumber
string

Credit Note number

purchaseOrderNumber
string

Purchase order number

memo
string

Credit Note memo

customerTaxId
string

Customer's tax ID

merchantDetails
object

Merchant details

accountingDate
string

Accounting date