Skip to main content

api_project_service_costs

⚠️ Important: Some fields in this table will be deprecated on Wednesday, January 7th, 2025. Please review the Deprecated Fields section below and migrate to the recommended alternatives.

This table provides project service cost registration data from Simplicate.

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)

Deprecated Fields

⚠️ Deprecation Notice: The following fields will be deprecated on Wednesday, January 7th, 2025. Please migrate to the recommended alternatives.

Deprecated FieldTypeRecommended Alternative
key_cost_idIntegercost_id
key_project_idIntegerproject_id
key_project_service_idIntegerproject_service_id
key_item_type_idIntegeritem_type_id
key_invoice_idIntegerinvoice_id
key_employee_idIntegeremployee_id
item_typeStringcost_type
  • 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