Saltar al contenido

app.invoice_lines

TablaSeguridad a nivel de fila activa

Lines of an invoice. A NULL unit price is unpriced; an invoice with an unpriced line can be neither issued nor approved. Lines change only while the invoice is Proposed.

Clave primaria: id

Columnas de app.invoice_lines
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.invoices on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
invoice_iduuidNoInvoice the line belongs to.Hace referencia a app.invoices.id
line_numberintegerNoOrder of the line within the invoice.
descriptiontextNoWhat is billed.
quantitynumericNoQuantity.
unit_price_minorbigintSíUnit price in minor units of the invoice currency; NULL is unpriced.
budget_line_iduuidSíBudget line the line bills against, when there is one.Hace referencia a app.budget_lines.id
tax_rate_iduuidSíTax rate applied to the line, when taxed.Hace referencia a app.tax_rates.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
uridtextSíDimension 2: canon discipline or category the line bills or is billed for, when it has no budget line or differs from it. The line posts to the explicit GL default of the item its budget line prices only while this is unset or the budget line's URID, else to this URID's class revenue or expense account, else to the counterparty type's default.