Table
EFDocumentCity_BR
Electronic fiscal document for services
Holds data for Brazilian electronic fiscal documents for services (RPS). Each record links to a fiscal document header. It shows the RPS number, date, type and status, and the dates of the export and import files.
- Table name
EFDocumentCity_BR- Module
Fiscal books brazil- Table group
Transaction- 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 | |
FiscalDocument_BRFiscal document header that the record belongs to. | Int64RefRecId | Yes | FiscalDocument_BR.RecId | 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 | |
RPSDateDate of the invoice. | DateInvoiceDate | No | None | |
RPSExportDateDate and time of the exported RPS file. | UtcDateTimeRPSDateTime_BR | No | None | |
RPSImportDateDate and time of the imported RPS file. | UtcDateTimeRPSDateTime_BR | No | None | |
RPSNumberInvoice number of the RPS. | String (50)InvoiceId | No | None | |
RPSStatusStatus of the RPS, such as ISS payable, exempt or cancelled. | EnumRPSStatus_BR (enum) | No | None | |
RPSTypeType of RPS: none, RPS or RPS-M. | EnumRPSType_BR (enum) | No | None | |
RPSValidationNumberValidation number of the electronic invoice. | StringRPSValidationNumber_BR | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
RPSImportIdxNot unique.
FiscalDocument_BRIdxUnique.
Relations (1)
Each relation joins EFDocumentCity_BR to another table on the fields shown.
FiscalDocument→FiscalDocument_BRJoin on
FiscalDocument_BR = FiscalDocument_BR.RecIdZero or one EFDocumentCity_BR record → exactly one FiscalDocument_BR record
Get this data out
No public entity reads from EFDocumentCity_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with EFDocumentCity_BR in a report, an integration or a migration? Talk to Dr Dynamics.