Table

TaxSettlementBalance

Tax settlement balance

Holds tax settlement balances for a settlement session. It keeps recoverable and payable amounts, with the total, the settled part and the remaining part for each. Rows are either detail or summary and can link to a tax bucket and ledger dimensions.

Table name
TaxSettlementBalance
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
TaxEngine

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BalanceTypeShows whether the balance row is a detail or a summary.Enum
TaxSettlementBalanceType (enum)
NoNone
IsMainYes or No flag showing whether this is the main record.Enum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayableAmountTotal payable amount, in accounting currency.Real
AmountMST
NoNone
PayableAmountToSettlePayable amount still to be settled, in accounting currency.Real
AmountMST
NoNone
PayableAmountUtilizedPayable amount already settled, in accounting currency.Real
AmountMST
NoNone
PayableLedgerDimensionMain account for the payable amount. Points to a dimension code combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecoverableAmountTotal recoverable amount, in accounting currency.Real
AmountMST
NoNone
RecoverableAmountToSettleRecoverable amount still to be settled, in accounting currency.Real
AmountMST
NoNone
RecoverableAmountUtilizedRecoverable amount already settled, in accounting currency.Real
AmountMST
NoNone
RecoverableLedgerDimensionMain account for the recoverable amount. Points to a dimension code combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SessionIdPoints to the tax settlement session of this balance.Int64
TaxSettlementSessionId
NoTaxSettlementSession.RecIdNone
SettleableIdRecord ID of the settleable item this balance relates to.Int64
RefRecId
NoNone
SettleableTypeShows whether the balance is payable or recoverable.Enum
TaxSettleableType (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxBucketIdPoints to the tax bucket hierarchy node for this balance.Int64
TaxBucketId
NoTaxBucketHierarchyTable.RecIdNone

Indexes (2)

Relations (4)

Each relation joins TaxSettlementBalance to another table on the fields shown.

  • TaxSettlementSession → TaxSettlementSession

    Join on SessionId = TaxSettlementSession.RecId

    Many TaxSettlementBalance records → exactly one TaxSettlementSession record

  • TaxBucketHierarchyTable → TaxBucketHierarchyTable

    Join on TaxBucketId = TaxBucketHierarchyTable.RecId

    Many TaxSettlementBalance records → exactly one TaxBucketHierarchyTable record

  • RecoverableLedgerDimension → DimensionAttributeValueCombination

    Join on RecoverableLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxSettlementBalance records → exactly one DimensionAttributeValueCombination record

  • PayableLedgerDimension → DimensionAttributeValueCombination

    Join on PayableLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxSettlementBalance records → exactly one DimensionAttributeValueCombination record

Get this data out

No public entity reads from TaxSettlementBalance. Its data is only reachable through the application, a custom entity or a database export.

Need help with TaxSettlementBalance in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk