Skip to main content

api_time_registrations

Description

The api_time_registrations table exposes individual time registration entries, including hours, values, and related metadata.

Fields

Field NameTypeDescription
time_registration_idIntegerUnique identifier for the time registration
employee_idIntegerIdentifier of the employee who made the registration
invoice_idIntegerIdentifier of the invoice (if the registration has been invoiced)
correction_creator_idIntegerIdentifier of the employee who created the correction
project_service_idIntegerIdentifier of the project service
project_idIntegerIdentifier of the project
project_assignment_idIntegerIdentifier of the project assignment
item_type_idIntegerIdentifier of the item type (hour type)
week_numberIntegerWeek number of the registration
dateDateDate of the time registration
start_timeDateTimeThe start datetime of the registration
end_timeDateTimeThe end datetime of the registration
correction_dateDateDate when the correction was made (if applicable)
descriptionStringDescription or note for the time entry
external_urlStringExternal URL reference (e.g., link to external system)
invoice_methodStringMethod used for invoicing this registration
correction_reasonStringReason for the correction (if applicable)
categoryStringCategory of the registration (e.g., direct, indirect, leave)
hour_typeStringName of the hour type
hourly_tariffNumericThe hourly declarable rate of the registration
declarable_tariff_hourlyNumericDeclarable hourly tariff rate
hourly_cost_priceNumericHourly cost price for this registration
is_project_billableNumericFlag indicating if the project is billable (1=yes, 0=no)
is_declarable_serviceNumericFlag indicating if the service is declarable (1=yes, 0=no)
registered_hoursNumericHours registered for this individual time registration
correction_valueNumericMonetary value of time correction for this registration
correction_amountNumericAmount of time correction in hours for this registration
total_declarableNumericDeclarable value for this registration
registered_leave_hoursNumericLeave hours for this registration
registered_absence_hoursNumericAbsence hours for this registration
registered_direct_hoursNumericDirect project hours for this registration
registered_direct_valueNumericMonetary value of direct hours for this registration
registered_indirect_hoursNumericIndirect hours for this registration
registered_direct_declarable_hoursNumericDirect declarable hours for this registration
registered_direct_declarable_valueNumericMonetary value of direct declarable hours for this registration
registered_direct_declarable_hours_with_correctionsNumericDirect declarable hours including corrections for this registration
total_registered_cost_priceNumericTotal cost price of registered hours for this registration
registered_direct_declarable_value_with_correctionsNumericDeclarable value including corrections for this registration
invoiceable_valueNumericValue that can still be invoiced for this registration
invoiced_valueNumericValue that has already been invoiced for this registration
resultNumericResult for this registration (declarable value minus cost price)
result_pctNumericResult percentage for this registration
last_updated_atDateTimeTimestamp of the last update
  • api_employees - Employee details via employee_id
  • api_projects - Project details via project_id
  • api_project_services - Service details via project_service_id
  • api_project_assignments - Assignment details via project_assignment_id
  • api_item_types - Item type details via item_type_id
  • api_invoices - Invoice details via invoice_id