Table

EInvoiceExtCodeTable_MX

External code

Holds external classification codes (SAT codes) for electronic invoicing, used for Mexico. The key is the code type, version and code. Types include tax regime, products and services, unit of measure, CFDI purpose and method of payment.

Table name
EInvoiceExtCodeTable_MX
Module
Electronic invoicing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
CodeIdx
Replacement key
None
Key fields
CodeType, Version, CodeId
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CodeTypeKind of external code, such as tax regime, unit of measure or incoterm.Enum
EInvoiceExtCodeType_MX (enum)
NoEInvoiceExtCodeTableEntity
VersionVersion of the code list.String
SysVersion
YesEInvoiceExtCodeTableEntity
CodeIdSAT code value.String
EInvoiceExtCodeId_MX
YesEInvoiceExtCodeTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText that explains the code.String (80)
ExtCodeDescription
NoEInvoiceExtCodeTableEntity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValidFromDate from which this code version is valid.Date
ValidFromDate
NoEInvoiceExtCodeTableEntity

Indexes (2)

Get this data out

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

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

Email sales@drdynamics.co.uk