Table
EInvoiceHist_MX
Electronic invoice historical information
Holds the history of communication for Mexican electronic invoices. Each record links to an electronic invoice and a PAC (certified provider). It stores the incoming and outgoing messages, status and web service used.
- Table name
EInvoiceHist_MX- Module
Electronic invoicing- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EnvironmentEnvironment used for the call: blank, testing or production. | EnumEInvoiceCFDIEnvironment_MX (enum) | No | None | |
IncomingMessageMessage received from the web service. | String (-1)EInvoiceCFDIIncomingXML_MX | No | None | |
OutgoingMessageMessage sent to the web service. | String (-1)EInvoiceCFDIOutgoingXML_MX | No | None | |
PACAccountAccount of the PAC used. It links to the PAC table. | String (20)EInvoiceCFDIPACAccount_MX | No | EInvoiceCFDIPACTable_MX.AccountNum | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RefRecIdPoints to the electronic invoice record that this history entry belongs to. | Int64RefRecId | No | EInvoiceJour_MX.RecId | None |
StatusStatus of the CFDI, such as In process, Rejected, Approved or Canceled. | EnumEInvoiceCFDIStatus_MX (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateTimeDate and time of the transaction. | UtcDateTimeTransDateTime | No | None | |
WebServiceWeb service operation used, such as request stamp or cancel. | EnumEInvoiceCFDIWebService_MX (enum) | No | None |
Indexes (2)
EInvoiceJour_MXIdxNot unique.
EInvoiceCFDIPACTable_MXIdxNot unique.
Relations (2)
Each relation joins EInvoiceHist_MX to another table on the fields shown.
EInvoiceCFDIPACTable_MX→EInvoiceCFDIPACTable_MXJoin on
PACAccount = EInvoiceCFDIPACTable_MX.AccountNumMany EInvoiceHist_MX records → zero or one EInvoiceCFDIPACTable_MX record
EInvoiceJour_MX→EInvoiceJour_MXJoin on
RefRecId = EInvoiceJour_MX.RecIdMany EInvoiceHist_MX records → zero or one EInvoiceJour_MX record
Get this data out
No public entity reads from EInvoiceHist_MX. Its data is only reachable through the application, a custom entity or a database export.
Need help with EInvoiceHist_MX in a report, an integration or a migration? Talk to Dr Dynamics.