Table

TaxRespWithholdingICMSSTSetup_BR

Responsible for withholding the ICMS-ST setup

Setup table used for Brazil. It states who is responsible for withholding ICMS-ST tax, based on the CFOP code or group, the fiscal document issuer and the taxation codes of sender and receiver. It links to CFOP groups and CFOP codes.

Table name
TaxRespWithholdingICMSSTSetup_BR
Module
Tax
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CFOPCodeSays whether the CFOP relation is a single CFOP code, a group or all.Enum
TableGroupAll (enum)
NoNone
CFOPRelationThe CFOP code or CFOP group the setup row applies to.String
CFOPRelation
NoCFOPGroup_BR.CFOPGroupCFOPTable_BR.CFOPIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FiscalDocumentIssuerWho issues the fiscal document: the fiscal establishment or a third party.Enum
FiscalDocumentIssuer_BR (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReceiverTaxationCodeTaxation code of the receiver.String (3)
ReceiverTaxationCode_BR
NoNone
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
RespWithholdingICMSSTWho is responsible for withholding ICMS-ST: blank, direct, indirect or own declarant.Enum
RespWithholdingICMSST_BR (enum)
NoNone
SenderTaxationCodeTaxation code of the sender.String (3)
SenderTaxationCode_BR
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • CFOPTable → CFOPTable_BR

    Join on CFOPCode = null, CFOPRelation = CFOPTable_BR.CFOPId

    Many TaxRespWithholdingICMSSTSetup_BR records → zero or one CFOPTable_BR record

  • CFOPGroup → CFOPGroup_BR

    Join on CFOPCode = 1, CFOPRelation = CFOPGroup_BR.CFOPGroup

    Many TaxRespWithholdingICMSSTSetup_BR records → zero or one CFOPGroup_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk