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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxTransPoints to the posted sales tax transaction that this Brazil status record belongs to.Int64
TaxTransRecId
YesTaxTrans.RecIdNone
AccessKeyThe access key of the electronic fiscal document for this record.String (45)
EFDocAccessKey_BR
NoNone
CalculationPeriodThe calculation period as six characters in year and month form.String (6)NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustInvoiceJourPoints to the customer invoice journal that gave rise to the debit.Int64
RefRecId
NoCustInvoiceJour.RecIdNone
CustTransPoints to the related customer transaction.Int64
RefRecId
NoCustTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebitExtinctDateThe date the debit was extinguished.Date
TransDate
NoNone
DebitInvoiceIdThe invoice number linked to the debit.String (50)
InvoiceId
NoNone
DebitSituationThe state of the debit as seen by the tax authority, such as open, partially extincted, extincted or canceled.Enum
TaxDebitSituation_BR (enum)
NoNone
DebitSourceTypeShows where the debit came from: current calculation, adjustment calculation or extemporaneous debit.Enum
TaxDebitSourceType_BR (enum)
NoNone
DefaultDimensionThe default financial dimensions used for the debit adjustment. It points to a dimension set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
ExtinctedAmountThe part of the debit that has been extinguished, in accounting currency.Real
AmountMST
NoNone
InvoiceLineRecIdPoints to the customer invoice line this record relates to.Int64
RefRecId
NoCustInvoiceTrans.RecIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NotExtinctedAmountThe part of the debit still outstanding, in accounting currency.Real
AmountMST
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingStatusShows whether the extinction has been posted: not posted, partially posted or posted.Enum
TaxDebitPostingStatus_BR (enum)
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
SourceRecIdThe system record ID of the source transaction line.Int64
RefRecId
YesNone
SourceTableIdThe ID of the table that holds the source transaction line, such as a customer or vendor invoice line.Integer
RefTableId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAccountGroupThe ledger posting group used to find ledger accounts for the debit adjustment. It points to a posting group record.String
TaxAccountGroup
NoTaxLedgerAccountGroup.TaxAccountGroupNone
TaxTypeThe Brazilian tax type, such as IPI, PIS, ICMS or COFINS.Enum
TaxType_BR (enum)
YesNone
TotalDebitAmountSum of the tax debit for a fiscal document and a tax type.Real
TaxAmountCur
NoNone
VoucherLedger voucher number of the extinction adjustment. It is filled once the adjustment is posted.String (20)
Voucher
NoNone

Indexes (6)

Relations (6)

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

  • CustInvoiceJour → CustInvoiceJour

    Join on CustInvoiceJour = CustInvoiceJour.RecId

    Many TaxDebitStatus_BR records → exactly one CustInvoiceJour record

  • CustTrans → CustTrans

    Join on CustTrans = CustTrans.RecId

    Many TaxDebitStatus_BR records → zero or one CustTrans record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on InvoiceLineRecId = CustInvoiceTrans.RecId

    Zero or one TaxDebitStatus_BR record → exactly one CustInvoiceTrans record

  • TaxTrans → TaxTrans

    Join on TaxTrans = TaxTrans.RecId

    Zero or one TaxDebitStatus_BR record → exactly one TaxTrans record

  • TaxAccountGroup → TaxLedgerAccountGroup

    Join on TaxAccountGroup = TaxLedgerAccountGroup.TaxAccountGroup

    Many TaxDebitStatus_BR records → zero or one TaxLedgerAccountGroup record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many 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.

Email sales@drdynamics.co.uk