Setup stylesheets
User scenario
You want to take advantage of the embedded visualization of the electronic documents to enable you to see the received documents directly in Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central on premises. The setup must be made per. UBL-format and document type. The different UBL-formats and document types uses different stylesheets.
- Choose the
icon, enter e-Documents Setup, and then choose the related link.
- On the e-Documents Setup page, choose the Stylesheets action. The Stylesheet Setup page now opens.
- In the OIO Type field, choose the UBL-format you want to setup a stylesheet for.
- In the Document Type field, choose the document you want to setup a stylesheet for.
- In the Default Stylesheet field, enter the file path to the stylesheet file you want to use.
You can now go to the Received e-Document page, and see the embedded visualization of the document on the Source Document FastTab.
Below is an example of a stylesheet setup containing all the supported stylesheets.
OIO Type | Document Type | Default Stylesheet |
---|---|---|
XML | Purchase Invoice | C:\Stylesheet\DK\OIOXML.xsl |
XML | Purchase Credit Memo | C:\Stylesheet\DK\OIOXML.xsl |
XML | Purchase Reminder | C:\Stylesheet\DK\OIOXML.xsl |
UBL | Purchase Invoice | C:\Stylesheet\DK\InvoiceHTML.xsl |
UBL | Purchase Credit Memo | C:\Stylesheet\DK\CreditNoteHTML.xsl |
OIO UTS | Purchase Invoice | C:\Stylesheet\DK\UtilityStatementHTML.xsl |
PEPPOL 2.0 | Purchase Invoice | C:\Stylesheet\PEPPOL20\Stylesheet_Full.xsl |
PEPPOL 2.0 | Purchase Credit Memo | C:\Stylesheet\PEPPOL20\Stylesheet_Full.xsl |
PEPPOL 3.0 | Purchase Invoice | C:\Stylesheet\PEPPOL30\stylesheet-ubl.xslt |
PEPPOL 3.0 | Purchase Credit Memo | C:\Stylesheet\PEPPOL30\stylesheet-ubl.xslt |
Note
In the setup of the OIO UTS the document types is not important. When styling UTS documents Continia e-Documents Import will look for a setup with OIO Type set to OIO UTS - no matter the document type.
The OIO Type value PEPPOL also covers the EHF UBL-format.