Table

CustInvoiceTrans_BR

Customer invoice line information for Brazil

Adds Brazil-specific data to a customer invoice line, one row per line. The key is the link to the invoice line. It holds ICMS-ST collection and withholding details, tax reform groups and an override flag.

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

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTransPoints to the customer invoice line that this row extends.Int64
CustInvoiceTransRecId
NoCustInvoiceTrans.RecIdCustInvoiceTransBRBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoCustInvoiceTransBRBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoCustInvoiceTransBRBiEntity
ICMSSTCollectionPaymentModeHow the ICMS-ST collection was paid, such as state document or GNRE.Enum
ICMSSTCollectionPaymentMode_BR (enum)
NoCustInvoiceTransBRBiEntity
ICMSSTCollectionPaymentNumberPayment number for the ICMS-ST collection.String (256)
ICMSSTCollectionPaymentNumber_BR
NoCustInvoiceTransBRBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoCustInvoiceTransBRBiEntity
NfeVbcstretVicmsstretTagsReportedYes or no flag for whether the vBCSTRet and vICMSSTRet tags are reported in the Nfe XML.Enum
FBNfeVbcstretVicmsstretTagsReported_BR
NoYes (enum)
NoCustInvoiceTransBRBiEntity
OverrideSalesTax_BRYes or no flag to override tax determination under 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
NoCustInvoiceTransBRBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCustInvoiceTransBRBiEntity
RespWithholdoingICMSSTWho is responsible for withholding ICMS-ST: direct, indirect or own declarant.Enum
RespWithholdingICMSST_BR (enum)
NoCustInvoiceTransBRBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoCustInvoiceTransBRBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroup_BRTax group used under the Brazil tax reform.String
TaxGroup
NoNone
TaxItemGroup_BRItem tax group used under the Brazil tax reform.String
TaxItemGroup
NoNone

Indexes (1)

Relations (3)

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

  • CustInvoiceTrans → CustInvoiceTrans

    Join on CustInvoiceTrans = CustInvoiceTrans.RecId

    Zero or one CustInvoiceTrans_BR record → exactly one CustInvoiceTrans record

  • TaxGroupHeadingTaxServiceView → TaxGroupHeadingTaxServiceView

    Join on TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroup

    Many CustInvoiceTrans_BR records → zero or one TaxGroupHeadingTaxServiceView record

  • TaxItemGroupHeadingTaxServiceView → TaxItemGroupHeadingTaxServiceView

    Join on TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroup

    Many CustInvoiceTrans_BR records → zero or one TaxItemGroupHeadingTaxServiceView record

Get this data out

Tables are not exposed directly. These public entities read from CustInvoiceTrans_BR; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk