Skip to main content
PUT
Update Invoice

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
integer<int64>
required

The ID of the invoice to update

validation_mode
enum<string>
default:strict

What validation method should the api use

Available options:
strict,
auto_correct

Body

application/json

Invoice object that needs to be updated

Standard invoice model that returns most properties by default

client
Client model · object[]
required
id
integer

Automatically generated unique invoice id

Example:

1

prefix
string

Prefix to the invoice number

Example:

"INV-"

number
integer

Number of the invoice

Example:

892

date
integer

Unix time of the invoice date

Example:

1547501100

date_time_iso
string

ISO-8601 formatted result of the invoice date

Example:

"2022-02-22T09:00:00+11:00"

due_date
integer

Unix time of the invoice due date

Example:

1547501100

due_date_time_iso
string

ISO-8601 formatted result of the invoice due date

Example:

"2022-02-22T09:00:00+11:00"

items
Invoice Item Model · object[]
groups
Invoice Item Groups · object[]
status
Invoice Status Model · object[]
project
Project Summary Model · object[]
custom_fields
Custom Field Module Value · object[]
terms
string

Specific terms for this invoice

Example:

"Payment to be made in 30 days"

template_id
integer

The template id selected for this invoice, 0 = Default or no template

Example:

213

cloned_id
integer

The id of the quote or invoice that this was duplicated from

Example:

545647

reference
string

Text reference to a quote, invoice or purchase order

Example:

"QU-9893"

currency
string

Currency code (three character format) that this invoice is in

Example:

"AUD"

created_sp_flag
boolean

True if this invoice was created in Sonderplan

Example:

"true"

Response

Successful Operation

success
object