Adding/Deleting line items associated with an estimate

35 views
Skip to first unread message

jasonok6

unread,
Apr 28, 2012, 6:25:10 PM4/28/12
to FreshBooks API
Wondering how to add/delete line items associated with an estimate.
This is easy to do with invoices since it has the invoice.lines.add
and invoice.lines.delete methods. Wondering why there aren't
equivalent methods for the estimates object.

Cedric Hurst

unread,
May 16, 2012, 3:27:40 AM5/16/12
to freshbo...@googlegroups.com
Sorry to revive a dead thread, but on a similar note, there doesn't seem to be a way to associate a line item to a task through the API.  If I have a task called "Some Task" attached to an existing project and do:

<?xml version="1.0"?>
<request method="estimate.create">
<estimate>
<client_id>15</client_id>
<lines>
<line>
<name>Some Task</name>
<type>Time</type>
</line>
</lines>
</estimate>
</request>

And then view the estimate in freshbooks, there are now two "Some Task" entries in the drop down.  Ideally, I'd like to be able to optionally specify a task id, as it makes it much simpler to correlate time tracking info later on to see which tasks are over/under.
Reply all
Reply to author
Forward
0 new messages