+49 541 9493-0  Kontakt  

SNC XRechnung

With SNC XRechnung you are able to create and send digital invoices compliant to the XRechnung standard directly in Microsoft Dynamics 365 Business Central.

The core features of SNC XRechnung are:

After installing this app on a new tenant you have a whole month to test it.

Note
This document is for information purposes only. If used for other purposes, SIEVERS-SNC Computer & Software GmbH & Co. KG disclaims all warranties for defects in title and quality. SIEVERS-SNC Computer & Software GmbH & Co. KG disclaims all liability for direct and indirect damages - whether in contract or in law - arising out of or in connection with the use of this manual. This manual is subject to change without notice by SIEVERS-SNC Computer & Software GmbH & Co. KG without prior notice. The programs described may only be used or copied in accordance with the terms of the license. This document has been prepared for the support of end users, sales and service as well as developers and may be given to this group of persons without any changes. Copyright notice
Copyright © 2024 SIEVERS-SNC Computer & Software GmbH & Co. KG, a company of the SIEVERS-GROUP, Hans-Wunderlich Str.8, D-49078 Osnabrück, Germany. Microsoft, Microsoft Dynamics NAV and Business Central and DATEV are registered trademarks. All rights not expressly granted are reserved. Published by SIEVERS-SNC Computer & Software GmbH & Co. KG.

1 Overview

The app SNC XRechnung creates a XML file compliant to the XRechnung standard during the booking process of a Sales Order, a Sales Invoice a Sales Credit Memo or a Service Invoice. This file can be automatically sent to the recipient via e-mail.

In order to enable these functions a setup of SNC XRechnung is necessary. In the following 2. section you will be guided through the setup with the setup wizard.

2 Setup

SNC XRechnung Setup on the Homescreen

You start the setup process of the App SNC XRechnung by opening the page XRechnung Setup.

If SNC XRechnung has not yet been set up a notification appears. This notification contains a link to the setup wizard.

Below you will be guided through the setup wizard of SNC XRechnung.

In the first step of the setup wizard you enable the feature for creating digital invoices compliant to the XRechnung standard. In addition, for sales invoices and credit notes and services invoices and credit notes, you can decide whether to export zero amount lines.

The goal of the next step is the assignment of your payment methods deposited in Microsoft Dynamics 365 Business Central to the UN/ECE 4461 codes required by XRechnung.

The action Add Payment Means EDIFACT Codes stores the codes supported by SNC XRechnung in a table.

The action Payment Methods offers you the possibility to store the EDIFACT-Codes you generated previously.

In the next step you can use the action Customer to add information regarding your customers.

By enabling XRechnung Active you activate the functionality of XRechnung on customer level. Hereby the testing function and the creation of the XRechnung will be initiated in the booking process.

With Validate Buyer Reference you are able to activate or deactivate the Validation of Buyer References. By default it is activated. This could be necessary if you want to use XRechnung for Customers without an official Buyer Reference.

The field called XRechnung Buyer Reference is for deposit of the mandatory Buyer Reference. This will be transmitted to you by your business partner.

The also mandatory field XRechnung E-Mail is used to register the customers invoice document address. You can specify multiple addresses. These must be separated with semicolons.

The button at Send XRechnung E-Mail at Batch Post causes that on every batch post an XRechnung E-Mail will be transferred to that customer - provided that XRechnung is active for this customer. Is this button is not activated, the E-Mail will not be sent in case of a batch posting.

Show E-Mail Editor causes the E-Mail Editor to appear before sending an XRechnung E-Mail. This editor only works when you use the new Enhanced email capabilites in BC18. For further information read the section E-Mail setup in BC18.

In the field Document E-Mail Option you can select which files should be transferred to the respective customer. You have the following options:

By selecting a Report for Sales Invoice, you can decide per customer which report should be attached if you selected the second or third Document E-Mail Option previously. The field Report Name Sales Invoice shows the name of the selected report.

Equally you can select reports for Sales Credit Memos.

If you completed the setup steps regarding the customers you can close the overview and proceed to the next step with Next. If you want to make subsequent XRechnung settings to customers, you will find them on the customer card in the XRechnung tab.
At this point you can close the setup wizard.

3 Further Options in the XRechnung Setup

On the page XRechnung Setup you have got several further options for the setup. Here you can - setup the e-mail Body - open the error report of the last post - access all of the with XRechnung generated documents so far or - enter alternative tax identifiers.

Via the action Setup E-Mail Body you can set an e-mail body. The content entered here will be inserted at the end of the e-mail so that you can, for example, add a signature. HTML formatting is also supported. Furthermore it is possible to import your own content via the action Load HTML Body.

Moreover, in the SNC XRechnung Setup you can view the Error Log of the latest post. Please note that the Error Log will be cleared with every posting attempt. If errors appear while booking the error log will be freshly created. That is the reason why you can’t view the errors of the previous to last post.

Via XRechnung Document List you can display an overview of all of the with SNC XRechnung created documents. Here you can also resend the E-Mails, if there were problems receiving or sending them.

If you want to enter alternative information to the VAT ID, use the alternative tax ID fields in the setup.

For more information, refer to the section Usage Of Alternative Tax Identifiers

4 Generate XRechnung via a Sales Order, a Sales Invoice, a Sales Credit Memo or a Service Invoice

Enter a Sales Order as usual, specify the Payment Method Code in the invoice details and release the Sales Order.

Note

If required, you can enter your reference in the corresponding field at General. This will be written into the XML file when sending the XRechnung. In addition, you have the option to store Addition Supporting Documents. Please read section 8. Additional Supporting Documents.

In the sales lines you can enter start and end dates.

On the right side in the Details area you will find the XRechnung Note. Here you can store further information to be written into the XML file. Note that the characters “<”, “>” and “&” are not allowed.

You can execute a Test for XRechnung via Order. If mandatory fields are missing a log entry will be generated and displayed after the test.

If the test didn’t detect any errors you are able to finalize the order. For this purpose SNC XRechnung has the feature to Post and send XRechnung with which the booking of the document and the sending of an e-mail with the file compliant to the standard XRechnung is done in one action.

Note

The Post and send XRechnung-Button is only visible, if an e-mail address is deposited in the customer card. If you have not deposited an e-mail address, you can also generate the XRechnung via Post.

You can also make use of this procedure in a Sales Invoice, a Sales Credit Memo or a Service Invoice and create a with the XRechnung standard compliant XML file from it.

The document for your XRechnung can be displayed in the Invoice or Sales Credit Memo.

This document contains the necessary information for a digital invoice compliant to the standard XRechnung.
In the field Filename you can find and retrieve the created XML file.
With the action Send E-Mail you can also send the e-mail to the recipient here. You can access the XRechnung sending history via the field XRechnung No. sent.

5 Create and Send multiple XRechnungen at the same time

After selecting any amount of orders via CTRL-Click on the orders overview page you can trigger processing of multiple orders at the same time via the action Post and Send XRechnung. As a result, these are posted and then an e-mail with the created XRechnung is sent in each case to the address stored at the customer.

Multiple XRechnung invoice documents can also be send at once from the Posted Sales Invoices overview. To do this, select the action Send XRechnung Document

To facilitate multiselection, you can sort the list of posted invoices by XRechnung-customers.

6 XRechnung Payment Means EDIFACT Codes

On this page you have got the possibility to subsequently change or add new EDIFACT Codes, which ideally should have been assigned with the XRechnung setup wizard.

Furthermore you can restore the initally created EDIFACT Codes with the action Add/Reset Payment Means EDIFACT Codes. Manually created codes will not be touched by this.

7 E-Mail setup in BC18

Business Central 18 introduced the enhanced email capabilities and we already integrated them into SNC XRechnung. This gives you the opportunity to use an email editor when sending an individual email or multiple emails via batch processing.

To be able to use the new capabilities you have to make the following settings:

The XRechnung Setup Wizard in BC18 got expanded with a new step.

Firstly ensure that the enhanced email capabilities are activated in the Feature Management.

Afterwards return to the setup wizard and open the window E-Mail Setup. Add a new email account via new. Then you have to assign the created account to XRechnung. For this open the Email Scenarios via Navigate.

Choose the correct account and search at Assign scenarios for XRechnung.

Afterwards the enhanced email capabilities setup is completed.

Now you have to select for which XRechnung customers the editor should be displayed. You can do this either directly in the customer card or at the customer list in the setup.

Note

Please note that the email editor will be also opened for every customer in case of a batch processing, if you activated Send XRechnung E-Mail at Batch Post.

If you want to send a XRechnung to a customer for whom you have activated the editor, said editor will open after you have clicked on Send XRechnung. If you have set an Email content, this will also be loaded automatically into the text field.

8 Additional Supporting Documents

With SNC XRechnung you can attach Additional Supporting Documents to sales credit notes, sales invoices and sales orders.

To do this open the order/credit note/invoice. On the right-hand side you will find the box XRechnung Additional Supporting Documents in the details. The number of attachments is displayed here.

