Get invoice identification fields
Get invoice identification fields
Opens and processes a Nota Fiscal Eletrônica (NF-e) XML file, loading all of its data for use by the other actions of the NF-e group. This must be the first action executed before any reading of the invoice data.
Options
XML path
Enter the full path of the NF-e XML file that will be read. Example: C:\Users\Roberty\Downloads\nf.xml.
NF-e version
Select the NF-e version to guarantee the correct reading of the file structure.
Returns
Returns the identification fields of the invoice, including:
- Federation Unit Code
- Numeric Code of Access Key
- Description of Operation Nature
- Fiscal Document Model
- Fiscal Document Serial Number
- Document Fiscal Number
- Date and Time of Issuance
- Type of Fiscal Document
- And the other NF-e identification fields
Rules and Conditions
- The XML path and NF-e version fields are required.
- The XML file must be a valid and well-formed NF-e.
- This action must be executed before any other action of the NF-e group.
- The ID of this action is used as a reference by the other NF-e actions to indicate which invoice will be processed.