Skip to main content

Module models

Module models 

Source
Expand description

Domain models for synthetic accounting data generation.

This module provides all the core data models for the enterprise simulation, including:

  • Master data (vendors, customers, materials, fixed assets, employees)
  • Transaction data (journal entries, ACDOCA event logs)
  • Organizational data (companies, departments, cost centers)
  • Control data (internal controls, SoD, approvals)
  • Document data (purchase orders, invoices, payments, deliveries)
  • Intercompany data (relationships, transfer pricing, eliminations)
  • Temporal data (bi-temporal support for audit trails)
  • Audit data (engagements, workpapers, evidence, findings)

Modules§

audit
Audit-related models for RustAssureTwin integration.
balance
Balance and trial balance models.
banking
Banking domain models for KYC/AML synthetic data generation.
currencies
Common currency codes.
documents
Document models for enterprise transaction flow simulation.
intercompany
Intercompany transaction models.
rejection_reasons
Common rejection/revision reasons.
subledger
Subledger models for detailed transaction tracking.

Structs§

AccrualDefinition
Accrual definition for recurring period-end entries.
AcdocaEntry
SAP HANA ACDOCA-compatible universal journal entry line.
AcdocaFactory
Factory for creating ACDOCA entries from journal entries.
AllocationTarget
Target for overhead allocation.
AnomalyRateConfig
Configuration for anomaly rates.
AnomalySummary
Summary of anomalies for reporting.
ApprovalAction
Individual action in the approval workflow.
ApprovalChain
Approval chain configuration with amount thresholds.
ApprovalRecord
Individual approval record for tracking approval relationships.
ApprovalThreshold
Single threshold in the approval chain.
ApprovalWorkflow
Complete approval workflow for a journal entry.
ApprovalWorkflowGenerator
Generator for realistic approval workflows.
AssetAccountDetermination
Account determination rules for fixed asset transactions.
BankAccount
Bank account information for payments.
BiTemporal
Bi-temporal wrapper for any auditable entity.
BomComponent
Component in a bill of materials.
BsegEntry
SAP BSEG-compatible document segment structure.
CTAComponent
Component of CTA calculation.
CTAEntry
Currency Translation Adjustment (CTA) entry.
ChartOfAccounts
Complete Chart of Accounts structure.
CloseSchedule
Period close schedule defining the order of tasks.
CloseTaskResult
Result of executing a close task.
Company
Company entity for graph building and consolidation.
CompanyCode
Company code representing a legal entity or organizational unit.
ContributingFactor
A contributing factor to anomaly confidence/severity.
ControlAccountMapping
Mapping between a control and GL accounts.
ControlDocTypeMapping
Mapping between a control and document types.
ControlMappingRegistry
Master registry of all control mappings.
ControlProcessMapping
Mapping between a control and business processes.
ControlThresholdMapping
Mapping between a control and amount thresholds.
CurrencyPair
Currency pair representing source and target currencies.
Customer
Customer master data.
CustomerPool
Pool of customers for transaction generation.
Department
Department definition for organizational structure.
DepartmentHeadcount
Headcount configuration for a department.
DocumentType
Document type classification for journal entries.
Employee
Employee master data with organizational hierarchy.
EmployeePool
Pool of employees with organizational hierarchy support.
EnhancedAnomalyLabel
Enhanced anomaly label with dynamic confidence and severity.
EnterpriseGroup
Enterprise group structure containing multiple company codes.
EntityEvent
Event in an entity’s lifecycle.
EntityId
Unique identifier for any entity in the system.
EntityRecord
Record of an entity in the registry.
EntityRegistry
Central registry for all master data entities.
FactorEvidence
Evidence supporting a contributing factor.
FiscalPeriod
Fiscal period representation.
FiscalYearVariant
Fiscal year variant defining the fiscal calendar.
FixedAsset
Fixed asset master data.
FixedAssetPool
Pool of fixed assets for transaction generation.
FxRate
An exchange rate for a currency pair on a specific date.
FxRateTable
Collection of FX rates with lookup functionality.
GLAccount
Individual GL account definition.
IndustryWeights
Industry relevance weights for account selection during generation.
InternalControl
Internal control definition.
JournalEntry
Complete journal entry with header and line items.
JournalEntryHeader
Header information for a journal entry document.
JournalEntryLine
Individual line item within a journal entry.
LabeledAnomaly
A labeled anomaly for supervised learning.
Material
Material master data.
MaterialAccountDetermination
Account determination rules for material transactions.
MaterialPool
Pool of materials for transaction generation.
OrganizationStructure
Organization structure containing all departments.
OverheadAllocation
Corporate overhead allocation definition.
PeriodCloseRun
Period close run status.
Project
Project master data.
ProjectPool
Pool of projects for transaction generation.
RealizedFxGainLoss
Realized FX gain/loss from settling a transaction in foreign currency.
ScheduledCloseTask
A scheduled close task with sequence and dependencies.
SodConflictPair
Definition of a SoD conflict pair.
SodRule
SoD rule that defines what constitutes a conflict.
SodViolation
Record of a specific SoD violation on a transaction.
TaxAdjustment
Tax adjustment item.
TaxProvisionInput
Tax provision calculation inputs.
TaxProvisionResult
Tax provision result.
TemporalAuditEntry
Temporal audit trail entry.
TemporalQuery
Temporal query parameters for point-in-time queries.
TemporalVersionChain
Temporal version chain for tracking all versions of an entity.
TransactionCodeAuth
Transaction code authorization.
TranslatedAmount
Result of translating an amount.
UnitOfMeasure
Unit of measure for materials.
UnrealizedFxGainLoss
Unrealized FX gain/loss from revaluing open items.
User
Individual user account for transaction attribution.
UserPool
Pool of users for transaction attribution.
Vendor
Vendor master data.
VendorPool
Pool of vendors for transaction generation.
WbsElement
WBS (Work Breakdown Structure) element.
WorkingHoursPattern
Working hours pattern for human users.
YearEndClosingSpec
Year-end closing entry specification.

