Skip to main content

api_invoicelines

⚠️ 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 invoice line data from Simplicate.

Description

The api_invoicelines table exposes individual invoice line items, including pricing and links to projects, services, and revenue groups.

Fields

Field NameTypeDescription
invoice_line_idIntegerUnique identifier for the invoice line
invoice_idIntegerIdentifier of the parent invoice
relation_idIntegerIdentifier of the relation (customer)
project_relation_idIntegerIdentifier of the project's relation
project_idIntegerIdentifier of the project this line relates to
project_service_idIntegerIdentifier of the project service
default_service_idIntegerIdentifier of the default service template
administration_idIntegerIdentifier of the administration
revenue_group_idIntegerIdentifier of the revenue group for categorization
linked_to_projectIntegerFlag indicating if the invoice line is linked to a project (1=yes, 0=no)
invoice_numberStringHuman-readable invoice number
invoice_typeStringType of invoice (e.g., standard, credit)
typeStringType of invoice line item
default_serviceStringName of the default service template
revenue_groupStringName of the revenue group for categorization
invoice_dateDateDate when the invoice was issued
total_priceNumericTotal price of the invoice line including any applicable taxes
last_updated_atDateTimeTimestamp of the last update to this record

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_invoice_line_idIntegerinvoice_line_id
key_invoice_idIntegerinvoice_id
key_relation_idIntegerrelation_id
key_project_relation_idIntegerproject_relation_id
key_project_idIntegerproject_id
key_project_service_idIntegerproject_service_id
key_default_service_idIntegerdefault_service_id
key_administration_idIntegeradministration_id
key_revenue_group_idIntegerrevenue_group_id
default_service_nameStringdefault_service
revenue_group_nameStringrevenue_group
  • api_invoices - Invoice headers via invoice_id
  • api_projects - Project details via project_id
  • api_project_services - Project service details via project_service_id
  • api_relations - Relation details via relation_id
  • api_administrations - Administration details via administration_id
  • api_revenuegroups - Revenue group details via revenue_group_id