Magidoc

CustomerInvoiceLine
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

customerInvoiceId

ID !
Non-null

performingGlCompanyId

The GL company that performed this line's work, when it is not the one billing for it. Its books earn the sale and the tax charged on it. Only a company mapped from the invoice's company is accepted. Null earns it in the invoice's own books.

worksheetLineId

projectId

Null for mirrored provider lines, for the same reason as CustomerInvoice.projectId.

projectName

The project's current name, only when the requesting member can access it.

serviceId

serviceName

The referenced service's name in this workspace. Inactive services remain readable; deleted references resolve to null.

itemId

itemName

The referenced item's name in this workspace. Inactive items remain readable; deleted references resolve to null.

accountId

discountAccountId

sourceType

Non-null

sourceId

ID !
Non-null

sourceLineId

lineDetailType

lineNumber

percentBased

description

quantity

amount

Non-null

taxable

taxCodeId

taxClassificationExternalId

provider

providerStatus

taxRate

taxCalculationId

taxFallbackReason

taxAmount

totalAmount

coding

The member on each reporting dimension this line is coded to. Posting stamps it on the line's revenue.

dimensionId

entityId

derivation

What the agreed billing rule computed for this line. Absent on every hand-written line.

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field getCustomerInvoiceLines from Query