Marks times entries as invoiced
Marks times entries as invoiced
Use clockify-cli report --help
for more information about printing time entries.
clockify-cli mark-invoiced { <time-entry-id> | last | current }... [flags]
# when the workspace does not allow invoicing
$ clockify-cli mark-invoiced 62b49641f4b27f4ed7d20e75
Forbidden (code: 403)
# set the running time entry as invoiced
$ clockify-cli mark-invoiced current --quiet
62b49641f4b27f4ed7d20e75
# setting multiple time entries as invoiced
$ clockify-cli mark-invoiced 62b5b51085815e619d7ae18d 62b5d55185815e619d7af928 --quiet
62b5b51085815e619d7ae18d
62b5d55185815e619d7af928
-v, --csv print as CSV
-F, --duration-float prints only the sum of duration as a "float hour"
-D, --duration-formatted prints only the sum of duration formatted
-f, --format string golang text/template format to be applied on each time entry
-h, --help help for mark-invoiced
-j, --json print as JSON
-m, --md print as Markdown
-q, --quiet print only ID
--tz string time zone to be used on the time entries can be 'Local' to use the systems timezone, UTC or valid TZ identifier from the IANA TZ database https://en.wikipedia.org/wiki/List_of_tz_database_time_zones (default "Local")
-S, --with-totals add a totals line at the end
--allow-name-for-id allow use of project/client/tag's name when id is asked
-i, --interactive will prompt you to confirm/complement commands input before executing the action
-L, --interactive-page-size int will set how many items will be shown on interactive mode (default 7)
--log-level string { none | debug | info } set log level (default "none")
-t, --token string clockify's token
Can be generated here: https://clockify.me/user/settings#generateApiKeyBtn
-u, --user-id string user id from the token
-w, --workspace string workspace to be used