Table

CustInvoiceTransHistory_BR

CustInvoiceTrans_BR history data

History copy of Brazil-specific data for customer invoice lines. It holds ICMS-ST collection details and tax group fields related to the Brazil tax reform. Each row refers to an invoice line.

Table name
CustInvoiceTransHistory_BR
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustInvoiceTransRecord ID of the customer invoice line.Int64
CustInvoiceTransRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ICMSSTCollectionPaymentModeHow the ICMS-ST was collected, such as state document or GNRE.Enum
ICMSSTCollectionPaymentMode_BR (enum)
NoNone
ICMSSTCollectionPaymentNumberPayment number of the ICMS-ST collection.String (256)
ICMSSTCollectionPaymentNumber_BR
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NfeVbcstretVicmsstretTagsReportedYes or No flag for whether the vBCSTRet and vICMSSTRet tags are reported in the Nfe XML.Enum
FBNfeVbcstretVicmsstretTagsReported_BR
NoYes (enum)
NoNone
OverrideSalesTax_BRYes or No flag to override tax determination for the tax reform.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RespWithholdoingICMSSTParty that withholds the ICMS-ST: direct, indirect or own declarant.Enum
RespWithholdingICMSST_BR (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroup_BRTax group for the tax reform. Relates to the tax service view of tax groups.String
TaxGroup
NoNone
TaxItemGroup_BRItem tax group for the tax reform. Relates to the tax service view of item tax groups.String
TaxItemGroup
NoNone

Indexes (1)

Relations (2)

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

  • TaxGroupHeadingTaxServiceView → TaxGroupHeadingTaxServiceView

    Join on TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroup

    Many CustInvoiceTransHistory_BR records → zero or one TaxGroupHeadingTaxServiceView record

  • TaxItemGroupHeadingTaxServiceView → TaxItemGroupHeadingTaxServiceView

    Join on TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroup

    Many CustInvoiceTransHistory_BR records → zero or one TaxItemGroupHeadingTaxServiceView record

Get this data out

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

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

Email sales@drdynamics.co.uk