Skip to main content
POST
Create an Invoice

Authorizations

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

Body

application/json
type
string
Example:

"ItemisedInvoice"

description
string
Example:

"Invoice description"

ccy
string
Example:

"GBP"

job_id
integer
Example:

"137"

due_on
string
Example:

"2020-11-01"

dated_on
string
Example:

"2020-10-21"

milestone_id
integer
Example:

"78"

net_total_cents
integer
Example:

"100000"

tax_total_cents
integer
Example:

"20000"

total_cents
integer
Example:

"120000"

invoice_items_attributes
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"

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