Skip to content

app.billing_draws

TableRow level security on

Progress billing draws of a project, each billed through at most one receivable invoice.

Primary key: id

Columns of app.billing_draws
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject billed.References app.projects.id
draw_numberintegerNoDraw number within the project.
period_enddateNoLast day of work the draw bills for.
amount_requested_minorbigintNoAmount requested in minor units.
currency_codecharacter(3)NoISO 4217 currency of the draw.References private.currencies.currency_code
invoice_iduuidYesReceivable invoice that bills the draw.References app.invoices.id
deleted_attimestamp with time zoneYesSoft 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_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id