Skip to main content
PUT
Update Invoice

Authorizations

X-Api-Key
string
header
required

Path Parameters

invoice_id
number
required

Invoice ID

Example:

11903

Body

application/json
publicId
string
Example:

"1020"

issueDate
string
Example:

"2019-03-20"

dueDate
string
Example:

"2019-03-20"

reference
string
Example:

"contract"

publicNotes
string
tax
object

Tax to apply. Set rate (percentage), or id to reference a tax from a connected accounting integration.

discount
number

Discount rate as a percentage (0-100)

Example:

25

manualStatus
enum<string>

Manually set the invoice status. Overrides the automatically derived status.

Available options:
draft,
sent,
paid
showRowNumbers
boolean
invoiceItems
object[]

Response

OK

id
number
required

Invoice ID

Example:

2660155

client
object
required
createdAt
string
required
Example:

"2018-01-16 12:42:59"

createdBy
object
required
status
enum<string>
required
Available options:
draft,
sent,
paid,
deleted,
partial
Example:

"draft"

dateFrom
string
dateTill
string
dueDate
string
discount
object
expenseMask
string
Example:

"%PROJECT% :: %CATEGORY%"

includeExpenses
boolean
Example:

true

includeTime
boolean
Example:

true

invoiceItems
object[]
issueDate
string
Example:

"2019-03-22"

limitDateFrom
string
limitDateTill
string
listAmount
number

List amount in cents (without discount and taxes)

Example:

18325

netAmount
number

Net amount in cents (without taxes but with discount applied)

Example:

13744

projects
string[]
Example:
publicId
string
Example:

"1020"

tax
object
timeMask
string
Example:

"%PROJECT%"

totalAmount
number

Total invoice amount in cents (with discount and taxes applied)

Example:

15256

totalTime
number

Total invoice time in seconds

Example:

43980

valid
boolean
Example:

true