Skip to main content
POST
Send invoice

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

Query Parameters

resend
boolean

Set to true to email an invoice that has already been sent. A re-send goes to the customer's current billing contacts rather than the contacts the invoice was originally sent to, and leaves the invoice's status unchanged.

Response

OK

id
string
required

Invoice ID

Example:

"ba37a392-7054-4dae-ab37-6fee9e23fe06"

sequenceAccountId
string
required

Sequence Account ID

Example:

"af9b5988-1d7b-45f6-a188-326df5e59b24"

status
enum<string>
required

Invoice status

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

"DRAFT"

currency
enum<string>
required

Invoice 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"

customerEmails
string[]
required

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

The ID of the Customer this invoice is linked to

Example:

"b3c0cf23-6717-4cdc-b190-acf8aa6ccd8a"

totalTax
string
required

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

Example:

"2"

netTotal
string
required

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

Example:

"12"

grossTotal
string
required

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

Example:

"10"

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.

Example:
paymentStatus
enum<string>
required

Invoice payment status

Available options:
UNPAID,
PARTIALLY_PAID,
PAID,
UNCOLLECTIBLE
Example:

"UNPAID"

createdAt
string
required

Creation time

Example:

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

creditNoteIds
string[]
required

IDs of linked credit notes (if any)

Example:
linkedServices
object[]
required

External services which are linked to this invoice

Example:
accountingDate
string
required

Accounting date

Example:

"2022-10-05"

renderSettings
object
required

Settings that control how the invoice is rendered.

Example:
isCustomerArchived
boolean
required
Example:

false

updatedAt
string
required

Last updated time

Example:

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

invoiceNumber
string | null

Invoice number

Example:

"INV2"

dueDate
string | null

Due date

Example:

"2022-11-05"

purchaseOrderNumber
string | null

Purchase order number

Example:

"PO123"

reference
string | null

Reference

Example:

"ref"

memo
string | null

Invoice memo

Example:

"Thanks"

paymentOptions
enum<string>[] | null

Invoice payment options

Available options:
BANK_TRANSFER,
LINK
Example:
billingPeriod
object | null

Billing period

Example:
merchantDetails
object | null

Merchant details

Example:
customerTaxStatus
enum<string> | null

Customer tax status

Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED
Example:

"TAXED"

billingScheduleId
string | null

Billing Schedule ID

Example:

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

issueDate
string | null

Issue date

Example:

"2022-09-15"

customerTaxId
string | null

Customer's tax ID

Example:

"TAX123"

creditBalances
string | null

Credit balances

Example:

"Verification 2 credit balance: 7/7 (expiring on 4 May 2023)"

dunningStatus
enum<string> | null

Dunning status

Available options:
SCHEDULED,
OVERDUE_CHECK_SCHEDULED,
COMPLETED,
FAILED,
NOT_REQUIRED
Example:

"SCHEDULED"

calculatedAt
string | null

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

Example:

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