Skip to main content

How do I configure my DATEV extension?

Shopware 6 — Configure your DATEV extension in the settings for each Sales Channel. Enter your consultant number and other arguments with your tax advisor.

In this article, you will learn how to configure the settings of your DATEV extension in the best possible way.

You can find out how a DATEV export works here:

Requirements

The DATEV extension is included from the Advanced plan. It is no longer a separate plugin but part of the Advanced plan of the Pickware extension. It is hidden in the Starter plan, and with a WMS device license alone there is no DATEV export. You can find out which features are included in which plan in Which features are included in which Pickware plan?

Required permissions

So that a user can use the DATEV export, give their role the permission DATEV-Export under Settings → System → Users & permissions. In older versions, the role needs these privileges, among others, in the Additional permissions area:

  • pickware_datev_config

  • pickware_datev_payment_capture

  • pickware_datev_individual_debtor_account_information

  • pickware_datev_accounting_document_guid

  • pickware_datev_import_export_accounting_document_guid_mapping

  • pickware_document

  • pickware_erp_import_export

  • pickware_erp_import_export_profile

  • sales_channel

WMS and POS roles are mainly intended for the apps.

Notes

Please note the following when using our DATEV extension:

  • The extension is not liable for completeness or correctness under tax law. This can only be ensured, if at all, with the help of a tax advisor who knows your individual circumstances.

  • Data is imported into DATEV via CSV files in DATEV format 700 (posting batch file).

  • The extension only exports postings that belong to outgoing invoices. Incoming invoices (e.g. for Pickware Supplier orders) must be posted directly in DATEV.

  • The extension is currently only intended for Orders within Germany and from Germany. Shipping from other countries is not supported.

  • The DATEV settings only define which accounts are posted to. The extension does not calculate the tax itself: The tax rates come from Settings → Shop → Countries and Settings → Shop → Taxes respectively.

  • The extension currently supports the three document types invoice, cancellation invoice and invoice correction.

  • The DATEV export function is used to export accounting-relevant business transactions from your Shopware shop as a file in DATEV format, thereby replacing the manual, document-based entry of posting records in DATEV.

Extension settings

You can find the extension settings under Settings → Extensions → DATEV. After installing the extension, please review them together with your tax advisor.

Datev 1.png

Selecting the Sales Channel

The configuration can be done individually for each Sales Channel. Alternatively, you can use the Default configuration entry to define settings that apply equally to all Sales Channels.

DATEV_Basis-Konfiguration.png

If needed, you can remove the link using this button:

DATEV_Basis-Konfiguration2.png

If you want to combine several Sales Channels in an export whose consultant number, client number, general ledger account length or start of business year differ from one another, the configuration of one of the selected Sales Channels is used uniformly for the entire export. You will be notified before the export and can cancel the process if necessary.

You can find out how to export several Sales Channels together in How do I perform a DATEV document export?.

Tip: First set up the configuration to the best of your knowledge, create a test export and have your tax advisor review it. They will give you the required revenue and collective accounts. Usually one or two rounds of coordination are enough.

General

  • Consultant number – Enter your DATEV consultant number here. You get this information from your tax advisor.

  • Client number – Enter your DATEV client number here. You get this information from your tax advisor. This value can be defined differently per Sales Channel if you use different consultant numbers per Sales Channel.

  • General ledger account length – This setting determines the length of the general ledger account numbers in the export.

  • Start of business year – Use the date picker to select the first day of a business year. During the export, this value is used to determine the business year of the included posting records. By default, 01.01. is preset.

Posting record

Reference

With the Reference you can define which information is output in Document field 1 when exporting a posting record. A distinction must be made between payment export and document export:

  • In the payment export, selecting the option Order number outputs the associated order number. With the option Document number, payments receive the invoice number and refunds receive the number of the invoice correction or cancellation invoice, provided the document can be assigned unambiguously. This allows DATEV to clear open items automatically. If no document can be assigned unambiguously, for example because the order has several invoices or does not yet have an invoice at the time of export, the field remains empty. You can find out exactly when which number is output in the article Further information on the DATEV payment export.

  • In the document export, the option Document number outputs the number of the exported document, and the option Order number outputs the order number of the corresponding invoice. Regardless of this setting, the date on the document, e.g. the invoice date, is always used as the document date.

Configuring the order number

With this setting you define which value is output in the Order number field of the DATEV export. The setting applies to both the document export (receivables) and the payment export.

Three options are available in the selection:

  • Order number
    → The standard order number of the order is exported.

  • External order number
    → The external order number from the custom field External order number on the order is exported.

  • External order number, if empty order number (recommended)
    → If the custom field External order number is empty, the order number is exported automatically instead.

Datev 2.png

The Order number is a custom field on the order that you can use, for example, for transaction references or marketplace order numbers.

