How to set up the Quantity units for Danish OIOUBL and Norwegian EHF electronic invoices in Microsoft Dynamics AX
Applies to: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012, Microsoft Dynamics AX 2009 Service Pack 1
Original KB number: 2847610
Summary
Every business which sells goods or provides services to a public authority must submit invoices electronically.
In Denmark, the invoices must be submitted by using the Offentlig (Public) Information Online Universal Business Language (OIOUBL) format.
In Norway, the invoices must be submitted by using the Elektronisk Handelsformat (EHF) format.
More information
As part of the current design for the Danish OIOUBL electronic invoice format and for the Norwegian EHF electronic invoice format, the Quantity Unit.Code field is used in Invoices and on Credit Note lines.
To use unit codes that meet the requirements of the OIOUBL and EHF formats, you must set up the units for external codes in Microsoft Dynamics AX as follows.
Microsoft Dynamics AX 2012 R2 and Microsoft Dynamics AX 2012
To define the Units that are required for external codes, follow these steps:
- Select Organization administration, select Setup, select Units and then select Units.
- Select Unit and then select External Codes. Define the external code ID and the registered required values.
- Close the forms.
- Select System administration, select Setup, select Services and Application Integration Framework, select Outbound ports and then choose the required port name. Then select Value Mapping.
- On the Units tab, select a value for an external vendor code in the External code setting.
- In the Unit code field, select the required external code definition for the Units category.
- Close the forms.
Microsoft Dynamics AX 2009 Service Pack 1
To define the Units that are required for external codes, follow these steps:
- Select Basic, select Setup, select Units and then select Units.
- Select Unit, select Setup, and then select External codes. Define the external code ID and registered required values.
- Close the forms.
- Select Basic, select Setup, select Application Integration Framework, and then select Endpoints.
- Choose the required Endpoint ID and then select Action Policies.
- Choose the required Action ID and then select Configure. The Value Mapping form opens.
- Select the Items tab and then select a value for an external vendor code in the External code setting.
- In the Unit Code field, select the required external code definition for the Units category.
- Close the forms.