Skip to main content

api_invoicelines

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
  • 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