Browse Documentation
PUT Update invoice

Update Invoice

PUT /invoices/:id

To update an invoice you will need an access token, for questions regarding how to obtain an access token click on this link.

Parameters

  Parameter
  Type
 Description
 client_id
  String
 The client you are sending the invoice to 
 date_issed
  Date YYYY-MM-DD
 The date the invoice was issued
 date_due
  Date YYYY-MM-DD
 The due date of the invoice
 template_id
  String
 Invoice Template for the invoice 
 reference
  String
 Any name that you wish to use as a reference
 status
  String
 Status of the invoice. This can either be "draft" or "approved". If no status is defined it defaults to draft. The moment an invoice is set to approved the journal entries are generated and no changes can be made anymore to the invoice object.
 Items
  Array[object]
 Items to be added to the invoice
 items[title] | required
  String
 Item title
 items[description]
  String
 Description of the item
 items[quantity] | required
  Int
 Item Quantity
 items[price] | required
  Numeric
 Item Price
 items[tax_id] | required
  String
 Item Tax ID 
 items[include_tax] | required
  int
 Enter 1 if you want the tax to be included and 0 if the tax  to be excluded
 items[gl_account_id] | required
  String
 The account to charge the item