Table

RPayTaxIncomeGroupTable

Income code groups

Defines income code groups for Russian income tax. Each group has a type, a tax status and links to pay types, rates, budget revenue codes, counters and a sales tax code. It also has flags for standard and other deductions.

Table name
RPayTaxIncomeGroupTable
Module
Obsolete
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
RPayTax
Primary index
GroupCodeIdx
Replacement key
None
Key fields
RpayTaxIncomeGroupCode
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RpayTaxIncomeGroupCodeCode that identifies the income group.String
RpayTaxIncomeGroupCode
YesNone
AcquittanceCostTypePay type used for repayment of last year's debts.String
RPayCostType
NoRPayTable.PayCtypeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EmplTaxStatusTax status of the employee: resident, non-resident or high paid non-resident.Enum
RPayEmplTaxStatus (enum)
NoNone
FundCounter linked to the group. It points to a counter record.String
RPayCounterUnit
NoRPayCounterTable.CounterUnitNone
FutureTaxCostTypePay type used for tax of a future period.String
RPayCostType
NoRPayTable.PayCtypeNone
NameName of the income group.String (60)
Name
NoNone
NonResidentPaymBudgetReceiptClassCodeBudget revenue code used for non-residents.String (26)
PaymentOrderBudgetReceiptClassCode_RU
NoPaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCodeNone
OtherDeductionsYes/No flag for other deductions.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
PaymBudgetReceiptClassCodeBudget revenue code for the group. It points to the budget revenue classification.String (26)
PaymentOrderBudgetReceiptClassCode_RU
NoPaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCodeNone
RateCodeSystem rate for the group. It points to a rate record.String
RPayRateCode
NoRPayRateTable.PayRateNone
RateCodeGroupGroup rate. It points to a rate record.String
RPayRateCode
NoRPayRateTable.PayRateNone
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RpayCostTypePay type linked to the group. It points to a pay type record.String
RPayCostType
YesRPayTable.PayCtypeNone
RpayTaxGroupTypeType of group: basic income (13%), dividends, other (35%) or untaxed income.Enum
RpayTaxGroupType (enum)
NoNone
StandardDeductionsYes/No flag for standard deductions.Enum
NoYesId
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxCodeSales tax code linked to the group. It points to a sales tax code record.String
TaxCode
NoTaxTable.TaxCodeNone

Indexes (2)

Relations (9)

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

  • PaymentOrderBudgetReceiptClassTable_RU → PaymentOrderBudgetReceiptClassTable_RU

    Join on NonResidentPaymBudgetReceiptClassCode = PaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCode

    Many RPayTaxIncomeGroupTable records → exactly one PaymentOrderBudgetReceiptClassTable_RU record

  • PaymentOrderBudgetReceiptClassTable_RU1 → PaymentOrderBudgetReceiptClassTable_RU

    Join on PaymBudgetReceiptClassCode = PaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCode

    Many RPayTaxIncomeGroupTable records → exactly one PaymentOrderBudgetReceiptClassTable_RU record

  • RPayCounterTable → RPayCounterTable

    Join on RPayCounterTable.LineType = RPayCtypeType::BaseTotal, RPayCounterTable.CounterType = RPayCounterType::Fund, Fund = RPayCounterTable.CounterUnit

    Many RPayTaxIncomeGroupTable records → zero or one RPayCounterTable record

  • RPayRateTableRateCode → RPayRateTable

    Join on RateCode = RPayRateTable.PayRate

    Many RPayTaxIncomeGroupTable records → exactly one RPayRateTable record

  • RPayRateTableRateCodeGroup → RPayRateTable

    Join on RateCodeGroup = RPayRateTable.PayRate

    Many RPayTaxIncomeGroupTable records → exactly one RPayRateTable record

  • RPayTable → RPayTable

    Join on RpayCostType = RPayTable.PayCtype

    Many RPayTaxIncomeGroupTable records → exactly one RPayTable record

  • RPayTable_ACT → RPayTable

    Join on AcquittanceCostType = RPayTable.PayCtype

    Many RPayTaxIncomeGroupTable records → exactly one RPayTable record

  • RPayTable_FutureCT → RPayTable

    Join on FutureTaxCostType = RPayTable.PayCtype

    Many RPayTaxIncomeGroupTable records → exactly one RPayTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode, TaxTable.TaxType_W = TaxType_W::RPayIncomeTax

    Many RPayTaxIncomeGroupTable records → zero or one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk