Cashboard API

« Back to Overview

Invoice Line Items

Invoice line items contain the line-level data for invoices.

Operations on this resource are restricted to admins only.

List
GET /invoice_line_items

Lists all invoice line items.

Parameters

  • invoice_id
    Returns all items that belong to a particular Invoice
  • updated_since
    Returns all items last modified after the given date/time
    Expects a CGI encoded datetime in the form of YYYY-MM-DD HH:MM:SS

New
GET /invoice_line_items/new

Returns a data template that you can fill in to use the CREATE action.

Create
POST /invoice_line_items

Creates a new invoice line item. Use the template provided by the NEW action.

Actions

Show
GET [invoice_line_item link 'self']

Returns a single invoice line item.

Update
PUT [invoice_line_item link 'self']

Updates an existing invoice line item.

Delete
DELETE [invoice_line_item link 'self']

Deletes an invoice line item.
Line Items that have been invoiced may not be deleted.

Data Reference

Tags with the attribute rel="financial" will be removed for employees who don't have permissions to access that information. Your API client should be able to deal with these fields missing from the data.

<?xml version="1.0" encoding="UTF-8"?>
<invoice_line_item>
  <description></description>
  <flat_fee rel="financial">0.00</flat_fee>
  <invoice_id></invoice_id>
  <invoice_schedule_id></invoice_schedule_id>
  <is_taxable>true</is_taxable>
  <markup_percentage rel="financial"></markup_percentage>
  <price_per rel="financial">0.00</price_per>
  <quantity>0.0</quantity>
  <rank></rank>
  <title></title>
  <total rel="financial" read_only="true">0.00</total>
  <updated_at read_only="true"></updated_at>
</invoice_line_item>