Skip to main content
PATCH
Update Invoice

Authorizations

Authorization
string
header
required

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-10-24"

Path Parameters

id
string
required

The invoice's pay_ ID.

Body

application/json
billing_address
object | null

Create a billing address linked to this member.

buyer_fee_percentage
number

The buyer's adjustable fee in percentage points, with at most two decimal places.

Required range: 0 <= x <= 100
Example:

2.5

due_at
string<date-time> | null

When payment is due, as an ISO 8601 timestamp.

items
object[]

The one-time variants being invoiced, all in the same currency. Each variant may appear once; use quantity for multiple units. Product and price come from each variant. Multiple items require unlimited stock and compatible payment, tax, and access settings.

Required array length: 1 - 50 elements
Example:
mailing_address_id
string | null

An address associated with the member. Mutually exclusive with billing_address.

member_id
string | null

The billed customer, a member of the account. Changing email recipients does not change this buyer.

Example:

"mber_xxxxxxxxxxxxxx"

metadata
object

Up to 50 caller-owned string key/value pairs.

Example:
payment_method_id
string | null

A saved payment method belonging to the member. Issuing the invoice charges it.

Example:

"payt_xxxxxxxxxxxxxx"

recipient_emails
string<email>[]

Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices.

Maximum array length: 50

Response

draft updated

account_id
string
required
Example:

"biz_xxxxxxxxxxxxxx"

amount_due
object
required
billing_address
object | null
required
buyer_fee_amount
object
required
buyer_fee_percentage
number
required
Example:

0

created_at
string
required
Example:

"2026-01-01T12:00:00.000Z"

customer_name
string | null
required
Example:

"Dana"

due_at
string | null
required
Example:

null

email_address
string | null
required
Example:

"marcus@shinetime.example"

id
string
required
Example:

"pay_xxxxxxxxxxxxxx"

invoice_prefix
string | null
required
Example:

null

line_items
object[]
required
mailing_address_id
string | null
required
Example:

null

member_id
string | null
required
Example:

"mber_xxxxxxxxxxxxxx"

metadata
object
required
Example:
number
string
required
Example:

"#xxxxxxxx"

object
enum<string>
required
Available options:
invoice
Example:

"invoice"

overdue
boolean
required
Example:

false

paid_at
string | null
required
Example:

null

payment_method_id
string | null
required
Example:

null

recipient_emails
string[]
required

Invoice email recipients, independent of the billed customer.

status
enum<string>
required
Available options:
draft,
open,
authorized,
paid,
pending,
uncollectible,
unresolved,
void
Example:

"open"

subtotal
object
required
tax_amount
object | null
required
total
object
required
totals_status
enum<string>
required
Available options:
estimated,
final
Example:

"final"

updated_at
string
required
Example:

"2026-01-01T12:00:00.000Z"