Browse Documentation
- Report
- Overview
- Organizations
- GET Get Organisation
- POST Update Organisation
- Invoices
- POST Create Invoice
- GET Get Invoice
- PUT Update Invoice
- DELETE Delete Invoice
- POST Approve Invoice
- POST Add Attachment
- DELETE Delete Attachment from Invoice
- POST Send Invoice
- POST Pay Invoice
- Purchases
- POST Create Purchase
- GET Get Purchase
- PUT Update Purchase
- DELETE Delete Purchase
- POST Approve Purchase
- POST Add Attachment to Purchase
- DELETE Delete Attachment from Purchase
- POST Pay Purchase
- Pos sales
- GET Get POS Sales
- POST Create POS Sale
- PUT Update POS Sale
- DELETE Delete POS Sale
- POST Add POSSales Payment
- Offers
- POST Create Offer
- GET Get Offer
- PUT Update Offer
- DELETE Delete Offer
- POST Add Attachment to Offer
- DELETE Delete Attachment from Offer
- POST Send Offer
- POST Convert to Invoice
- Items
- POST Create Item
- GET Get Item
- POST Update Item
- POST Add Item Picture
- DELETE Delete Item Picture
- Item categories
- Contacts
- POST Create Contact
- GET Get Contact
- PUT Update Contact
- Account types
- GET Account Types
- Accounts
- POST Create Account
- GET Get Account
- Financial accounts
- Taxes
- POST Create Tax
- GET Get Tax
- Invoice template
- GET Get Template
- POST Update Invoice Template
- POST Upload Template Logo
- POST Create New Invoice Template
- DELETE Delete Invoice Temaplate
- Inbox
- POST Upload Attachment
- GET Get Attachments
- DELETE Delete Attachment
- Payments
- DELETE Delete Payment
- Journals
- GET Get journals
- Banks
- GET List banks
- Team
- POST Create Team Member
- GET List Team Members
- DELETE Remove Team Members
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 |