Table

TaxDebitStatusStaging_BR

Brazil tax debit status staging

Staging table for Brazilian tax debit status data. It holds the invoice, access key, tax type, debit situation, amounts and calculation period. It also records whether each row has been processed. Used for Brazil.

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

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccessKeyThe access key of the electronic fiscal document.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
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, 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
ExtinctedAmountThe part of the debit that has been extinguished, in accounting currency.Real
AmountMST
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
ProcessedDateTimeThe date and time the row was processed.UtcDateTimeNoNone
ProcessingStatusShows whether the staging row is not processed, processed or failed.Enum
TaxDebitStagingProcessingStatus_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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxTypeThe Brazilian tax type, such as IPI, PIS, ICMS or COFINS.Enum
TaxType_BR (enum)
YesNone
TotalDebitAmountThe total debit amount, in accounting currency.Real
AmountMST
NoNone

Indexes (3)

Relations (1)

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

  • TaxDebitsExtinctMatching → TaxDebitExtinctMatchingStaging_BR

    Join on RecId = TaxDebitExtinctMatchingStaging_BR.TaxDebitStatus

    Many TaxDebitStatusStaging_BR records → exactly one TaxDebitExtinctMatchingStaging_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk