Skip to main content

api_project_service_costs

Description

The api_project_service_costs table exposes cost registrations on project services, including purchase and selling values.

Fields

Field NameTypeDescription
cost_idIntegerUnique identifier for the cost registration
project_idIntegerIdentifier of the project
project_service_idIntegerIdentifier of the project service
item_type_idIntegerIdentifier of the item type (cost type)
invoice_idIntegerIdentifier of the invoice (if the cost has been invoiced)
employee_idIntegerIdentifier of the employee who registered the cost
dateDateDate when the cost was incurred
flushed_atDateDate when the cost was flushed/processed for invoicing
referenceStringReference text or description for the cost
cost_typeStringType or category of the cost
invoice_statusStringCurrent invoicing status for this cost (e.g., not invoiced, invoiced)
cost_registration_typeStringType of cost registration (e.g., expense, purchase)
amountNumericQuantity or amount of the cost item
costs_purchase_valueNumericPurchase value (cost to the organization)
costs_selling_valueNumericSelling value (amount to be charged to the client)
  • api_projects - Project details via project_id
  • api_project_services - Service details via project_service_id
  • api_employees - Employee details via employee_id
  • api_item_types - Item type details via item_type_id
  • api_invoices - Invoice details via invoice_id