Skip to main content
PUT
cURL

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

id
string
required

Invoice ID

Body

application/json

Target status and/or mail changes

body
string
expected_body
string
expected_subject
string

ExpectedSubject and ExpectedBody are the text the reviewer saw. On an approval, the request fails with a conflict when the text that would be approved now differs (the invoice changed since the preview). Optional, approval only.

status
enum<string>
Available options:
pending,
approved,
held,
skipped
status_reason
string
subject
string
tone
string

Response

OK

amount
string
approved_at
string<date-time>
body
string
created_at
string<date-time>

CreatedAt and UpdatedAt are omitted until a person acts on the reminder.

currency
string
customer_email
string
customer_id
string
customer_name
string
days_overdue
integer
due_date
string<date-time>
edited
boolean

Edited is true when the mail differs from what the system wrote; the Original fields then hold the system's version.

email
object
id
string
invoice_id
string
invoice_number
string
original_body
string
original_subject
string
original_tone
enum<string>
Available options:
friendly,
firm,
final
status
enum<string>
Available options:
pending,
approved,
held,
skipped
status_reason
string
subject
string
tone
enum<string>
Available options:
friendly,
firm,
final
tone_reason
string

ToneReason explains the tone shown: the invoice's age, "Tone set to firm by you", or "Approved with a firm tone, kept as approved". It says nothing about edits or status; use edited and status_reason.

updated_at
string<date-time>