In Shopware you can fill this field manually or through your own automation using the Flow Builder if you import orders from marketplaces.

The field Order number may be at most 30 characters long in DATEV. If the value is longer, an error is output per row in the export and the order number is used instead.

Automatic capture of payments and refunds

  • Automatically record payments and refunds – If this option is activated, you can use the corresponding button further down at Sales Channel level to capture previous payments.

  • Excluded payment methods – For the payment methods listed here, no payment posting is created in the DATEV export.

  • Capture previous payments – This lets you automatically capture payments retroactively for periods in which the DATEV payment feature was not used. For this, the option Automatically record payments and refunds must be activated. Retroactive capture can only be done at Sales Channel level, which is why the button is not available in the Default configuration.

DATEV_autom_Erfassung.png

Refunds with the state Partially refunded are not captured automatically as a DATEV payment, because regardless of the state the full order amount is always taken into account as the DATEV payment. In these cases, the payment must be entered manually.

Default revenue accounts

Here you define revenue accounts for individual tax rates. If no country-specific revenue account is defined for a posting record, the posting record is posted to the default revenue account for the corresponding tax rate. You can add further accounts using the Add default account button.

Country specific revenue accounts

Here you define the accounts that are used for taxable deliveries abroad. If no account is defined for a combination of country and tax rate, a default revenue account for the corresponding tax rate is used. Click Add country specific account to add accounts.

The shipping country is decisive, not the billing country. If a country changes its tax rate, you need an additional account for the new rate.

If an account is missing for a combination of shipping country and tax rate, the affected document is not exported, and a message about the missing revenue account appears in the detail view of the export. You can find out what to do then in What do the error messages in the DATEV export mean and how do I resolve them?

Revenue accounts for intra-community deliveries

Here you define a default account as well as country specific accounts that are used for intra-community deliveries (deliveries to business customers in the EU foreign countries). If no account is defined for a shipping country, the default account is used. Click Add country specific account to add accounts.

Revenue accounts for third country deliveries

Here you define a default account as well as accounts for deliveries to third countries (non-EU foreign countries). If no account is defined for a shipping country, the default account is used. Click Add country specific account to add accounts.

If no account is defined in this section, the export posts deliveries to third countries to the default revenue account of the respective tax rate. You should therefore maintain the accounts in this section if you deliver to third countries.

Debtor Accounts

In the Booking type field you can define whether you want to use collective debtor accounts or individual debtor accounts. Of course, you can configure this option both across Sales Channels (= Default configuration) and only for individual Sales Channels.

Alternatively, you can also enter an individual debtor account for this specific customer in the customer account, which is then used regardless of your general DATEV settings. You can find more information on this here.

Collective debtor accounts

If this option is selected, you can then use the Add account for payment method button in the Collective Accounts area to define an account per payment method to which the relevant orders are posted. If no debtor account is defined for a payment method, the counter-posting is made to the default debtor account.

Individual debtor accounts

If this option is activated, all orders are posted per customer, with the account number corresponding to the customer number. In this case, two additional buttons are available to you in the export detail view, both for the document export and for the payment export:

  • Export account labels – This only contains the information that there is an account with a certain account number (column Account) and that it is the customer account of customer x (column Account label). This information is useful so that you can create the corresponding accounts in DATEV.

  • Export debtor base data – In addition to the account number, this contains all other customer base data.

Both files are CSV files. They only contain those customers for whom there is a posting record in the associated DATEV export.

Individual account per customer

If you use the booking type Individual account per customer in the DATEV configuration for debtor accounts, the debtor account is derived from the customer number. For this to work, the customer number must be suitable for the export. Otherwise, the export uses the defined default debtor account instead.

A customer number is suitable if it consists exclusively of numeric values and is not too long. If the customer number contains other characters or does not meet the requirements for the export, it cannot be used as an individual debtor account. In this case, Pickware falls back on the configured default debtor account in the export.

If the default debtor account keeps appearing for an order despite Individual account per customer, you should first check the customer number of the affected customer.

For a customer number to work as an individual debtor account, it must also fall within the debtor number range of your DATEV chart of accounts. In DATEV, debtor and creditor accounts are organized in separate number ranges (with a four-digit general ledger account length, usually debtors 10000–69999, creditors 70000–99999). If a customer number lies outside the debtor range, problems can occur when importing into DATEV. The specific valid range depends on your configured General ledger account length – if in doubt, coordinate the assignment of customer numbers with your tax advisor.

Clearing Accounts

Enter here the clearing account to which payments made with the corresponding payment method are posted. If no collective account is defined for a payment method, the payment is posted to the default account.

Company codes

If your company belongs to a group of companies, postings within the group must be booked in a special way. For this purpose, different company codes can be defined for individual customers or even entire customer groups. Company codes are appended as the last two digits of revenue account numbers.

