am.noz.at.spl.item

A line item belonging to one immutable expense revision.

Repository @noz.am did:plc:lmkzmvv6sdxntwtyxpg7fqqq namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityspl.at.noz.am
Indexed

Record

record · key tid

Properties

amountMinor

requiredinteger

Exact signed amount in the parent expense's currency minor units. Negative values represent discounts.

category

string
  • maxLength: 64
  • knownValues: food | transport | accommodation | entertainment | groceries | utilities | shopping | tax | tip | discount | other

createdAt

requiredstring · datetime

expenseId

requiredstring
  • minLength: 1
  • maxLength: 64

itemId

requiredstring
  • minLength: 1
  • maxLength: 64

label

requiredstring
  • minLength: 1
  • maxLength: 1000
  • maxGraphemes: 200

owed

requiredarray

Canonical rounded minor-unit allocations. These, rather than recomputed percentages, drive balances.

  • minLength: 1
  • maxLength: 250
itemsref
Reference
  • lex:am.noz.at.spl.item#moneyAllocation

Optional quantity in thousandths, avoiding floating-point values.

  • minimum: 1

revisionId

requiredstring
  • minLength: 1
  • maxLength: 64

schemaVersion

requiredinteger
  • const: 1

splitRule

requiredunion
One of (closed)
  • lex:am.noz.at.spl.item#equalSplit
  • lex:am.noz.at.spl.item#exactSplit
  • lex:am.noz.at.spl.item#percentSplit
  • lex:am.noz.at.spl.item#sharesSplit

#equalSplit

object

Properties

participants

requiredarray
  • minLength: 1
  • maxLength: 250
itemsstring · did

#exactSplit

object

Properties

allocations

requiredarray
  • minLength: 1
  • maxLength: 250
itemsref
Reference
  • lex:am.noz.at.spl.item#moneyAllocation

#moneyAllocation

object

Properties

amountMinor

requiredinteger

did

requiredstring · did

#percentAllocation

object

Properties

did

requiredstring · did

partsPerMillion

requiredinteger
  • minimum: 0
  • maximum: 1000000

#percentSplit

object

Properties

allocations

requiredarray
  • minLength: 1
  • maxLength: 250
itemsref
Reference
  • lex:am.noz.at.spl.item#percentAllocation

#shareAllocation

object

Properties

did

requiredstring · did

shares

requiredinteger
  • minimum: 1
  • maximum: 1000000

#sharesSplit

object

Properties

allocations

requiredarray
  • minLength: 1
  • maxLength: 250
itemsref
Reference
  • lex:am.noz.at.spl.item#shareAllocation

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • An immutable expense revision header. Items are stored in am.noz.at.spl.item records with the same expenseId and revisionId.

  • A reusable split rule for a group or recurring expense.

  • A recurring expense template. Occurrences are materialized as ordinary immutable expenses.