NAV E-Invoice Hashing (SHA-256)
In the Hungarian NAV 3.0 (Nemzeti Adó- és Vámhivatal - National Tax and Customs Administration) E-Invoice legislation, sales invoices can be issued in any digital format (such as PDF, DOC, or JPG), with a SHA-256 hash code, that is transferred to the tax authorities. For these digital invoices to be recognized as legal, the invoices in these formats must adhere to the standard format, similar to the e-invoice audit file.
This scenario, officially named as Paper invoice issued in a digital form, is supported with the integration of Infor LN, LSP, and IDM, and uses ION and DOM capabilities.
Data setup
This data must be setup in Infor LN:
- In the Document Type Attributes Mappings (tcbod0130m000) session, include the mappings for the invoice transaction type, document number, and financial company.
- In the BOD Parameters (tcbod0100m000) session, select the Publish IDM Reference Parameters in InvoiceBOD check box and specify a value in the IDM Document Type for InvoiceBOD field.
- In the Device Data (ttaad3500m000) session, set the Device Type field to Document Output Management to configure a printing device for DOM.
- In the Document Types (ttrpi2510m000) session, specify a document type for the DOM content pack.
- In the Report Rules (ttrpi2520m000) session, link the DOM document type to the report.
The ION, LSP, and IDM also must be configured to integrate with Infor LN, to support SHA-256 for E-Invoicing for the Hungarian localization.
Hash generation and transmission
The Localization Service Platform (LSP) generates the SHA-256 hash code of the e-invoice by activating the IDM Retrieve functionality.
This SHA-256 hash code is updated in the External Signature field of the Document Identifiers and Signatures (tcgen1500m000) session. This field includes the Hash signature of the invoice in electronic format.
Hash processing
In LSP, the invoice is selected and processed. The LSP executes specific steps based on the document received from IDM and is submitted to NAV.
When the audit file is generated using the Tax Authority Data Provision (lphun0401m000) session, the audit file is generated with the correct format and the accurate values in the required fields:
- Bill forwarded on a paper basis (“papír alapon továbbított számla” in Hungarian).
- Invoice produced on a paper basis but transmitted in electronic form (“papír alapon előállított, de elektronikus formában továbbított számla”).