ZRM Docs
Domain Model

Invoice Line Item

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
invoiceIdstringYesID of the associated invoice
lineTypeenum(labor, materials, service, equipment, permit, travel, discount, monitoring, milestone, other)YesLine type
descriptionstringYesDescription
quantitynumberYesQuantity
unitPricenumberYesUnit price
totalPriceunknownNoTotal price
sortOrderintegerYesSort order
workspaceIdstringYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
invoiceIdstringYesID of the associated invoice
lineTypeenum(labor, materials, service, equipment, permit, travel, discount, monitoring, milestone, other)YesLine type
descriptionstringYesDescription
quantitynumberYesQuantity
unitPricenumberYesUnit price
totalPriceunknownNoTotal price
sortOrderintegerYes0Sort order
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
lineTypeenum(labor, materials, service, equipment, permit, travel, discount, monitoring, milestone, other)NoLine type
descriptionstringNoDescription
quantitynumberNoQuantity
unitPricenumberNoUnit price
totalPriceunknownNoTotal price
sortOrderintegerNo0Sort order

On this page