Skip to main content
PATCH
Update an Invoice by ID

Authorizations

X-API-Key
string
header
required
zivio-tenant-id
string
header
required

Path Parameters

id
number
required

Body

application/json
id
integer
Example:

"1"

status
string
Example:

"draft"

job_id
integer
Example:

"23"

job_summary
string
Example:

"Some text about the project"

net_total
string
Example:

"16000.00"

tax_total
string
Example:

"2000.00"

total
string
Example:

"18000.00"

ccy
string
Example:

"GBP"

due_on
string<date-time>
milestone_id
integer
Example:

"435"

line_item_sheet_id
integer
Example:

"234"

credit_note_id
integer
Example:

"124"

is_credit_note
boolean
Example:

null

credit_note_reason
string
Example:

"invoice paid in error"

invoice_items
object[]
created_at
string<date-time>
updated_at
string<date-time>
approved_at
string<date-time>
approved_by
object
client
object
client_org
object
supplier
object

Response

ok

id
integer
Example:

"1"

status
string
Example:

"draft"

job_id
integer
Example:

"23"

job_summary
string
Example:

"Some text about the project"

net_total
string
Example:

"16000.00"

tax_total
string
Example:

"2000.00"

total
string
Example:

"18000.00"

ccy
string
Example:

"GBP"

due_on
string<date-time>
dated_on
string<date-time>
milestone_id
integer
Example:

"435"

line_item_sheet_id
integer
Example:

"234"

credit_note_id
integer
Example:

"124"

is_credit_note
boolean
Example:

null

credit_note_reason
string
Example:

"invoice paid in error"

invoice_items
object[]
created_at
string<date-time>
updated_at
string<date-time>
approved_at
string<date-time>
approved_by
object
client
object
client_org
object
supplier
object