mission_invoice_lines

In short

Details on the invoice lines associated to missions signed by an accounting firm.

A mission line is a promise an accounting firm makes to a client to deliver a specific service on a specific product.

Mission lines are created manually or automatically, for example when entering time sheets on an activity, or when invoicing the client. When created manually, a budget can be planned as well as a revenue to help the firm manage its resources effectively. In this table we provide details on the invoice lines associated to missions signed by an accounting firm.

Filter key(s)

company_id

Sorting key

ClickHouse skips blocks only when the filter starts with this key, in this order. When the first column is `company_id`, put `company_id` in every query. Read a fleet one company at a time, or in batches of `company_id`. Do not run one query with no company filter. List only the columns you need. `SELECT *` reads columns you will not use.

company_id, id

Available columns

id

Int64

The unique identifier of the invoice line.

firm_id

Nullable(Int64)

The unique identifier of the firm owning the company associated with the invoice line. NULL when the company has no firm in the companies dictionary.

firm_name

Nullable(String)

The name of the firm owning the company associated with the invoice line. NULL when firm_id is NULL, or when that firm is missing from the firms dictionary.

mission_line_id

Int64

The unique identifier of the mission line associated with the invoice line, if any

invoice_id

Int64

The unique identifier of the customer invoice where this invoice line appears.

company_id

Int64

The unique identifier of the company associated with the invoice line.

product_id

Nullable(Int64)

The unique identifier of the product associated with the invoice line, if any.

product_name

Nullable(String)

The name of the product associated with the invoice line, if any.

product_description

Nullable(String)

The description of the product associated with the invoice line, if any.

label

String

The label or description of the invoice line.

vat_rate

String

The VAT rate applicable to this invoice line.

amount_eur

Decimal(15, 2)

The total amount (including VAT) billed in this invoice line, in euros.

amount_eur_excl_taxes

Decimal(15, 2)

The total amount (excluding VAT) billed in this invoice line, in euros.

tax_eur

Decimal(15, 2)

The VAT amount billed in this invoice line, in euros.

amount

Decimal(17, 4)

The total amount (including VAT) billed in this invoice line, in the invoice currency.

tax

Decimal(17, 4)

The VAT amount billed in this invoice line, in the invoice currency.

currency

String

The currency code of the invoice line (e.g., EUR, USD).

quantity

Nullable(Float64)

The quantity of products or services billed in this invoice line.

unit

Nullable(String)

The unit of measurement for the quantity billed in this invoice line.

created_at

DateTime64(6, 'UTC')

The timestamp when the invoice line was created.

updated_at

DateTime64(6, 'UTC')

The timestamp when the invoice line was last updated.

updated_by

Nullable(Int64)

The unique identifier of the user who last updated the invoice line, if any.

agreement_year

Nullable(Int32)

Year of the engagement letter associated to this entry.

mission

Nullable(String)

The name of the mission associated with the invoice line, if any.

invoice_deadline

Nullable(Date32)

Invoice due date, in YYYY-MM-DD format.

invoice_issue_date

Nullable(Date32)

The date of the customer invoice where this invoice line appears. in YYYY-MM-DD format. In rare situations, an invoice may be received late after the books for the associated fiscal period are closed. In this case, the issue date will default to the first day of the next open fiscal period.

invoice_number

String

The human-readable number of the customer invoice where this invoice line appears, as specified on the invoice.
Examples: "F-2023-05-118", "F-2022-06-426"

invoice_is_paid

Bool

Whether the customer invoice where this invoice line appears has been fully paid. true the invoice has already been reconciled with its payment.
false otherwise.
An invoice can be set as paid automatically in the following cases:

  • when the payment is made via the Pro Account, Qonto or an SEPA XML file export;
  • when a payment is scheduled.
We can as well mark it manually as paid.

outstanding_balance

Nullable(Decimal(15, 2))

Remaining amount to be paid for the invoice where this invoice line appears, in euros.

customer_id

Nullable(Int64)

The unique identifier of the customer associated with line, referring to customers.id.

customer_name

Nullable(String)

Name of the company's customer, as configured on Pennylane. This name may differ slightly from the one displayed on the invoice.

customer_code

Nullable(String)

\[DEPRECATED\] The registration number of the company's customer, as configured on Pennylane, if any. It has been renamed as customer_registration_number.

customer_registration_number

Nullable(String)

The registration number of the company's customer, as configured on Pennylane, if any.

invoice_is_draft

Bool

Whether the customer invoice where this invoice line appears is still a draft.


Back to top

Page last modified: Nov 23 2026 at 06:10 PM.