DocuWare Connect to PEDIF: Configuring the integration

Prev Next

Setting up DocuWare Connect to PEDIF takes three stages: you order the integration, you complete the onboarding in PEDIF, and you run the Configuration Wizard in DocuWare. This article covers the third stage.

The Configuration Wizard connects your invoices file cabinet to your PEDIF service. You enter your PEDIF access data, choose the file cabinet and the e-invoice format, and set how often invoices are sent for conversion. The wizard has three pages, and you can change every setting afterwards.

For an overview of the integration, see DocuWare Connect to PEDIF.

Prerequisites

What

Details

Wizard page

Integration ordered

Ordered via the DocuWare order form(Forms) and provided to your DocuWare Cloud organization. The integration is available for DocuWare Cloud only.

Before the wizard

PEDIF onboarding finished

Your contract with Supedio is in place, and your PEDIF service is set up and live for your invoices.

Before the wizard

PEDIF access data

Provided by Supedio: Conversion API base URL, PEDIF environment (test or prod), Conversion API token, PEDIF customer ID and PEDIF API ID.

1

Administration rights in DocuWare

To run the wizard, configure the invoices file cabinet and, optionally, add and adjust workflows in the Workflow Designer.

All

Invoices file cabinet

The file cabinet with your outgoing invoices as PDF, one invoice per document. Can be your general invoice or accounting file cabinet.

2

Target format

The e-invoice format you want: XRechnung or ZUGFeRD.

2

Result storage

Whether the e-invoice is stored as a new document or appended to the invoice document.

2

Opening the wizard

Menu path: DocuWare Configurations > Integrations > Integration Platform > DocuWare Connect to PEDIF

The Integration Platform icon is visible only to organizations for which the integration has been provided and the Configuration Wizard starts automatically.

The wizard has three pages mentioned below.

Page

Name

What you do

1

Connections

Enter your PEDIF access data. The DocuWare connection is set up automatically.

2

Manage PEDIF Settings

Choose the target format, the invoices file cabinet and where the e-invoice is stored.

3

Invoice processing

Check the transfer and result check schedules.

Step-by-step: the wizard pages

Page 1: Connections

The connection to your DocuWare organization is set up automatically in the background. Enter your PEDIF access data in PEDIF Conversion Connection:

Setting

What to enter

Conversion API base URL

The address of the PEDIF system. Supedio tells you which one to use. The default is PEDIF's test system.

PEDIF environment

test or prod. Use test with the test address and prod with the production address.

Conversion API token

The token for PEDIF's Conversion API, issued by Supedio.

PEDIF customer ID

Your customer ID at PEDIF (customer_id).

PEDIF API ID

The ID of your PEDIF service (api_id).

HITL review base URL

Optional. Leave the default unless Supedio tells you otherwise. It is used to build the review link that a person opens to correct an invoice (human in the loop, HITL).

Important: Enter the base URL and the environment together

If base URL and environment do not match, for example prod with the test address, PEDIF refuses every invoice with API limit not set.

All values except the review base URL are required. While a value is missing, the integration does not pick up any invoices. They stay in Ready for conversion, and nothing is lost. Once you fill in the value and save, the next run sends them.

Page 2: Manage PEDIF Settings

On this page you decide what PEDIF creates and where the result is stored.

Setting

What to choose

Target Document Format

XRechnung for XML, or ZUGFeRD for PDF/A-3 with embedded XML. Applies to all invoices.

Invoices File Cabinet

The file cabinet with your outgoing invoices. The integration adds five PEDIF fields to it.

Store Target Document

Store as a new document (default) or Append to the invoice document.

Store Target Document options

Option

Where the e-invoice goes

PEDIF Status

Store as a new document (default)

A new document in the same file cabinet, with the invoice's index data.

New document: E-invoice ready. Invoice: Converted. Each conversion message names the other document's ID.

Append to the invoice document

Added at the end of the invoice document.

Invoice: E-invoice ready.

In both cases E-invoice ready marks the document that holds the e-invoice, so start your workflows from that value. The e-invoice file is named pedif-<PEDIF ID>-<file name>: an XML file for XRechnung, a PDF for ZUGFeRD.

The new document is stored through the file cabinet's default store dialog. Only the index fields in this dialog are copied to the new document.

Page 3: Invoice processing

On this page you set how often the integration exchanges documents with PEDIF.

Setting

Default

What it does

Invoice Transfer Schedule

Every 10 minutes

How often the integration looks for invoices with PEDIF Status Ready for conversion and sends them to PEDIF. Each of these is called a transfer run.

Result Check Schedule

Every hour

How often the integration asks PEDIF for finished e-invoices.

The defaults suit most customers. A run starts only after the previous run of the same kind has finished, so with many invoices a run can start a little later than scheduled.

Select Save to finish the wizard.

Saving the configuration

Saving the wizard activates the integration with your settings. There is no registration step: your PEDIF service already exists from your onboarding with Supedio.

  1. PEDIF fields in DocuWare: the integration adds any PEDIF field that your invoices file cabinet does not have yet. It checks the fields again at the start of every transfer run.

  2. Conversion starts: from the next transfer run on, the integration picks up invoices with PEDIF Status Ready for conversion and sends them to PEDIF.

Fields added to the invoices file cabinet

Field

Filled by

Meaning

PEDIF Status

You (Ready for conversion), the integration (all other values)

Starts the conversion and shows where the invoice stands.

PEDIF ID

Integration

PEDIF's reference for this conversion. Give it to support when you ask about an invoice.

PEDIF Review Link

Integration

Link to PEDIF's review page while an invoice needs correction.

PEDIF Conversion Message

Integration

What happened, in plain words.

PEDIF Updated At

Integration

When the status last changed.

Important: Keep the PEDIF fields in the file cabinet

Without the PEDIF fields, invoices cannot be processed. A deleted field is recreated with the next transfer run.

Next step

You add PEDIF Status to a store or index dialog, or set it from a workflow, and the other four fields read-only to a result list or index dialog. Users can then set invoices to Ready for conversion. Daily operation, status values and reviews are described in DocuWare Connect to PEDIF: Converting invoices.

Changing the configuration later

After the first setup, the wizard no longer starts automatically. To reopen it:

1. Sign in to DocuWare as an administrator and select the Integration Platform icon.

2. In the list of integrations, select DocuWare Connect to PEDIF.

3. Select Configuration tab to open the Configuration Wizard with your current settings.

4. Make the changes you need, complete the wizard and click "Finish" on the last page

Changes take effect with the next run.

Change

What to consider

PEDIF access data, for example a new token or the production address at go-live

Change it on the Connections page. Change base URL and environment together.

Target format, result storage, schedules

No special steps.

Invoices file cabinet

The PEDIF fields are added to the new file cabinet with the next transfer run. Invoices still in Converting or Needs review in the old file cabinet are no longer checked, so wait until they are finished.

Troubleshooting tips

  • Invoices stay in Ready for conversion: a required value on the Connections page is missing, or PEDIF rejects the token. Complete or correct the PEDIF access data and save. The invoices are sent with the next run.

  • Invoices end in Error with a PEDIF message about the customer or API: the PEDIF customer ID or PEDIF API ID is wrong. Correct it, save, then set the invoices to Ready for conversion again.

  • Invoices end in Error with API limit not set: base URL and environment do not match. Use test with the test address or prod with the production address, save, then set the invoices to Ready for conversion again.

  • Invoices stay in Ready for conversion although the connection is correct. The value is then not spelled exactly Ready for conversion, or the invoice is in another file cabinet than the one in the wizard. Correct the value or the file cabinet.

Getting help

  • The integration, the wizard or DocuWare: contact DocuWare support or your DocuWare partner. Include the document ID, the PEDIF ID and the PEDIF Conversion Message of the invoice you are asking about.

  • PEDIF access data, your PEDIF service, the myPEDIF portal or reviews: contact Supedio. Select Raise a support ticket in myPEDIF, or write to support@supedio.net.

Supported versions: DocuWare Cloud