Record a work entry
Records a new work entry on a project. Work entries recorded this way appear as unbilled work on the project and can be billed from Infinity later on.
Recording work on a project
Work entries are the individual units of work performed for a client. Recording them through the API lets an external system — for example field management software that captures hours and material expenses on site — feed a project in Infinity, so the work can be billed from Infinity later on. Thetype field selects how the work entry is valued and which further fields are required:
date is the day the work was performed on, in YYYY-MM-DD format.
Examples
Two and a half hours of work at an hourly rate of CHF 120.00:id and the resulting amount in cents.
Authorizations
API token for authentication. Obtain from your Infinity account settings.
Path Parameters
The id of the project the work entries belong to.
Body
The work entry payload. The type field selects which further fields are required.
Request body for recording a work entry. Which fields are required depends on type.
The kind of a work entry, which determines how it is valued:
hourlyis valued by an hourly rate and the time spentfixed-priceis valued by a fixed amount, e.g. for materials or lump sum workunbillablehas no value and cannot be billed
unbillable, fixed-price, hourly The date the work was performed on, in YYYY-MM-DD format.
The description of the work that was performed.
2000The amount in cents to invoice. Required for fixed-price work entries, must be greater than zero.
The hourly rate in cents. Required for hourly work entries, must be greater than zero.
The number of full hours spent. Required for hourly work entries.
The number of minutes spent in addition to hours, between 0 and 59. Optional for hourly work entries. The total time must be greater than zero.
Response
The work entry was recorded successfully.
A single unit of work that was performed on a project.