Table

PurchImportDeclaration_BR

Import declaration

Import declarations used for Brazil. Each record is identified by the declaration number. It stores dates, port, port state, declaration type and transport mode for an import. Vendor invoice headers use it.

Table name
PurchImportDeclaration_BR
Module
Accounts payable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
DINumberIdx
Key fields
DINumber
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DINumberNumber that identifies the import declaration.String (15)
PurchDINumber_BR
YesPurchImportDeclarationEntityVendorInvoiceHeaderEntity
AFRMMAFRMM amount for the import. This is a Brazilian merchant marine freight surcharge.Real
EFDocAfrmm_BR
NoPurchImportDeclarationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DIDateDate of the import declaration.Date
DIDate_BR
YesPurchImportDeclarationEntity
DrawBackNumberNumber of the draw back (duty refund) regime linked to the import.String (20)
DrawBackNumber_BR
NoPurchImportDeclarationEntity
NationalizationDateDate on which the imported goods were nationalised (cleared into the country).Date
NationalizationDate_BR
YesPurchImportDeclarationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PortPort used for the import. Points to a port record.String
IntrastatPortId
YesIntrastatPort.PortIdPurchImportDeclarationEntity
PortStateState where the port is located.String
PortState_BR
YesNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransportModeWay the goods were transported, such as marine, air or railway.Enum
EFDocTransportMode_BR (enum)
NoPurchImportDeclarationEntity
TypeKind of declaration: import, simplified import or unique import.Enum
PurchDIType_BR (enum)
YesPurchImportDeclarationEntity

Indexes (1)

  • DINumberIdxReplacement key

    DINumber

    Unique, alternate key.

Relations (2)

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

  • AddressState → LogisticsAddressState

    Join on PortState = LogisticsAddressState.StateId

    Many PurchImportDeclaration_BR records → zero or one LogisticsAddressState record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many PurchImportDeclaration_BR records → exactly one IntrastatPort record

Get this data out

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

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

Email sales@drdynamics.co.uk