Table
TaxDebitStatus_BR
Brazil tax debit status
Tracks the status of each Brazilian tax debit for a fiscal document and tax type. It links to the posted tax transaction, the customer invoice, its line and the customer transaction. It also holds posting group, dimensions, debit situation, amounts and extinction date. Used for Brazil.
- Table name
TaxDebitStatus_BR- Module
Tax- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
TaxTransIdx- Replacement key
TaxTransIdx- Key fields
TaxTrans- Model
Foundation
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxTransPoints to the posted sales tax transaction that this Brazil status record belongs to. | Int64TaxTransRecId | Yes | TaxTrans.RecId | None |
AccessKeyThe access key of the electronic fiscal document for this record. | String (45)EFDocAccessKey_BR | No | None | |
CalculationPeriodThe calculation period as six characters in year and month form. | String (6) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustInvoiceJourPoints to the customer invoice journal that gave rise to the debit. | Int64RefRecId | No | CustInvoiceJour.RecId | None |
CustTransPoints to the related customer transaction. | Int64RefRecId | No | CustTrans.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitExtinctDateThe date the debit was extinguished. | DateTransDate | No | None | |
DebitInvoiceIdThe invoice number linked to the debit. | String (50)InvoiceId | No | None | |
DebitSituationThe state of the debit as seen by the tax authority, such as open, partially extincted, extincted or canceled. | EnumTaxDebitSituation_BR (enum) | No | None | |
DebitSourceTypeShows where the debit came from: current calculation, adjustment calculation or extemporaneous debit. | EnumTaxDebitSourceType_BR (enum) | No | None | |
DefaultDimensionThe default financial dimensions used for the debit adjustment. It points to a dimension set. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
ExtinctedAmountThe part of the debit that has been extinguished, in accounting currency. | RealAmountMST | No | None | |
InvoiceLineRecIdPoints to the customer invoice line this record relates to. | Int64RefRecId | No | CustInvoiceTrans.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NotExtinctedAmountThe part of the debit still outstanding, in accounting currency. | RealAmountMST | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingStatusShows whether the extinction has been posted: not posted, partially posted or posted. | EnumTaxDebitPostingStatus_BR (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 | |
SourceRecIdThe system record ID of the source transaction line. | Int64RefRecId | Yes | None | |
SourceTableIdThe ID of the table that holds the source transaction line, such as a customer or vendor invoice line. | IntegerRefTableId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAccountGroupThe ledger posting group used to find ledger accounts for the debit adjustment. It points to a posting group record. | StringTaxAccountGroup | No | TaxLedgerAccountGroup.TaxAccountGroup | None |
TaxTypeThe Brazilian tax type, such as IPI, PIS, ICMS or COFINS. | EnumTaxType_BR (enum) | Yes | None | |
TotalDebitAmountSum of the tax debit for a fiscal document and a tax type. | RealTaxAmountCur | No | None | |
VoucherLedger voucher number of the extinction adjustment. It is filled once the adjustment is posted. | String (20)Voucher | No | None |
Indexes (6)
SourceTaxTypeIdxSourceTableId,SourceRecId,TaxTypeNot unique.
AccessKeyInvoiceTaxTypeIdxAccessKey,DebitInvoiceId,TaxTypeNot unique.
CustInvoiceJourIdxNot unique.
CustTransIdxNot unique.
InvoiceLineIdxDebitInvoiceId,InvoiceLineRecIdNot unique.
TaxTransIdxPrimary indexReplacement keyUnique, alternate key.
Relations (6)
Each relation joins TaxDebitStatus_BR to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
CustInvoiceJour = CustInvoiceJour.RecIdMany TaxDebitStatus_BR records → exactly one CustInvoiceJour record
CustTrans→CustTransJoin on
CustTrans = CustTrans.RecIdMany TaxDebitStatus_BR records → zero or one CustTrans record
CustInvoiceTrans→CustInvoiceTransJoin on
InvoiceLineRecId = CustInvoiceTrans.RecIdZero or one TaxDebitStatus_BR record → exactly one CustInvoiceTrans record
TaxTrans→TaxTransJoin on
TaxTrans = TaxTrans.RecIdZero or one TaxDebitStatus_BR record → exactly one TaxTrans record
TaxAccountGroup→TaxLedgerAccountGroupJoin on
TaxAccountGroup = TaxLedgerAccountGroup.TaxAccountGroupMany TaxDebitStatus_BR records → zero or one TaxLedgerAccountGroup record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TaxDebitStatus_BR records → zero or one DimensionAttributeValueSet record
Get this data out
No public entity reads from TaxDebitStatus_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxDebitStatus_BR in a report, an integration or a migration? Talk to Dr Dynamics.