Skip to main content

Balance Entity

The Balance entity tracks account balance information including local and accounting currency balances, foreign exchange rates, and balance period definitions.

Attributes

NameTypeRequiredConstraintsAllowed ValuesDescriptionExample
idstring (UUID), ๐Ÿ”’ systemโ€”โ€”โ€”Unique IDโ€balance1โ€
local_balance.opening_bookedFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Booked opening Balance in local currency250.00
local_balance.opening_valueFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Value opening Balance in local currency250.00
local_balance.closing_bookedFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Booked closing Balance in local currency250.00
local_balance.closing_valueFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Value closing Balance in local currency250.00
local_balance.local_currencystring (ISO 4217), ๐Ÿ”’ systemโ€”3-char codeโ€”Local currency of the bank accountโ€EURโ€
accounting_balance.opening_bookedFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Booked opening Balance in accounting currency250.00
accounting_balance.opening_valueFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Value opening Balance in accounting currency250.00
accounting_balance.closing_bookedFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Booked closing Balance in accounting currency250.00
accounting_balance.closing_valueFloat, ๐Ÿ”’ systemโ€”โ€”โ€”Value closing Balance in accounting currency250.00
accounting_balance.currencystring (ISO 4217), ๐Ÿ”’ systemโ€”3-char codeโ€”Currency of the accountingโ€EURโ€
foreign_exchange.currency_ratenumber, ๐Ÿ”’ systemโ€”> 0โ€”Exchange rate applied1.2532
foreign_exchange.currency_pairstring, ๐Ÿ”’ systemโ€”6 charโ€”Exchange rate currency cross applied. Also indicates side of conversion. First currency (EUR) indicates sell sideโ€EURUSDโ€
foreign_exchange.currency_rate_sourcestring, ๐Ÿ”’ systemโ€”max 100 charsEnum currency rate sourceSource of exchange rate. Default: internalโ€European Central Bankโ€
foreign_exchange.currency_rate_atstring (ISO 8601), ๐Ÿ”’ systemโ€”ISO 8601 UTCโ€”When exchange rate was appliedโ€2025-06-26T14:30:00Zโ€
balance_at_fromstring (ISO 8601)โšช NoISO 8601 UTCโ€”Define opening datetimeโ€2025-06-26T14:30:00Zโ€
balance_at_tostring (ISO 8601)โšช NoISO 8601 UTCโ€”Define closing datetime. Default is datetime of the requestโ€2025-06-26T14:30:00Zโ€

Relationships

NameTypeRequiredDescriptionExample
transactionsto-many (transaction)โšช NoTransaction Resource[{ โ€œtypeโ€: โ€œtransactionโ€, โ€œidโ€: โ€œtransactionidโ€ }]
workspacesto-many (workspace)โšช NoWorkspace Resource[{ โ€œtypeโ€: โ€œworkspaceโ€, โ€œidโ€: โ€œworkspace_tenantโ€ }]
accountto-one (payment_mean)โœ… YesPayment Means Resource{ โ€œtypeโ€: โ€œpayment_meansโ€, โ€œidโ€: โ€œuuidโ€ }
โŒ˜I