Index: /mods/wpsg_mod_rechnungen.class.php
===================================================================
--- /mods/wpsg_mod_rechnungen.class.php	(revision 8530)
+++ /mods/wpsg_mod_rechnungen.class.php	(revision 8531)
@@ -2215,9 +2215,29 @@
 			$file_name_raw = basename($file_path);
 			
-			if (!file_exists($file_path)) throw new \Exception(
-				wpsg_translate(
-					__('Rechnung #1# existiert nicht im Dateisystem.', 'wpsg'), $oInvoice->getNr()
-				)
-			);
+			if (!file_exists($file_path)) {
+				
+				// Versuch Neu-Generierung
+				
+				$this->shop->view['rebuild'] = false;
+				$this->writeRechnung(
+					intval($oInvoice->getOrder()->getId()),
+					false,
+					true,
+					$oInvoice
+				);
+				
+				// $this->shop->render(WPSG_PATH_VIEW.'/mods/mod_rechnungen/invoice_pdf.phtml');
+				
+				if (!file_exists($file_path)) {
+				
+					throw new \Exception(
+						wpsg_translate(
+							__('Rechnung #1# existiert nicht im Dateisystem und konnte nicht erneuert werden.', 'wpsg'), $oInvoice->getNr()
+						)
+					);
+				
+				}
+				
+			}
 			
 			$file_path = \wpsg\mod_invoice\eInvoice::writeEInvoice($oInvoice->getOrder()->getId(), $oInvoice->getId(), $profil_id);