You can find the corresponding settings in the configuration in the Company code section. Here the option must first be activated, and then you can enter the default company code. Here too, both a configuration across Sales Channels (= Default configuration) and an individual configuration per Sales Channel are possible.

You can find out how to define company codes for customers or customer groups here.

Cost centers

Here you can configure a cost center per Sales Channel and define the field assignment in the DATEV export. Depending on the selection, the cost center of the Sales Channel is exported to the field KOST1 or KOST2. The cost center of the product, if available, is exported to the other field. You can find more about product cost centers here.

Kostenstellen_Verkaufskanal.png

Cash deposits and withdrawals (Pickware POS)

If you use our Pickware POS, you can additionally define accounts for cash deposits and withdrawals for your Pickware POS Sales Channels.

DATEV_POS_Einstellung.png

If you make deposits or withdrawals at the cash register during operation, they are listed in the DATEV export on the accounts specified here.

Further settings

Here you will find further settings apart from the extension settings.

Customer-specific debtor account

In the customer account, you can enter a customer-specific debtor account in the area Custom fields → DATEV, which is then used for this customer instead of the account defined under Settings → Extensions → DATEV → Debtor Accounts. This applies regardless of whether you use collective debtor accounts or individual debtor accounts.

Please also note that customers with their own debtor account are not included in the export files for account labels or debtor base data.

Specific company code for customers or customer groups

You can define a company code specifically for a customer in the respective customer account under Custom fields → DATEV. Similarly, you can define an individual company code per customer group under Settings → Shop → Customer groups and there in the area Custom fields → DATEV.

If you have defined a company code in your DATEV configuration as well as for the customer account and the customer group, this information is prioritized as follows: customer account, customer group, DATEV configuration.

This means that when a posting record is created, the company code in the customer account is used first. If nothing is entered there, the company code for the associated customer group applies, and if nothing is entered there either, the default company code from the general DATEV configuration is used.

Configure cost center per product

In addition to the cost centers at Sales Channel level, you can also specify a cost center for each product. To do so, go to the product properties under Specifications → Custom fields → DATEV → Cost center of the product. Below you will find two examples showing the effects of the product cost center on your DATEV export:

  • An order contains two line items with 19% VAT. Only one cost center is specified for the Sales Channel. Therefore, only one posting record is created for this order, covering the total of both products.

  • An order contains two line items with 19% VAT. A cost center is specified for the Sales Channel, as well as a separate product cost center for each of the two products. Therefore, two posting records are now created for the order, which are posted to the same revenue account but have different product cost centers.

Which cost center do shipping costs and discounts receive?

Line items with the same product cost center and the same tax rate are always combined into one posting record. There is no separate posting record per order line item.

A product cost center only exists for line items that refer to a product. Shipping costs, discounts and promotions therefore have no cost center of their own. Their amounts end up, per tax rate, in a shared posting record without a product cost center, together with all products for which no product cost center is defined. A discount is therefore not assigned to the cost center of the discounted products.

Example: An order contains product A (cost center 100) for €50, product B (cost center 200) for €30, shipping costs of €5 and a discount of €3, all with 19% VAT. The export creates three posting records: €50 with cost center 100, €30 with cost center 200 and €2 (shipping costs minus discount) without a product cost center.

Discounts are posted to the same revenue account as the products of the respective tax rate. There is no separate account for discounts. If the discount is higher than the other amounts without a product cost center, for example because all products have a cost center, the difference is exported as a debit posting without a product cost center to this revenue account.

The Cost center of the sales channel, on the other hand, is exported for all posting records, including this one. If you want shipping costs and discounts to be assigned to a cost center in DATEV, define a cost center for the Sales Channel. There is no separate cost center only for shipping costs or per Shipping method.

Check country-specific tax settings

If you ship to EU countries or third countries, the following options should also be activated under Settings → Shop → Countries in the Options section for each country. These are used to distinguish tax-free deliveries from deliveries with a tax rate of 0%.

Activate for EU countries:

  • Tax-free (B2B)*

  • Check VAT ID format

  • VAT ID is required

DATEV_EU-Laender.png

Activate for third countries:

  • Tax-free (B2B)*

  • Tax-free (B2C)*

DATEV_Drittlaender.png

* When this option is activated, the field tax-free from appears, in which amounts can be defined from which customers can order tax-free. Nothing needs to be entered here.

EU-wide delivery threshold (OSS procedure)

As soon as you export more than €10,000 to the EU, the invoice must show the VAT of the destination country in accordance with the One-Stop-Shop procedure. To do so, first create the corresponding tax rate under Settings → Shop → Taxes. You can then define another account with the foreign tax rate in the extension settings in the section Country specific revenue accounts.

DATEV_Lieferschwelle.png

If, before reaching the delivery threshold, you generally want to post deliveries abroad differently from deliveries within Germany, you can define one account per shipping country with the German tax rates.

Did this answer your question?