Skip to main content
DELETE
Delete a Credit Note

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

OK

id
string
required

Credit Note ID

Example:

"af60cab3-812d-4250-a051-0fb7133a00c7"

sequenceAccountId
string
required

Sequence Account ID

Example:

"68233908-402a-43b4-8952-1c2ab0ef0b25"

status
enum<string>
required

Credit Note status

Available options:
DRAFT,
FINAL,
IN_PROGRESS,
SENT,
VOIDED
Example:

"DRAFT"

currency
enum<string>
required

Credit Note currency

Available options:
AED,
ARS,
AUD,
BRL,
BGN,
CAD,
CHF,
CLP,
CNY,
COP,
CZK,
DKK,
EGP,
EUR,
GBP,
HKD,
ILS,
INR,
ISK,
JPY,
KRW,
MXN,
NOK,
NZD,
PLN,
SAR,
SEK,
SGD,
THB,
USD,
UYU,
ZAR
Example:

"GBP"

customerId
string
required

The ID of the Customer this Credit Note is linked to

Example:

"61b083e0-1faa-47ca-9aeb-6205da8f6c47"

customerEmails
string[]
required

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

Example:

Customer's legal company name

Example:

"Facebook"

customerBillingAddress
object
required

Customer's billing address

Example:
customerShippingAddress
object
required

Customer's billing address

Example:
totalTax
string
required

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

Example:

"2.50"

netTotal
string
required

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

Example:

"51.20"

grossTotal
string
required

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

Example:

"101.23"

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.

Example:
linkedServices
object[]
required

External services which are linked to this credit note

Example:
settings
object
required

Credit note settings

Example:
invoiceId
string

Invoice ID

Example:

"af60cab3-812d-4250-a051-0fb7133a00c7"

invoiceNumber
string

Invoice Number

Example:

"INV00001"

billingScheduleId
string

Subscription ID

Example:

"fe2fcd0b-4c53-45c7-b2ae-b6c1a7d21e95"

issueDate
string

Issue date

Example:

"2022-09-15"

billingPeriodStart
string

Billing period start

Example:

"2022-10-01T00:00:00Z"

billingPeriodEnd
string

Billing period end

Example:

"2022-10-30T00:00:00Z"

creditNoteNumber
string

Credit Note number

Example:

"CN00001"

purchaseOrderNumber
string

Purchase order number

Example:

"PO123"

memo
string

Credit Note memo

Example:

"Thanks"

customerTaxId
string

Customer's tax ID

Example:

"TAX123"

applicationStatus
enum<string>

Application status derived from the ledger account balance. Omitted for credit notes that are not in a terminal status

Available options:
UNAPPLIED,
PARTIALLY_APPLIED,
FULLY_APPLIED,
UNKNOWN
Example:

"UNAPPLIED"

merchantDetails
object

Merchant details

Example:
accountingDate
string

Accounting date

Example:

"2022-09-30"