Mark time entries as billed
entry_mark_billedMark tracked hours as billed with an invoice number to prevent double billing and exclude them from future reports and invoice summaries.
Instructions
Close the loop after an invoice is issued: stamp the tracked hours that went on it with the invoice number, so report and invoice_summary stop offering them and the same hours are never billed twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date/time end of the billed period, used with project | |
| ids | No | Exact entry ids, normally the entry_ids invoice_summary returned. Pass either ids or project plus from and to. Entries already billed are left alone and listed back to you. | |
| from | No | ISO date/time start of the billed period, used with project | |
| project | No | Project or client, used with from and to instead of ids; every billable entry in that range is stamped. | |
| billed_at | No | ISO timestamp of the stamp, defaults to now | |
| invoice_number | Yes | The invoice these hours were put on, e.g. INV-2026-0001 |