Map invoice line items back to projects/line items?
Been messing about with the api, and have noticed there doesn't seem to be a way to map invoice line items back to the original line items or projects, and especially back to the original time entries. Maybe I'm missing something obvious?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Seth B on 25 Apr, 2016 04:52 AM
Hey Thomas, cool that you've been working with the API. What are you
building?
You're correct - we don't expose the fields to manually link all of those
items. What you can do from the API right now is use the "import uninvoiced
items" resource described here: https://api.cashboardapp.com/invoices
The way we're internally linking these things is actually changing in a
newer version of the service, so I didn't want to expose that and
potentially break any API clients when we upgrade.
- Seth
2 Posted by Thomas Fjellstr... on 26 Apr, 2016 03:44 AM
I'm working on a little app that allows me to tie multiple time trackers into one, since i have a client that requires me to use theirs, and now also requires me to use a separate invoicing platform... Its a royal pain.
Mainly I wanted to be able to present my own representation of the invoices with similar info to the CB invoices.
I'll try out that api call. I presume it return all items, and not just the ones it "imported"?
Support Staff 3 Posted by Seth B on 27 Apr, 2016 12:34 AM
Correct - I believe it returns all line items not the ones imported.
But after our original conversation I did a bit of digging. Looks as if we are exposing “invoice_line_item_id” on time_entries, which is what ties all of that together. It is “read only” to prevent issues with data corruption, but perhaps having it available will be of some use?
- Seth
4 Posted by Thomas Fjellstr... on 28 Apr, 2016 04:25 AM
That might be useful. Thanks :)