Table
RestoredVATSalesTaxTrans_RU
VAT distribution
Holds the distribution of VAT per customer invoice and facture for VAT restoring, used for Russia. Each record has a tax code, a factor, the tax base and VAT amounts for direct and indirect expenses. It links to customer invoice journals, facture journals and inventory transaction origins.
- Table name
RestoredVATSalesTaxTrans_RU- Module
Sales and purchase books (Russia)- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceJourRecIdPoints to the customer invoice journal record. | Int64RefRecId | No | CustInvoiceJour.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FactorFactor used in the distribution. | RealFactor | No | None | |
FactureDateDate the facture was registered. | DateFactureDate_RU | No | None | |
FactureExternalIdFacture number as shown on the external document. | String (30)FactureExternalId_RU | No | None | |
FactureIdSystem identifier of the facture; it joins to the facture journal together with the module. | String (50)FactureId_RU | No | FactureJour_RU.FactureId | None |
FactureModuleSource module of the facture, such as customer, vendor or advance report. | EnumFactureModule_RU (enum) | No | FactureJour_RU.Module | None |
InventTransIdLot ID that links to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrevPeriodYes/No flag with no label; purpose is not stated, but its name suggests a previous period.low confidence | EnumNoYes (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxBaseAmountOriginal tax base amount. | RealTaxBase | No | None | |
TaxCodeSales tax code, pointing to the tax code record. | StringTaxCode | No | TaxTable.TaxCode | None |
TaxReducedDirectVAT at the reduced 10% rate for direct expenses. | RealTaxAmountDirectVAT10_RU | No | None | |
TaxReducedIndirectVAT at the reduced 10% rate for indirect expenses. | RealTaxAmountIndirectVAT10_RU | No | None | |
TaxStandardDirectVAT at the standard rate for direct expenses (labelled 18%; the type name refers to 20%). | RealTaxAmountDirectVAT20_RU | No | None | |
TaxStandardIndirectVAT at the standard rate for indirect expenses (labelled 18%; the type name refers to 20%). | RealTaxAmountIndirectVAT20_RU | No | None | |
TransDateDate of the entry, pointing to the VAT restoring journal totals. | DateTransDate | No | RestoredVATLogTable_RU.TransDate | None |
Indexes (2)
TaxDimInventIdxTransDate,TaxCode,InventTransIdNot unique.
InvoiceJourIdxNot unique.
Relations (5)
Each relation joins RestoredVATSalesTaxTrans_RU to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
CustInvoiceJourRecId = CustInvoiceJour.RecIdMany RestoredVATSalesTaxTrans_RU records → exactly one CustInvoiceJour record
FactureJour→FactureJour_RUJoin on
FactureId = FactureJour_RU.FactureId,FactureModule = FactureJour_RU.ModuleMany RestoredVATSalesTaxTrans_RU records → zero or one FactureJour_RU record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany RestoredVATSalesTaxTrans_RU records → exactly one InventTransOrigin record
RestoredVATLogTable→RestoredVATLogTable_RUJoin on
TransDate = RestoredVATLogTable_RU.TransDateMany RestoredVATSalesTaxTrans_RU records → exactly one RestoredVATLogTable_RU record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany RestoredVATSalesTaxTrans_RU records → exactly one TaxTable record
Get this data out
No public entity reads from RestoredVATSalesTaxTrans_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with RestoredVATSalesTaxTrans_RU in a report, an integration or a migration? Talk to Dr Dynamics.