PATCH
/
invoices
/
{id}

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

Invoice ID

Body

application/json
dueDate
string

Due date

purchaseOrderNumber
string

Purchase order number

reference
string

Reference

customerEmails
string[]

Customer email addresses, used for sending the Invoice if provided

Customer's legal company name

customerBillingAddress
object

Customer's billing address

customerShippingAddress
object

Customer's billing address

memo
string

Invoice memo

paymentOptions
enum<string>[]

Invoice payment options

Available options:
BANK_TRANSFER,
LINK
billingPeriod
object

Billing period

metadata
object[]

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

creditBalances
string

Credit balances

billingRunId
string

Billing Run ID

accountingDate
string

Accounting date

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
customerEmails
string[]
required

Customer email addresses, used for sending the Invoice if provided

Customer's legal company name

customerBillingAddress
object
required

Customer's billing address

customerShippingAddress
object
required

Customer's billing address

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

accountingDate
string
required

Accounting date

renderSettings
object
required

Settings that control how the invoice is rendered.

isCustomerArchived
boolean
required
billingScheduleId
string

Billing Schedule ID

invoiceNumber
string

Invoice number

issueDate
string

Issue date

dueDate
string

Due date

purchaseOrderNumber
string

Purchase order number

reference
string

Reference

memo
string

Invoice memo

paymentOptions
enum<string>[]

Invoice payment options

Available options:
BANK_TRANSFER,
LINK
billingPeriod
object

Billing period

customerTaxId
string

Customer's tax ID

merchantDetails
object

Merchant details

creditBalances
string

Credit balances

dunningStatus
enum<string>

Dunning status

Available options:
SCHEDULED,
OVERDUE_CHECK_SCHEDULED,
COMPLETED,
FAILED,
NOT_REQUIRED
calculatedAt
string

Time this invoice was last calculated (applicable for invoices generated by billing engine only)

customerTaxStatus
enum<string>

Customer tax status

Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED