Table

EInvoice_IN

Electronic invoices

Stores electronic invoice data used for India. It links to a source document, such as a customer invoice, through a table ID and record ID. It holds the invoice reference number (IRN), acknowledgement details, signed invoice and QR code, GST registration number and E-Way bill details.

Table name
EInvoice_IN
Module
Cross-module and platform
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 (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AcknowledgementDateDate on which the invoice was acknowledged.Date
DocumentDate
NoNone
AcknowledgementNumNumber given in the acknowledgement of the invoice.String (20)
DocumentNum
NoNone
CancelDateDate on which the invoice was cancelled.Date
DocumentDate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EWayBillDateTimeDate and time when the E-Way bill was created.UtcDateTime
TaxGSTEWayBillDateTime_IN
NoNone
EWayBillNoNumber of the E-Way bill.String (12)
TaxGSTEWayBillNo_IN
NoNone
EWayBillRecIdLink to the E-Way bill record.Int64
RefRecId
NoTransitDocumentEWayBill_IN.RecIdNone
EWayBillStatusStatus of the E-Way bill. Values include Created, Sent, Cancel and Canceled, plus sending and cancelling errors.Enum
EInvoiceEWayBillStatus_IN (enum)
NoNone
EWayBillValidTillDateTimeDate and time when the E-Way bill stops being valid.UtcDateTime
TaxGSTEWayBillValidTillDateTime_IN
NoNone
GSTINTax registration number (GSTIN) linked to the invoice.String (15)
TaxRegistrationNumber_IN
NoNone
IdText description for the record.low confidenceString (60)
Description
NoNone
IRNInvoice reference number of the electronic invoice.String (64)
InvoiceReferenceNumber_IN
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
RefRecIdSystem record ID of the source document, such as a customer invoice journal.Int64
RefRecId
NoNone
RefTableIdTable ID that tells which kind of source document the record refers to.Integer
RefTableId
NoNone
SignedInvoiceSigned invoice content, stored as XML text.String (-1)
XML
NoNone
SignedQRCodeSigned QR code of the invoice, stored as XML text.String (-1)
XML
NoNone
StatusProcessing status of the electronic invoice. Values include New, Created, Signed, Sent, Accepted, Closed and Canceled.Enum
EInvoiceStatus_IT (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (5)

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

  • CustInvoiceJour → CustInvoiceJour

    Join on RefRecId = CustInvoiceJour.RecId, RefTableId = CustInvoiceJour.TableId

    Zero or one EInvoice_IN record → exactly one CustInvoiceJour record

  • ProjInvoiceJour → ProjInvoiceJour

    Join on RefRecId = ProjInvoiceJour.RecId, RefTableId = ProjInvoiceJour.TableId

    Zero or one EInvoice_IN record → exactly one ProjInvoiceJour record

  • InventTransferJour → InventTransferJour

    Join on RefRecId = InventTransferJour.RecId, RefTableId = InventTransferJour.TableId

    Zero or one EInvoice_IN record → zero or one InventTransferJour record

  • TransitDocumentEWayBill_IN → TransitDocumentEWayBill_IN

    Join on EWayBillRecId = TransitDocumentEWayBill_IN.RecId

    Many EInvoice_IN records → zero or one TransitDocumentEWayBill_IN record

  • CustomsShippingBillJour_IN → CustomsShippingBillJour_IN

    Join on RefRecId = CustomsShippingBillJour_IN.RecId, RefTableId = CustomsShippingBillJour_IN.TableId

    Zero or one EInvoice_IN record → exactly one CustomsShippingBillJour_IN record

Get this data out

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

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

Email sales@drdynamics.co.uk