Magidoc

CustomerInvoiceLineDerivation
Object

How a draft invoice line was computed from the agreed billing rule, frozen onto the line when the generator wrote it. Absent on every hand-written line and on every invoice written before the proposal rail existed — a deliberate absence, never a zero, and a line carrying none owes the derivation tie-out nothing.

Fields

#

derivedAmount

Non-null

ruleKind

Non-null

agreedLineId

The agreed line this money belongs to. Null when one rule governs the proposal as a whole.

instalmentId

milestoneId

timeEntryIds

[ID !]

expenseIds

[ID !]

periodStart

periodEnd

billingAgreementVersion

Immutable retainer agreement terms version that authorized this occurrence.

revenueAccountId

The revenue account this line's own source already stated. Only an advance close names one — the account the advance bill stamped at issuance, which its recognition schedule credits. Read at posting behind the line's item, which is the more specific statement of where revenue was earned.

Usages

#

References

#