POST
/
invoices

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

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
customerId
string
required

The ID of the Customer this invoice is linked to

accountingDate
string

Accounting date

billingPeriod
object

Billing period

billingRunId
string

Billing Run ID

billingScheduleId
string

Billing Schedule ID

creditBalances
string

Credit balances

customerBillingAddress
object

Customer's billing address

customerEmails
string[]

Customer email addresses, used for sending the Invoice if provided

Customer's legal company name

customerShippingAddress
object

Customer's billing address

dueDate
string

Due date

memo
string

Invoice memo

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.

paymentOptions
enum<string>[]

Invoice payment options

Available options:
BANK_TRANSFER,
LINK
purchaseOrderNumber
string

Purchase order number

reference
string

Reference

Response

201 - application/json
accountingDate
string
required

Accounting date

createdAt
string
required

Creation time

creditNoteIds
string[]
required

IDs of linked credit notes (if any)

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
customerBillingAddress
object
required

Customer's billing address

customerEmails
string[]
required

Customer email addresses, used for sending the Invoice if provided

customerId
string
required

The ID of the Customer this invoice is linked to

Customer's legal company name

customerShippingAddress
object
required

Customer's billing address

grossTotal
string
required

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

id
string
required

Invoice ID

isCustomerArchived
boolean
required
linkedServices
object[]
required

External services which are linked to this invoice

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.

netTotal
string
required

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

paymentStatus
enum<string>
required

Invoice payment status

Available options:
UNPAID,
PARTIALLY_PAID,
PAID,
UNCOLLECTIBLE
renderSettings
object
required

Settings that control how the invoice is rendered.

sequenceAccountId
string
required

Sequence Account ID

status
enum<string>
required

Invoice status

Available options:
IN_PROGRESS,
DRAFT,
FINAL,
SENT,
VOIDED
totalTax
string
required

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

billingPeriod
object

Billing period

billingScheduleId
string

Billing Schedule ID

calculatedAt
string

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

creditBalances
string

Credit balances

customerTaxId
string

Customer's tax ID

customerTaxStatus
enum<string>

Customer tax status

Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED
dueDate
string

Due date

dunningStatus
enum<string>

Dunning status

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

Invoice number

issueDate
string

Issue date

memo
string

Invoice memo

merchantDetails
object

Merchant details

paymentOptions
enum<string>[]

Invoice payment options

Available options:
BANK_TRANSFER,
LINK
purchaseOrderNumber
string

Purchase order number

reference
string

Reference