Magidoc

AdvanceBilling
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

glCompanyId

The company whose books hold this advance bill; null for older documents using the default company.

clientAccountId

ID !
Non-null

clientAccountName

The client's name, joined from the CRM account clientAccountId points at. Null when the advance names a client this workspace cannot resolve — a deleted account, or one that is not its own. The reference itself is required, so an absent one is not a state this can report.

customerAccountId

projectId

projectName

Name of the project this document is filed against, resolved at read time and scoped to what the requesting member may see. Null when the project no longer exists or is not visible to them — clients render their unlinked fallback for both, and must never assume the name of a project the reader cannot open.

customerInvoiceId

documentNumber

Non-null

originalAmount

Non-null

receivableBalance

Non-null

Cash still due on this advance bill, independent of its remaining deferred revenue.

unappliedAmount

Non-null

deferredRevenueAccountId

ID !
Non-null

revenueAccountId

deferredRevenueSchedule

recognitionLinks

revenueRecognitionScheduleId

The recognition schedule created with this advance bill, whose lines relieve the deferral its issuance journal credited.

issuanceJournalId

The Dr accounts receivable / Cr deferred revenue journal this advance bill posted when it was issued.

status

Non-null

issueDate

Non-null

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field getAdvanceBillings from Query