By clicking on the number, in this case 0, you open the overview. With Select File you can add files. The following file formats are allowed:

In total, all attachments must not exceed 14.5 MB in size.

When you added a file you can also enter a description. This will be written into the XML-file.

With Preview all files you have added so far are downloaded and can be checked again before sending.

If necessary, please also note our partner documentation in order to add additional supporting documents via code with an event.

9 Usage Of Alternative Tax Identifiers

In the SNC XRechnung setup, you can select alternatives to the normal VAT ID if your situation requires it.

By default, VAT Reg. No. Usage is set to *Company information**. This will cause the VAT ID from the company information to be used when creating XRechnungen. Furthermore you can select here

Depending on the selection, you must fill in one of the other fields.

For Sellers tax identifier, fill in the corresponding field with the identifier or a reference to the registered tax status.

If you have selected Tax representative, you must enter the VAT ID of the tax representative in the corresponding field. In addition, the Our account no. field in the accounts receivable cards must be filled. This is due to the fact that the unique identification usually runs through the VAT ID. If this is missing, there must be another way of unique identification. This function is performed by the account number. For more information on the subject, search for the keyword BR-CO-26. This is a condition for the use of XRechnung.

10 Additional Notes

10.1 International Standard Code

Please make sure that all units of measure you use in XRechnung have the International Standard Code field maintained. Use the UNECERec20 list for this purpose.

10.2 Specifying a VAT Category Code

If you specify a code in the VAT Category Code (BT-118) that implies VAT exemption, you must also specify a VAT Exemption Reason Text (BT-120). In Business Central, the VAT Clause Code field is used for this purpose. If the field is not filled, an error will occur in the XRechnung validation check.

10.3 XRechnung Periods in Service

In service orders, service invoices and service credit memos, an XRechnung start and end date can be added at the line level.

These dates are also added to posted service invoices and the XRechnung document.

The XRechnung dates in posted service invoices
Start and end date in XRechnung document

11 Frequently Asked Questions

Hopefully, this section will answer your questions. If this is not the case, do not hesitate to contact our support.











12 BC-Fields - BT-Fields Mapping

You may want to attach custom information to the exported and sent XML files. However, in SNC XRechnung, many XML fields specified by the XRechnung standard are already filled with content. The following table is an overview of all BT fields used in SNC XRechnung and their corresponding Business Central fields.

Attention

Please note that the fields BT-16, BT-49, BT-57, BT-58, BT-73 and BT-74 are not available in NAV 2016!

