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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AssessmentRegimenAssessment regimen of the contribution: non-cumulative, cumulative, both or none. | EnumFBContribAssessmentRegimen_BR (enum) | No | None | |
CofinsWithholdAmountAmount of COFINS tax withheld. | RealTaxWithholdAmount | No | None | |
CustWhtContributionTypeType of customer contribution for withholding tax, such as legal entity or cooperative. | EnumWhtContributionType_BRCustWhtContributionType_BR (enum) | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FBBookingPeriod_BRPoints to the booking period record for this withholding. | Int64RefRecId | No | FBBookingPeriod_BR.RecId | None |
FinancialLedgerDimensionLedger account, pointing to a dimension code combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
FiscalEstablishmentID of the fiscal establishment, linked to the fiscal establishment record. | StringFBFiscalEstablishmentId_BR | Yes | FiscalEstablishment_BR.FiscalEstablishmentId | None |
InvoiceNumberFiscal document number of the invoice. | String (20)FiscalDocumentNumber_BR | Yes | None | |
OtherTaxWithholdAmountAmount withheld for taxes other than COFINS and PIS. | RealTaxWithholdAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PisWithholdAmountAmount of PIS tax withheld. | RealTaxWithholdAmount | 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 | |
TaxWithholdBaseAmountBase amount on which the withholding is worked out, labelled as the amount origin; currency not stated in the metadata. | RealTaxWithholdBaseCur | No | None | |
ThirdPartyCNPJCPFCNPJ or CPF tax number of the third party. | String (20)CNPJCPFNum_BR | Yes | None | |
TransDatePosting date of the withholding transaction. | DateTransDate | Yes | None | |
VersionVersion of the withholding record layout: unknown or version 1. | EnumFBTaxWithholdTransVersion_BR (enum) | No | None | |
VoucherIdVoucher number of the payment. | String (20)Voucher | No | None |
Indexes (4)
FiscalEstablishmentAndDateIdxFiscalEstablishment,TransDateNot unique.
BookingPeriodIdxNot unique.
CustAndDateIdxNot unique.
KeyFiscalEstablishment,InvoiceNumber,TransDate,ThirdPartyCNPJCPF,VoucherIdUnique, alternate key.
Relations (3)
Each relation joins FBTaxWithholdTrans_BR to another table on the fields shown.
FBBookingPeriod_BR→FBBookingPeriod_BRJoin on
FBBookingPeriod_BR = FBBookingPeriod_BR.RecIdMany FBTaxWithholdTrans_BR records → exactly one FBBookingPeriod_BR record
FiscalEstablishment_BR→FiscalEstablishment_BRJoin on
FiscalEstablishment = FiscalEstablishment_BR.FiscalEstablishmentIdMany FBTaxWithholdTrans_BR records → exactly one FiscalEstablishment_BR record
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
FinancialLedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.