Skip to main content
POST
Refresh Invoice Line Items

Authorizations

X-Api-Key
string
header
required

Path Parameters

invoice_id
number
required

Invoice ID

Example:

11903

Body

application/json
limitDateFrom
string
Example:

"2019-03-11"

limitDateTill
string
Example:

"2019-03-13"

includeExpenses
boolean
Example:

true

includeTime
boolean
Example:

true

projects
string[]
Example:
expenseMask
string
Example:

"%PROJECT% :: %CATEGORY%"

timeMask
string
Example:

"%PROJECT%"

showRowNumbers
boolean

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