Entity Reference Message

Entity reference (EntityRef) messages are not used independently but are components of other messages that identify an entity associated with the ledger either by UUID or by a unique code. Entities can be accounts, journal entries, or any other object with a unique identifier. The meaning of the reference depends on the context where it is being used.

Business Rules

  • Either the code or the uuid must be provided.
  • If both code and uuid are present, they must refer to the same object.

EntityRef Properties

Property Type Description
code string The unique code for the referenced object.
uuid string The referenced object's UUID.