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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccessKeyThe access key of the electronic fiscal document. | 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 | |
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, 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 | |
ExtinctedAmountThe part of the debit that has been extinguished, in accounting currency. | RealAmountMST | 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 | |
ProcessedDateTimeThe date and time the row was processed. | UtcDateTime | No | None | |
ProcessingStatusShows whether the staging row is not processed, processed or failed. | EnumTaxDebitStagingProcessingStatus_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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxTypeThe Brazilian tax type, such as IPI, PIS, ICMS or COFINS. | EnumTaxType_BR (enum) | Yes | None | |
TotalDebitAmountThe total debit amount, in accounting currency. | RealAmountMST | No | None |
Indexes (3)
ProcessingStatusIdxNot unique.
AccessKeyIdxNot unique.
InvoiceTaxTypeIdxNot unique.
Relations (1)
Each relation joins TaxDebitStatusStaging_BR to another table on the fields shown.
TaxDebitsExtinctMatching→TaxDebitExtinctMatchingStaging_BRJoin on
RecId = TaxDebitExtinctMatchingStaging_BR.TaxDebitStatusMany 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.