Skip to main content

ark:Balance

idstring<uri>required

URI format identifier used to refer to this node within the graph.

Example: https://graph.datawollet.com/.draft-nodes/f85b8b6b37fe3e8b144829d200000000
typestringrequired

A type identifier used to indicate the data model that the node conforms to.

Constant value: ark:Balance
Example: ark:Balance
onAccountstring<uri>required
Example: https://graph.datawollet.com/.draft-nodes/f85b8b6b37fe3e8b144829d200000000
datestring<date>required
totalAmount objectrequired
FinancialGDPR

Your account is in credit if you've overpaid or paid for more than you've used so far. Your account is in debit if you owe the lender money.

type
Constant value: ark:CurrencyValue
amountstringrequired

Possible values: Value must match regular expression ^[0-9]{1,}(\.[0-9]{2})?$

currencystringrequired
directionstringrequired

Possible values: [Credit, Debit]

position object

If set to an opening balance, any charges or credits on the same day will be applied after this balance. A closing balance is at the end of the period, so the end of the day after all charges and credits were applied.

anyOf
Constant value: Opening
ark:Balance
{
"id": "https://graph.datawollet.com/.draft-nodes/f85b8b6b37fe3e8b144829d200000000",
"type": "ark:Balance",
"onAccount": "https://graph.datawollet.com/.draft-nodes/f85b8b6b37fe3e8b144829d200000000",
"date": "2024-07-29",
"totalAmount": {
"amount": "string",
"currency": "string",
"direction": "Credit"
}
}