DocuWare Connect to PEDIF: Converting invoices

Prev Next

To turn a stored invoice into an e-invoice, you set one field on it: PEDIF Status. The integration does the rest. It sends the PDF to PEDIF, picks up the finished e-invoice and stores it in your invoices file cabinet. This article explains how to trigger a conversion, what each status means, how to handle reviews and errors, and what you can do with the e-invoice afterwards.

An administrator sets the integration up and adds PEDIF Status to the dialogs you work with.

The conversions process

  1. You store the invoice PDF in your invoices file cabinet, as you do today.

  2. You set PEDIF Status to Ready for conversion: by hand, with a store dialog default or from a DocuWare workflow.

  3. With the next transfer run - default every 10 minutes - the integration sends the invoice to PEDIF. The status changes to Converting.

  4. PEDIF reads the invoice and creates the e-invoice. If it needs a correction, the status changes to Needs review and you get a link to correct it.

  5. With the next result check, default every hour, the integration stores the e-invoice in your file cabinet and sets E-invoice ready on the document that holds it.

Every invoice shows where it stands in its PEDIF Status field, so you can search and filter for it like any other index field.

Starting a conversion

For each invoice:

  1. Store the invoice in the invoices file cabinet as PDF, one invoice per document.

  2. Set PEDIF Status to Ready for conversion, spelled exactly like this. Leave the other PEDIF fields empty.

Within the transfer interval (default 10 minutes) the status changes to Converting. The e-invoice usually arrives with one of the next result checks (default every hour). You can set many invoices at once, for example from a workflow.

Good to know: What is sent to PEDIF

The integration sends the PDF without DocuWare annotations or stamps.

Storing an e-invoice

Where the e-invoice is stored depends on the setting Store Target Document in the Configuration Wizard. There are two options.

Store Target Document

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.

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

Once an invoice is E-invoice ready or Converted, the integration no longer updates it. The review link is removed. Changes made later in PEDIF are not synchronized back to DocuWare.

Converting an invoice again

Set PEDIF Status back to Ready for conversion. The PEDIF ID and review link are cleared when the invoice is picked up.

If PEDIF converted the same invoice in the last 30 days, it gets the status Duplicate instead of a second e-invoice. PEDIF treats an invoice as the same if it is the same file, or another file with the same text, invoice number and amount. A corrected resubmission of an invoice that was already converted counts as a duplicate too.

PEDIF Status values

You set only Ready for conversion. The integration writes all other values. From Error and Error quota limit you can send an invoice again.

Status

Meaning

What you do

Ready for conversion

You want this invoice converted.

Nothing. It is picked up with the next transfer run.

Converting

PEDIF is working on it.

Wait.

Needs review

PEDIF needs a correction before it can finish.

See Correcting an invoice that needs review.

E-invoice ready

This document holds the finished e-invoice.

Your workflow takes over, for example to send it.

Converted

The invoice was converted. Its e-invoice is a separate document, named in the conversion message.

Nothing.

Duplicate

PEDIF already converted this invoice in the last 30 days. The PEDIF ID shows the earlier conversion.

Nothing, unless you meant to send a corrected invoice. Then store the corrected PDF and set it to Ready for conversion.

Error

The conversion could not be finished. The conversion message says why.

Fix the cause if you can, then set Ready for conversion again, or contact support.

Error quota limit

PEDIF refused the invoice because your PEDIF quota is used up.

Once you have more quota, set the invoice to Ready for conversion again.

Correcting an invoice that needs review

Sometimes PEDIF can't fill in everything an e-invoice requires, for example a missing buyer reference or a value that fails validation. The invoice then gets PEDIF Status Needs review, and the conversion message says what is wrong and who fixes it:

Note: Get a myPEDIF user before the first review

The review link opens in the myPEDIF portal, so you need a myPEDIF user to correct invoices.

  • "fix via review link": open the link in the PEDIF Review Link field, check the values PEDIF read, correct or add what is missing and confirm.

  • "Supedio is fixing it": Supedio corrects it for you, usually within one business day. Nothing to do.

You don't need to change anything in DocuWare. The integration keeps checking for the corrected result with every result check, for up to two days. Once the correction is in, the e-invoice is stored and the status changes to E-invoice ready (or Converted) as usual. After two days without a correction, the invoice changes to Error.

Errors and time limits

The conversion message of an invoice in Error always says why. An invoice ends in Error when:

Situation

After

PEDIF refuses the PDF, for example because it isn't a readable invoice or required data is missing

Immediately

The submission to PEDIF didn't complete

30 minutes

PEDIF sends no result

24 hours

A Needs review invoice isn't corrected

2 days

An invoice also ends in Error when PEDIF no longer knows the result. PEDIF deletes results 30 days after processing.

To send an invoice again, fix the cause if you can (for example a damaged or non-invoice PDF), then set PEDIF Status to Ready for conversion.

Invoices with Error quota limit are not picked up automatically. Once you have more quota, set them to Ready for conversion again. You can do this for many invoices at once.

Temporary problems, such as PEDIF being briefly unavailable, don't change the invoice. The integration tries again with the next run.

Next steps after the e-invoice is stored in DocuWare

The integration's job ends when the e-invoice is stored and marked E-invoice ready. From there, your own DocuWare processes take over. Typical next steps:

Step

How

Archive

The e-invoice and the original PDF stay in your file cabinet with their index data. PEDIF deletes its copy after 30 days, so DocuWare is where both are kept.

Technical and business validation

A stored e-invoice can be validated with the DocuWare E-Invoicing Service. The validation report shows whether the e-invoice conforms to the standard. Keep it as proof of confirmation.

Send by e-mail

Start a DocuWare workflow on E-invoice ready that e-mails the e-invoice file to your buyer. No further service is needed.

Send via Peppol

Use the DocuWare E-Invoicing Service to send the e-invoice via the Peppol network and to receive status updates from the buyer.

Notify on problems

Start workflows on Needs review, Error and Error quota limit that notify the person responsible, so no invoice is left unsent.

Information: Responsibility for the content of your invoices

You remain responsible for the content of your invoices. The integration transfers what PEDIF creates and does not check the content of the e-invoice.

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.

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

Supported versions: DocuWare Cloud