Map invoice line items back to projects/line items?

Thomas Fjellstrom's Avatar

Thomas Fjellstrom

25 Apr, 2016 04:22 AM

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?

  1. Support Staff 1 Posted by Seth B on 25 Apr, 2016 04:52 AM

    Seth B's Avatar

    Hey Thomas, cool that you've been working with the API. What are you

    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:

    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. 2 Posted by Thomas Fjellstr... on 26 Apr, 2016 03:44 AM

    Thomas Fjellstrom's Avatar

    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"?

  3. Support Staff 3 Posted by Seth B on 27 Apr, 2016 12:34 AM

    Seth B's Avatar

    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. 4 Posted by Thomas Fjellstr... on 28 Apr, 2016 04:25 AM

    Thomas Fjellstrom's Avatar

    That might be useful. Thanks :)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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