POST
/
invoices
/
{id}
/
void

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

Path Parameters

id
string
required

Invoice ID

Response

200 - application/json
id
string
required

Invoice ID

sequenceAccountId
string
required

Sequence Account ID

status
enum<string>
required

Invoice status

Available options:
IN_PROGRESS,
DRAFT,
FINAL,
SENT,
VOIDED
currency
enum<string>
required

Invoice 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
invoiceNumber
string

Invoice number

dueDate
string

Due date

purchaseOrderNumber
string

Purchase order number

reference
string

Reference

customerEmails
string[]
required

Customer email addresses, used for sending the Invoice 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

Invoice memo

paymentOptions
enum<string>[]

Invoice payment options

Available options:
BANK_TRANSFER,
LINK
billingPeriod
object

Billing period

customerId
string
required

The ID of the Customer this invoice is linked to

totalTax
string
required

Total tax, in decimal format of the Invoice's currency

netTotal
string
required

Net total, in decimal format of the Invoice'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 Invoice. These are not interpreted by Sequence; they are present for your use alone.

paymentStatus
enum<string>
required

Invoice payment status

Available options:
UNPAID,
PARTIALLY_PAID,
PAID,
UNCOLLECTIBLE
createdAt
string
required

Creation time

creditNoteIds
string[]
required

IDs of linked credit notes (if any)

linkedServices
object[]
required

External services which are linked to this invoice

merchantDetails
object

Merchant details

accountingDate
string
required

Accounting date

customerTaxStatus
enum<string>

Customer tax status

Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED
renderSettings
object
required

Settings that control how the invoice is rendered.