BC Table BC Field BT Field BT ID
SNCXXRechnungHeader Document No. Invoice number BT-1
SNCXXRechnungHeader Document Date Invoice issue date BT-2
SNCXXRechnungHeader Due Date Payment due date BT-9
SNCXXRechnungHeader Document Type Invoice type code BT-3
SNCXXRechnungHeader Currency Code Invoice currency code BT-5
SNCXXRechnungHeader Currency Code VAT accounting currency code BT-6
SNCXXRechnungCustomer XRechnung Buyer Reference Buyer reference BT-10
SNCXXRechnungHeader Your Reference Purchase order reference BT-13
SNCXXRechnungHeader DespatchDocumentReferenceText Despatch advice reference BT-16
Filename Additional supporting documents BT-122
SNCXXRechnungAddSuppDoc Description Supporting Document description BT-123
BankAccount Creditor No. Bank assigned creditor identifier BT-90
XRechnung Note Invoice Note BT-22
BankAccount Creditor No. Seller identifier BT-29
BankAccount Our Account No. Seller identifier BT-29
CompanyInformation Address Seller address line 1 BT-35
CompanyInformation Address 2 Seller address line 2 BT-36
CompanyInformation City Seller city BT-37
CompanyInformation Post Code Seller post code BT-38
CompanyInformation Country/Region Code Seller country code BT-40
CompanyInformation VAT Registration No. Seller VAT identifier BT-31
CompanyInformation VAT Registration No. Seller tax registration identifier BT-32
CompanyInformation Name Seller name BT-27
Salesperson Name Seller contact point BT-41
Salesperson Phone No. Seller contact telephone number BT-42
Salesperson E-Mail Seller contact email address BT-43
CompanyInformation Contact Person Seller contact point BT-41
CompanyInformation Phone No. Seller contact telephone number BT-42
CompanyInformation E-Mail Seller contact email address BT-43
SNCXXRechnungHeader Bill-to Customer No. Buyer identifier BT-46
SNCXXRechnungHeader Bill-to Address Buyer address line 1 BT-50
SNCXXRechnungHeader Bill-to Address 2 Buyer address line 2 BT-51
SNCXXRechnungHeader Bill-to City Buyer city BT-52
SNCXXRechnungHeader Bill-to Post Code Buyer post code BT-53
SNCXXRechnungHeader Bill-to Country/Region Code Buyer country code BT-55
SNCXXRechnungHeader Bill-to Name Buyer name BT-44
SNCXXRechnungCustomer XRechnung E-Mail Buyer electronic address BT-49
SNCXXRechnungHeader Bill-to Contact Buyer contact point BT-56
SNCXXRechnungHeader Bill-to Contact Phone No. Buyer contact telephone number BT-57
SNCXXRechnungHeader Bill-to Contact E-Mail Buyer contact email address BT-58
CompanyInformation VAT Representative Seller tax representative name BT-62
CompanyInformation Address Tax representative address line 1 BT-64
CompanyInformation City Tax representative city BT-66
CompanyInformation Post Code Tax representative post code BT-67
CompanyInformation VAT Registration No. Seller tax representative VAT identifier BT-63
SNCXXRechnungHeader Shipment Date Actual delivery date BT-72
SNCXXRechnungHeader Start Date Invoicing period start date BT-73
SNCXXRechnungHeader End Date Invoicing period end date BT-74
SNCXXRechnungHeader Ship-to Address Deliver to address line 1 BT-75
SNCXXRechnungHeader Ship-to Address 2 Deliver to address line 2 BT-76
SNCXXRechnungHeader Ship-to City Deliver to city BT-77
SNCXXRechnungHeader Ship-to Post Code Deliver to post code BT-78
SNCXXRechnungHeader Ship-to Country/Region Code Deliver to country code BT-80
SNCXXRechnungHeader Ship-to Name Deliver to party name BT-70
PaymentMethod EDIFACT Payment Means Code SNC Payment means type code BT-81
CompanyInformation IBAN Payment account identifier BT-84
SEPA Direct Debit Mandate ID Mandate reference identifier BT-89
SEPA Direct Debit Mandate ID Debited account identifier BT-91
SNCXXRechnungHeader Payment Terms Description Payment terms BT-20
SNCXXRechnungLine Description Document level allowance reason BT-97
SNCXXRechnungLine Description Document level charge reason BT-104
SNCXXRechnungLine Net Line Amount Document level allowance amount BT-92
SNCXXRechnungLine Net Line Amount Document level charge amount BT-99
VATPostingSetup Tax Category Document level allowance VAT category code BT-95
VATPostingSetup Tax Category Document level charge VAT category code BT-102
SNCXXRechnungLine VAT % Document level allowance VAT rate BT-96
SNCXXRechnungLine VAT % Document level charge VAT rate BT-103
SNCXXRechnungHeader VAT Amount Invoice total VAT amount BT-110
SNCXXRechnungHeader VAT Amount Invoice total VAT amount in accounting currency BT-111
TempVATLine Net Line Amount VAT category taxable amount BT-116
TempVATLine VAT Amount VAT category tax amount BT-117
VATPostingSetup Tax Category VAT category code BT-118
TempVATLine VAT % VAT category rate BT-119
VATPostingSetup VAT Clause Code VAT Exemption Reason BT-120
SNCXXRechnungHeader Net Total Amount wo. Charge Sum of Invoice line net amount BT-106
SNCXXRechnungHeader Net Total Amount Invoice total amount without VAT BT-109
SNCXXRechnungHeader Gross Total Amount Invoice total amount with VAT BT-112
SNCXXRechnungLine Net Line Amount Sum of charges on document level BT-108
SNCXXRechnungHeader Gross Total Amount Amount due for payment BT-115
SNCXXRechnungLine Line No. Invoice line identifier BT-126
SNCXXRechnungLine Quantity Invoiced quantity BT-129
SNCXXRechnungLine Quantity Invoiced quantity unit of measure code BT-130
SNCXXRechnungLine Net Line Amount Invoice line net amount BT-131
SNCXXRechnungLine Description Item name BT-153
SNCXXRechnungLine No. Item Sellers identifier BT-155
VATPostingSetup Tax Category Invoiced item VAT category code BT-151
SNCXXRechnungLine VAT % Invoiced item VAT rate BT-152
SNCXXRechnungLine Net Unit Price Item net price BT-146
SNCXXRechnungLine Start Date Invoice line period start date BT-134
SNCXXRechnungLine End Date Invoice line period end date BT-135