Enums§

AccountSubType
Detailed sub-classification for accounts within each type.
AccountType
Primary account type classification following standard financial statement structure.
AccrualCalculationMethod
Calculation method for accruals.
AccrualFrequency
Frequency for accrual posting.
AccrualType
Type of accrual.
AcquisitionType
Asset acquisition type.
ActivityType
Activity types for authorization.
AllocationBasis
Basis for overhead allocation.
AnomalyCategory
High-level anomaly category for multi-class classification.
AnomalyCausalReason
Causal reason explaining why an anomaly was injected.
AnomalyType
Primary anomaly classification.
ApprovalActionType
Type of approval action taken.
ApprovalStatus
Status of an approval workflow.
AssetClass
Asset class for categorization and default depreciation rules.
AssetStatus
Status of a fixed asset.
BusinessProcess
Business process that originated the transaction.
CloseTask
Close task types for period-end processing.
CloseTaskStatus
Status of a close task execution.
CoAComplexity
Chart of Accounts complexity levels.
ControlFrequency
Control testing frequency.
ControlScope
Control scope distinguishing entity-level from transaction-level controls.
ControlStatus
Control status for transaction-level tracking.
ControlType
Control type based on SOX 404 framework.
CosoComponent
COSO 2013 Framework - 5 Components of Internal Control.
CosoMaturityLevel
Control maturity level based on capability maturity models.
CosoPrinciple
COSO 2013 Framework - 17 Principles of Internal Control.
CreditRating
Customer credit rating.
CustomerPaymentBehavior
Customer payment behavior for simulation.
CustomerType
Type of customer relationship.
DepreciationMethod
Depreciation calculation method.
EmployeeStatus
Employee status in HR system.
EntityEventType
Types of entity lifecycle events.
EntityStatus
Status of an entity at a point in time.
EntityType
Types of entities that can be registered.
ErrorType
Error types for error detection.
FactorType
Type of contributing factor for anomaly confidence/severity calculation.
FiscalPeriodType
Type of fiscal period.
FraudType
Fraud types for detection training.
IndustrySector
Industry sector for account relevance weighting.
InjectionStrategy
Structured injection strategy with captured parameters.
JobLevel
Employee job level in the organization hierarchy.
MaterialGroup
Material group for categorization.
MaterialType
Type of material in the system.
PaymentTerms
Payment terms for vendor/customer relationships.
PeriodCloseStatus
Status of a period close run.
PeriodStatus
Status of a fiscal period.
ProcessIssueType
Process issue types.
ProjectStatus
Status of a project.
ProjectType
Type of project.
RateType
Type of exchange rate.
RelationalAnomalyType
Relational/graph anomaly types.
RiskLevel
Risk level for controls and control deficiencies.
SodConflictType
Types of Segregation of Duties conflicts.
SoxAssertion
SOX 404 financial statement assertions.
StatisticalAnomalyType
Statistical anomaly types.
SystemRole
System role for access control.
TemporalAction
Actions tracked in temporal audit trail.
TemporalChangeType
Type of temporal change.
ThresholdComparison
Comparison operator for threshold mappings.
TransactionSource
Source of a journal entry transaction.
TranslationAccountType
Account classification for currency translation.
TranslationMethod
Currency translation method for financial statement consolidation.
UserPersona
User persona classification for behavioral modeling.
ValuationMethod
Inventory valuation method.
VendorBehavior
Vendor payment behavior for simulation.
VendorType
Type of vendor relationship.

Functions§

base_rates_usd
Base rates against USD for common currencies (approximate).