Skip to main content

FB1BizLedgerEntry

Overview

  • Represents a single business ledger entry, recording a financial event with its category, amount, payer, payee, service/product reference, and timestamp.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (12)

NameTypeDescription
AmountNetintegerNet amount of this entry (always positive; use EventType for direction).
BizIdFB1EntityIdEntity ID of the HouseholdBiz that manages this ledger entry.
CategoryEB1BizLedgerCategoryCategory classifying the type of business transaction.
EventTypeEB1BizLedgerEventTypeWhether this entry is revenue or expense.
OccurredTicksintegerGame tick timestamp when this entry occurred.
PayeeIdFB1EntityIdEntity ID of the party that received payment (e.g., an employee).
PayerIdFB1EntityIdEntity ID of the party that paid (the account being debited).
ProductEntityIdFB1EntityIdEntity ID of the product instance associated with this entry.
ProductIdstringIdentifier of the product associated with this entry.
QuantityintegerQuantity of items or services involved in this entry.
ServiceIdstringIdentifier of the service associated with this entry.
UnitPriceintegerUnit price of a single item or service.