Table

FBTaxWithholdTrans_BR

Withholding tax to be reported in SPED file

Holds withholding tax amounts (COFINS, PIS and other taxes) that are to be reported in the SPED file. Each row carries the invoice, the third party, the fiscal establishment, the posting date and the payment voucher. Used for Brazil.

Table name
FBTaxWithholdTrans_BR
Module
Fiscal books brazil
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
FiscalBooks

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AssessmentRegimenAssessment regimen of the contribution: non-cumulative, cumulative, both or none.Enum
FBContribAssessmentRegimen_BR (enum)
NoNone
CofinsWithholdAmountAmount of COFINS tax withheld.Real
TaxWithholdAmount
NoNone
CustWhtContributionTypeType of customer contribution for withholding tax, such as legal entity or cooperative.Enum
WhtContributionType_BR
CustWhtContributionType_BR (enum)
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FBBookingPeriod_BRPoints to the booking period record for this withholding.Int64
RefRecId
NoFBBookingPeriod_BR.RecIdNone
FinancialLedgerDimensionLedger account, pointing to a dimension code combination.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
FiscalEstablishmentID of the fiscal establishment, linked to the fiscal establishment record.String
FBFiscalEstablishmentId_BR
YesFiscalEstablishment_BR.FiscalEstablishmentIdNone
InvoiceNumberFiscal document number of the invoice.String (20)
FiscalDocumentNumber_BR
YesNone
OtherTaxWithholdAmountAmount withheld for taxes other than COFINS and PIS.Real
TaxWithholdAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PisWithholdAmountAmount of PIS tax withheld.Real
TaxWithholdAmount
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxWithholdBaseAmountBase amount on which the withholding is worked out, labelled as the amount origin; currency not stated in the metadata.Real
TaxWithholdBaseCur
NoNone
ThirdPartyCNPJCPFCNPJ or CPF tax number of the third party.String (20)
CNPJCPFNum_BR
YesNone
TransDatePosting date of the withholding transaction.Date
TransDate
YesNone
VersionVersion of the withholding record layout: unknown or version 1.Enum
FBTaxWithholdTransVersion_BR (enum)
NoNone
VoucherIdVoucher number of the payment.String (20)
Voucher
NoNone

Indexes (4)

Relations (3)

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

  • FBBookingPeriod_BR → FBBookingPeriod_BR

    Join on FBBookingPeriod_BR = FBBookingPeriod_BR.RecId

    Many FBTaxWithholdTrans_BR records → exactly one FBBookingPeriod_BR record

  • FiscalEstablishment_BR → FiscalEstablishment_BR

    Join on FiscalEstablishment = FiscalEstablishment_BR.FiscalEstablishmentId

    Many FBTaxWithholdTrans_BR records → exactly one FiscalEstablishment_BR record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on FinancialLedgerDimension = DimensionAttributeValueCombination.RecId

    Many FBTaxWithholdTrans_BR records → zero or one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk